Re: [Plplot-devel] [ plplot-Bugs-3474186 ] wxWidgets dc and gc driver on

2012-01-18 Thread phil rosenberg
issue submission, for this request, > not just the latest update. > Category: None > Group: None > Status: Open > Resolution: None > Priority: 5 > Private: No > Submitted By: Phil Rosenberg (philrosenberg) > Assigned to: Nobody/Anonymous (nobody) > Summary: wxWidgets

Re: [Plplot-devel] [ plplot-Bugs-3474186 ] wxWidgets dc and gc driver on

2012-01-19 Thread phil rosenberg
e behaviour must be different.   Phil ____ From: Alan W. Irwin To: phil rosenberg Cc: "[email protected]" Sent: Thursday, 19 January 2012, 3:12 Subject: Re: [Plplot-devel] [ plplot-Bugs-3474186 ] wxWidgets dc and gc driver on On 2012-01-1

Re: [Plplot-devel] [ plplot-Bugs-3474186 ] wxWidgets dc and gc driver on

2012-01-19 Thread phil rosenberg
ttest/   Phil From: phil rosenberg To: Alan W. Irwin Cc: "[email protected]" Sent: Thursday, 19 January 2012, 12:54 Subject: Re: [Plplot-devel] [ plplot-Bugs-3474186 ] wxWidgets dc and gc driver on I have just added some exam

Re: [Plplot-devel] [ plplot-Bugs-3474186 ] wxWidgets dc and gc driver on

2012-01-20 Thread phil rosenberg
the patch via the sourceforge site? Phil From: Alan W. Irwin To: phil rosenberg Cc: "[email protected]" Sent: Thursday, 19 January 2012, 19:22 Subject: Re: [Plplot-devel] [ plplot-Bugs-3474186 ] wxWidgets dc and gc driver on On

Re: [Plplot-devel] [ plplot-Bugs-3474186 ] wxWidgets dc and gc driver on

2012-01-20 Thread phil rosenberg
Sorry for the multiple emails today. I have been looking at removing references to cmap0 and cmap1 in wxwidgets. I noticed that in plplotP.h the switches for state function calls include PLSTATE_COLOR1 and PLSTATE_COLOR2 and there are apropriate functions in the wxWidgets drivers to deal with t

Re: [Plplot-devel] [ plplot-Bugs-3474186 ] wxWidgets dc and gc driver on

2012-01-21 Thread phil rosenberg
Thanks for the help Alan and Andrew The patch is attached, the affected files include plfreetype.c as well as the three wxWidget backend files.   I've ensured all references are to curcolor and have done my best to check everything is working as it should. I hope this is helpful - my first contr

[Plplot-devel] plstream::cont and plstream::shades

2012-02-12 Thread phil rosenberg
Hi I'm dropping the list an email because I wanted to make use of the C++ Contourable_Data class to plot contours. Currently only the plstream::shade member function seems to permit use of the Contourable_Data class and not cont and shades.  I was considering writing my own implimentation of the

[Plplot-devel] wxWidgets driver and line breaks

2012-04-25 Thread phil rosenberg
Hi I've just hit a small problem using the wxWidgets driver dealing with line breaks when outputting text.   Basically when I use wxGraphicsContext for on screen display line breaks are dealt with as I might expect. However when I use a wxDC (e.g. wxMetafileDC) the line breaks are ignored. I pos

[Plplot-devel] wxWidgets font style patch

2012-05-07 Thread phil rosenberg
Hi I just found a small bug whereby the styles (italic, bold etc) weren't being applied correctly by wxWidgets in the _gc and _dc files. An & was used instead of a | when combining style flags. I've attached a patch.   This is the first patch I've created using Tortoise SVN so I hope it works oka

[Plplot-devel] wxWidgets initialisation bug

2012-06-28 Thread phil rosenberg
Hi I'm emailing with a patch which I believe fixes a bug in the wxWidgets driver.   The problem occurrs when trying to include plplot in a wxWidgets application that is separate to PLplot - i.e. when the user wants to use their own derivation of wxApp rather than wxPLplotApp. The bug manifests it

Re: [Plplot-devel] wxWidgets initialisation bug

2012-06-29 Thread phil rosenberg
++ Express, based on solution/project files generated by CMake.   Phil From: Andrew Ross To: phil rosenberg Cc: "[email protected]" Sent: Friday, 29 June 2012, 11:57 Subject: Re: [Plplot-devel] wxWidgets initialisation bug Hi Phil

Re: [Plplot-devel] wxWidgets initialisation bug

2012-07-03 Thread phil rosenberg
I'm on version 2.8.10 From: Andrew Ross To: phil rosenberg Cc: "[email protected]" Sent: Tuesday, 3 July 2012, 9:08 Subject: Re: [Plplot-devel] wxWidgets initialisation bug You could possibly be right. It might also be

Re: [Plplot-devel] accessibility to plstrl & plP_mmpcy

2012-07-04 Thread phil rosenberg
I thought this might be a useful point to jump in. Alan and I had some discussions recently about newlines in the wxWidgets drivers. They are currently inconsistently applied to the wxGraphicsContext and wxDC and wxAgg/freetype versions of the drivers. We weren't entirely sure how well newlines

[Plplot-devel] font selection and windows symbol fonts

2012-07-04 Thread phil rosenberg
Hi all   I'm emailing about font selection in general, but particularly with wxWidgets and using the symbol font with freetype on Windows.   I guess the easiest of these subjects is the symbol font using freetype. I've just discovered that plfreetype renders the wrong characters when using the s

[Plplot-devel] cmap1 colourscale direction

2012-08-10 Thread phil rosenberg
ct to get a colourscheme from blue-purple-red, but instead I get blue-turquoise-green-yellow-red.   I've called it a feature, because I'm not sure if this is a bug in the code or if it is the correct behaviour but the documentation isn

Re: [Plplot-devel] cmap1 colourscale direction

2012-08-13 Thread phil rosenberg
he 0-360 range may be used to ensure correct interpolation around the color wheel. From: Maurice LeBrun To: Alan W. Irwin Cc: Maurice LeBrun ; phil rosenberg ; "[email protected]" Sent: Monday, 13 August 2012, 0:03 Subject:

Re: [Plplot-devel] Fw: wxWidgets driver and line breaks (fwd)

2012-08-22 Thread phil rosenberg
ange I made to my copy of the code didn't end up in the patch for some reason. Phil  ____ From: Andrew Ross To: phil rosenberg Cc: "[email protected]" Sent: Monday, 13 August 2012, 23:07 Subject: Re: [Plplot-devel] Fw: wxWidgets

[Plplot-devel] Building examples on Windows

2012-08-29 Thread phil rosenberg
Hi all I've been having a stab at reliably building plplot, including examples with Visual Studio and CMake, inspired by the fact that I'm now using the trunk version so am rebuilding fairly often. I put some details on the wiki last time I spent some time getting stuff to build with Visual Stud

Re: [Plplot-devel] Plplot-devel Digest, Vol 75, Issue 15

2012-08-31 Thread phil rosenberg
When you talk about zooming, are you referring to zooming in on a page - simply scaling everything up and showing only a portion of it or are you talking about changing the axes of a plot based on mouse clicks and keyboard input?   I'd be interested in helping with the wxWidgets driver.   Phil M

[Plplot-devel] unicode support patch for wingcc.c

2012-08-31 Thread phil rosenberg
Hi all I've just been trying to build plplot with unicode under windows. I noticed quite a few warnings with wingcc.c that didn't appear in the non-unicode build. A quick check showed that this was due to passing char* strings to unicode functions. Although these are only warnings I checked and

Re: [Plplot-devel] Building examples on Windows

2012-08-31 Thread phil rosenberg
overriding the "normal" linker flags rather than adding to them. am I doing something wrong and is there a better way to do this?   Phil ________ From: Arjen Markus To: phil rosenberg ; "[email protected]" Sent: Wednesday, 29 Au

Re: [Plplot-devel] Plplot-devel Digest, Vol 75, Issue 15

2012-08-31 Thread phil rosenberg
lan W. Irwin To: phil rosenberg Cc: "[email protected]" Sent: Friday, 31 August 2012, 16:14 Subject: Re: [Plplot-devel] Plplot-devel Digest, Vol 75, Issue 15 Hi Phil: On 2012-08-31 04:35-0700 phil rosenberg wrote: > When you talk about zooming, are you referrin

Re: [Plplot-devel] Plplot-devel Digest, Vol 75, Issue 15

2012-08-31 Thread phil rosenberg
res to the wxWidgets backend.   Phil From: Alan W. Irwin To: phil rosenberg Cc: "[email protected]" Sent: Friday, 31 August 2012, 18:47 Subject: Re: [Plplot-devel] Plplot-devel Digest, Vol 75, Issue 15 Hi Phil: On 2012-0

Re: [Plplot-devel] Building examples on Windows

2012-08-31 Thread phil rosenberg
the tag appended. Is this by design?    Phil ____ From: Alan W. Irwin To: phil rosenberg Cc: Arjen Markus ; "[email protected]" Sent: Friday, 31 August 2012, 19:47 Subject: Re: [Plplot-devel] Building examples on Windows On 2012-08-31

Re: [Plplot-devel] Fw: wxWidgets driver and line breaks (fwd)

2012-09-05 Thread phil rosenberg
Phil From: Andrew Ross To: phil rosenberg Cc: "[email protected]" Sent: Tuesday, 4 September 2012, 11:16 Subject: Re: [Plplot-devel] Fw: wxWidgets driver and line breaks (fwd) Hi Phil, I definitely used the newlines_v2_nocore.patc

[Plplot-devel] map resolution

2012-09-13 Thread phil rosenberg
Hi all I was just wondering what the format of the plPlot map files is? The maps included in plPlot are rather low resolution so wondered if it was possible for me to download more detailed ones form somewhere?   Phil-- L

Re: [Plplot-devel] map resolution

2012-09-13 Thread phil rosenberg
it if you'd let me know. At the moment I'm going to have to read in and plot the ascii maps as a line plot, but I won't end up with the useful features of the plmaps routine.   Cheers   Phil From: Andrew Roach To: phil rosenberg Sent: Thur

Re: [Plplot-devel] map resolution

2012-09-13 Thread phil rosenberg
devs would consider allowing a 3 or 4 byte per point format the results would be much improved. Phil ____ From: phil rosenberg To: Andrew Roach Sent: Thursday, 13 September 2012, 16:04 Subject: Re: [Plplot-devel] map resolution Unfortunately after a significant

Re: [Plplot-devel] map resolution

2012-09-21 Thread phil rosenberg
tures they want in a pretty straightforward way or a number of different maps at different resolutions could be provided with plplot. Like Andrew says - just my random thoughts Phil From: Andrew Ross To: phil rosenberg Cc: "plplot-devel@list

Re: [Plplot-devel] Plplot-devel Digest, Vol 76, Issue 6

2012-09-28 Thread phil rosenberg
fore a release we also need to find a new release manager to coordinate the process and do the actual release, announcements etc. Regards Andrew -- Message: 2 Date: Wed, 26 Sep 2012 15:52:58 +0100 From: Andrew Ross Subject: Re: [Plplot-devel] map resolution To: p

Re: [Plplot-devel] Building examples on Windows

2012-09-29 Thread phil rosenberg
Hi Alan Sorry to bump this, did you ever look at the patch I submitted for static runtime linkage? If you are happy with it then I can update the  MSVC++ build instructions on the wiki page.   Phil From: phil rosenberg To: Alan W. Irwin Cc: Arjen Markus

Re: [Plplot-devel] map resolution

2012-09-30 Thread phil rosenberg
__ From: Alan W. Irwin To: phil rosenberg Cc: "[email protected]" Sent: Sunday, 30 September 2012, 0:52 Subject: Re: [Plplot-devel] map resolution But do you really want to re-implement a shapefile parser? The MIT or LGPL dual-licensed shapelib library (se

Re: [Plplot-devel] Plplot-devel Digest, Vol 77, Issue 2

2012-10-02 Thread phil rosenberg
Hi Arjen Sorry, the phrase "static linkage" clearly has different meanings depending upon who uses it.   When I refer to static linkage I don't mean creating .lib files rather than .dll files I mean linking against the static runtime libraries (/MT and /MTd compiler options or runtime library

Re: [Plplot-devel] map resolution

2012-10-04 Thread phil rosenberg
can't be a bad thing to ensure the map files load quickly and use as little ram as possibles.   Phil From: Alan W. Irwin To: Andrew Ross Cc: Hezekiah M. Carty ; "[email protected]" ; phil rosenberg Sent: Wednesday, 3 October

Re: [Plplot-devel] map resolution

2012-10-05 Thread phil rosenberg
questions.   Phil From: Alan W. Irwin To: phil rosenberg Cc: Andrew Ross ; Hezekiah M. Carty ; "[email protected]" Sent: Friday, 5 October 2012, 0:14 Subject: Re: [Plplot-devel] map resolution On 2012-10-04 12:58-0700 phil rosen

Re: [Plplot-devel] wxwidgets linebreaks

2012-10-05 Thread phil rosenberg
I'm 2.8.10, so a bit older than you, but even so I would have hoped that bugs wouldn't have been introduced between versions.   I will try to see if I can build on a linux system to see the effect.   Phil From: Andrew Ross To: phil rosenberg C

Re: [Plplot-devel] map resolution

2012-10-05 Thread phil rosenberg
le to put it to bed and spend some time on the maps. Phil ____ From: Alan W. Irwin To: phil rosenberg Cc: "[email protected]" ; Andrew Ross Sent: Friday, 5 October 2012, 21:38 Subject: Re: [Plplot-devel] map resolution By the

Re: [Plplot-devel] map resolution

2012-10-08 Thread phil rosenberg
s rather than try to turn PLplot into GIS software. Although if people think that it would be useful to have a fill option it's relatively little effort to do - discus!!!   Let me know if the patch works for you.   Phil From: Alan W. Irwin To: phil rose

Re: [Plplot-devel] map resolution

2012-10-11 Thread phil rosenberg
Hi Andrew   Thanks for your comments, massively useful. I have added some further comments/questions below.   Cheers   Phil From: Andrew Ross To: phil rosenberg Cc: "[email protected]" Sent: Wednesday, 10 October 2012, 21:38 S

Re: [Plplot-devel] Fw: wxWidgets driver and line breaks (fwd)

2012-10-11 Thread phil rosenberg
That's great that you've found this. I was starting to dispair. Will you make the necessary change(s) to the patch or do you need me to do it?   Phil From: Andrew Ross To: phil rosenberg ; "[email protected]" Sent: W

Re: [Plplot-devel] map resolution

2012-10-23 Thread phil rosenberg
. For any Hitchhikers Guide fans out there Norway has a prize winning coast if memory serves correct.   Phil     ____ From: Alan W. Irwin To: Andrew Ross Cc: phil rosenberg ; "[email protected]" Sent: Monday, 22 October 2012, 22:13 Subjec

Re: [Plplot-devel] Plplot-devel Digest, Vol 77, Issue 20

2012-10-24 Thread phil rosenberg
'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.

Re: [Plplot-devel] Memory leaks with wxWidgets

2012-10-25 Thread phil rosenberg
I've had a quick look and there are some PLplot specific memory leaks to contend with I think. There also seems to be a lot of wxWidget memory leaks too - not sure if they are related to PLplot code or not.   Again I'm using  C++ example 19cc as i had it handy. When the each page is drawn flow d

[Plplot-devel] wxDC transparency

2012-11-10 Thread phil rosenberg
Hi I'm just emailing after having a couple of transparency issues with wxDC. It turns out that most of the derivatives of wxDC don't support the alpha channel and so it seems alpha was not passed to this backend by plPlot. I think, however, that we should support the few that do.   One of the on

[Plplot-devel] poor vectors when using wxwidgets

2012-11-13 Thread phil rosenberg
Hi I've just been looking at using the plvect function to add vectors to a plot. Unfortunately they are not coming out well. Attached is a simple example with [1,1] vectors plotted at every integer from 0-9 in x and y. You can see that the arrow heads are distorted. I've traced this through the

Re: [Plplot-devel] poor vectors when using wxwidgets

2012-11-13 Thread phil rosenberg
tached - tested on all three wxwidget backends.   Phil ____ From: phil rosenberg To: "[email protected]" Sent: Tuesday, 13 November 2012, 23:20 Subject: poor vectors when using wxwidgets Hi I've just been looking at using the plv

Re: [Plplot-devel] poor vectors when using wxwidgets

2012-11-14 Thread phil rosenberg
s that calling plspage after setting the device might give odd results? There is a warning however if plspage() is called after plinit() so maybe we could live with this.   Phil   ____ From: Andrew Ross To: phil rosenberg Cc: "[email protected]

Re: [Plplot-devel] poor vectors when using wxwidgets

2012-11-14 Thread phil rosenberg
and x differences in the x direction)?   Phil  From: Andrew Ross To: phil rosenberg Cc: "[email protected]" Sent: Wednesday, 14 November 2012, 10:11 Subject: Re: [Plplot-devel] poor vectors when using wxwidgets Phil, Thank

Re: [Plplot-devel] wxDC transparency

2012-11-16 Thread phil rosenberg
d be happy with that? I know in the manual you say the C++ interface is in a state of flux so I'm not sure if you intended to roll this out eventually to the other 2d data routines, but it would get my thimbs up.   Phil ____ From: Andrew Ross To: phil r

Re: [Plplot-devel] poor vectors when using wxwidgets

2012-11-16 Thread phil rosenberg
r.   Thanks and have a good weekend   Phil From: Andrew Ross To: phil rosenberg Cc: "[email protected]" Sent: Friday, 16 November 2012, 21:07 Subject: Re: [Plplot-devel] poor vectors when using wxwidgets Phil, Your original pa

[Plplot-devel] build error

2012-11-22 Thread phil rosenberg
I've just started having some problems building plplot. I run cmake to generate a visual studio project, but when I try to build I get the error   c1 : fatal error C1083: Cannot open source file: 'D:/SourceCode/Libraries/shapelib-1.3.0/include/shapelib': Permission denied   It's not surprising th

Re: [Plplot-devel] build error

2012-11-23 Thread phil rosenberg
cmake files so I may be mistaken. I've tried to look at wxwidgets.cmake, but I just don't understand it well enough to debug it.   Phil ____ From: Andrew Ross To: phil rosenberg Cc: "[email protected]" Sent: Thursday, 22 Nove

[Plplot-devel] Suggestion for plshade variants

2012-11-23 Thread phil rosenberg
Hi I'm just emailing with a suggestion for the various plshade routines. I often have data which is nearly regular in that it is on a regular grid with some points missing, either because the data doesn't fill the whole domain or because some data has been flagged as bad. Up to now I'd been padd

[Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-21 Thread phil rosenberg
I think there are a few complexities around when closing the final windows in wxWidgets. I don't know if you remember some months ago a user reporting memory leaks with the wxWidgets examples. I think this came down to the fact that wxWidgets ends the program when its final window is closed with

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-21 Thread phil rosenberg
ult is now avoided.   I've attached a patch, but my copy of PLplot currently has a few modifications and isn't quite up to date so if it won't apply please let me know and I'll download a fresh copy to patch instead.   Phil ____ From: phi

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-21 Thread phil rosenberg
, i.e. debian. I applied it to plplot latest from sourceforge: a. it still segfaults as soon as drawing after calling plinit second time b. does not correctly tidy up, i.e. close the window after plend Fulvio From: phil rosenberg Subject: Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-22 Thread phil rosenberg
from the menu. 4) Finaly what is the behaviour for item 3 if the patch has been applied?   Sorry we're not at the root cause yet   Phil   ____ From: Alan W. Irwin To: phil rosenberg Cc: fulvio ciriaco ; "[email protected]" ; "fu

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-22 Thread phil rosenberg
orts of my students to break things. Fulvio From: "Alan W. Irwin" Subject: Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window Date: Thu, 21 Feb 2013 16:40:45 -0800 (PST) > On 2013-02-21 15:14-0800 phil rosenberg wrote: > >> Thanks  for the report Fulvio >> In tha

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-23 Thread phil rosenberg
#174620 0x00400f19 in do_it_once () #174621 0x00400f6a in main () Fulvio From: phil rosenberg Subject: Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window Date: Fri, 22 Feb 2013 16:19:18 -0800 (PST) > Hi All > I've just tested the situation with a fresh download

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-24 Thread phil rosenberg
?   I will post something on the wxWidgets forum to see if thereis something I'm missing.   Phil From: Alan W. Irwin To: phil rosenberg Cc: Werner Smekal ; Werner Smekal ; fulvio ciriaco ; "[email protected]" ; "fulvi

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-24 Thread phil rosenberg
s to screen - it's how I usually use PLplot. It doesn't suffer the same problems as there is no mixing of console and gui elements.   Phil ____ From: Alan W. Irwin To: phil rosenberg Cc: Werner Smekal ; Werner Smekal ; fulvio ciriaco ; "plplot-dev

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-24 Thread phil rosenberg
__ From: Alan W. Irwin To: phil rosenberg ; Andrew Ross Cc: Werner Smekal ; Werner Smekal ; fulvio ciriaco ; "[email protected]" ; "[email protected]" Sent: Sunday, 24 February 2013, 22:54 Subject: Re: [Plplot-devel] [ plpl

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-28 Thread phil rosenberg
ant compiler. Could CMake check for apropriate compliance at build time? Perhaps including code for C++11 std::threads with fallbacks to Windows and Linux (and OSX if someone can do it) specific code would be the best solution.   Phil From: Alan W. Irwin To: ph

Re: [Plplot-devel] Notes on building the wxwidgets software package on MinGW/MSYS

2013-03-01 Thread phil rosenberg
y to check the wingc driver this weekend to confirm your findings.   Phil From: Alan W. Irwin To: phil rosenberg ; PLplot development list Sent: Friday, 1 March 2013, 6:54 Subject: Notes on building the wxwidgets software package on MinGW/MSYS Hi Phil: This is

Re: [Plplot-devel] Notes on building the wxwidgets software package on MinGW/MSYS

2013-03-03 Thread phil rosenberg
(as far as I can think) would be to remove the KeyEH function from plstream and delegate it to the interactive devices. This would however require a change to all the interactive devices. Any thoughts?   Phil     ____ From: Alan W. Irwin To: phil rosenberg Cc: PL

Re: [Plplot-devel] Plplot-devel Digest, Vol 82, Issue 5

2013-03-08 Thread phil rosenberg
Hi Doug and others I had been thinking about contour performance recently. I noticed a significant fall in performance when I applied a transform to a large data set when using the wxWidgets wxGraphicsContext driver on Windows - although I never benchmarked it. This driver uses GDI+ for drawing,

Re: [Plplot-devel] Notes on building the wxwidgets software package on MinGW/MSYS

2013-03-08 Thread phil rosenberg
Hi Alan I've tested this for both debug and release configurations with visual studio 2008. Unfortunately I both cases I end up linking to the dynamic runtime (/MDd and /MD).   Sorry it's not better news   Phil From: Alan W. Irwin To: phil rosenbe

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-03-11 Thread phil rosenberg
Hi All I'm still working through the wxWidgets bug, implementing multithreading. I already reported a possible snag with race conditions with users setting specific keyboard actions. However i've come accross a rather larger snag.   Calling plRemakePlot also generates a race condition, perhaps in

Re: [Plplot-devel] Notes on building the wxwidgets software package on MinGW/MSYS

2013-03-12 Thread phil rosenberg
of you have any ideas?   Phil ____ From: Alan W. Irwin To: phil rosenberg Cc: Arjen Markus ; PLplot development list Sent: Tuesday, 12 March 2013, 18:28 Subject: Re: [Plplot-devel] Notes on building the wxwidgets software package on MinGW/MSYS To Phil an

Re: [Plplot-devel] Notes on building the wxwidgets software package on MinGW/MSYS

2013-03-13 Thread phil rosenberg
Thanks Alan Just to clarify - wxPLplotstream.cpp and wxPLplotwindow.cpp are correct, wxwidgets.cpp, wxwidgets_agg.cpp, wxwidgets_app.cpp, wxwidgets_dc.cpp, wxwidgets_dc.cpp, wxwidgets_gc.cpp and wxPLplotDemo incorrectly include the debug flags.   Cheers   Phil ---

Re: [Plplot-devel] Notes on building the wxwidgets software package on MinGW/MSYS

2013-03-16 Thread phil rosenberg
Hi Arjen, Alan Sorry I've been so busy at work this week I haven't kept up with this.   Arjen you are absolutely correct, you cannot mix libraries built with /MT /MD /MTd and /MDd. Every library you build into an executable must use the same runtime library - if you don't stick to this rule then

Re: [Plplot-devel] Notes on building the wxwidgets software package on MinGW/MSYS

2013-03-17 Thread phil rosenberg
Hi Alan Yes there are a number of pitfalls to watch out for, but there are probably a similar number of Linux pitfalls. Like when I tried to build plplot on my Ubuntu 11.04 (I think that's the right version number - the previous LTS)  machine and the repositories didn't include a high enough vers

Re: [Plplot-devel] Help needed with non-zero return code delivered by drivers/test-drv-info.c for certain devices on Windows platforms

2013-04-15 Thread phil rosenberg
e.c cannot know about mutexes created by the wxWidgets driver to protect the plstream). When I next get time I will try to look at the other issues too. Phil From: Arjen Markus To: Alan W. Irwin Cc: phil rosenberg ; PLplot development list ; Werne

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-05-07 Thread phil rosenberg
hought I'd check if they were necessary.   Cheers   Phil ____ From: phil rosenberg To: Alan W. Irwin Cc: PLplot development list ; Andrew Ross Sent: Monday, 11 March 2013, 11:13 Subject: Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window Hi All I&

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-05-08 Thread phil rosenberg
Thanks Alan I've hunted through the code and found that although some properties appear to be able to be set before initialisation they are saved in the plstream and the commands don't make it to the drivers until after plinit is called at least (because until this point the driver doesn't even

[Plplot-devel] build error from pltek

2013-05-21 Thread phil rosenberg
Hi I'm trying to build plplot on my work linux machine running 64 bit CentOS. cmake seems to run fine, but I'm getting the following build error when I run make Linking C executable pltek ../src/libplplotd.so.11.0.0: undefined reference to `pango_layout_get_baseline' ../src/libplplotd.so.11.0.0:

Re: [Plplot-devel] build error from pltek

2013-05-21 Thread phil rosenberg
Thanks Alan I commented out the building of pltek and found the same problem when building the examples so as you said it was nothing to do with pltek, but a fundamental build issue. The fix you suggested worked. I missed that flag when looking at the wiki, I tried every other cairo flag on ther

Re: [Plplot-devel] Binary distribution

2013-06-27 Thread phil rosenberg
I would just like to add to the support for a binary distribution. Just a few weeks ago I was exchanging email with the writers of wxAstroCapture and mentioned PLPlot. They had heard of it but found it too difficult to build so used something else. I remember when I first attempted to compile it

Re: [Plplot-devel] Binary distribution

2013-07-01 Thread phil rosenberg
>Point taken, but note binary distributors would also not want to >alienate the huge numbers of MinGW users as well.  MinGW-4.7.2 has >been averaging 20,000 downloads of its core package per month for the >7 months since its release.  And MinGW-4.6.2 has had 800 thousand (!) >downloads of its core

[Plplot-devel] Re Help needed to correctly implement underline and overline mode

2013-08-25 Thread Phil Rosenberg
Hi Alan WxWidgets does not implement overline at all. At least not in 2.8. I haven't used 2.9 so not sure there. In this case we would have to manually draw an overline. For underline, what would be the desired outcome? In Word for example if underlined text includes normal and superscript it is

[Plplot-devel] x19 patch

2013-09-26 Thread phil rosenberg
Hi Alan Meant to drop this in to you some time back. A very minor patch to fix the x19 missing bit of antarctica on the global map. The problem was that the axes went beyond the -360 to +360 degrees that the map routines draw on since the shapefile changes. Changing these limits was all that was

[Plplot-devel] CMake bug report - sorry

2013-09-26 Thread phil rosenberg
Sorry to dop this in when clearly there is plenty else to do, but maybe this is an easy fix before the release.   I just tried to build the latest trunk version ahead of the planned release and the wxWidgets build is broken - at least on windows. The wxWidget related files are given debug compil

Re: [Plplot-devel] x19 patch

2013-09-26 Thread Phil Rosenberg
Phil -Original Message- From: "Alan W. Irwin" Sent: ‎26/‎09/‎2013 19:10 To: "phil rosenberg" Cc: "[email protected]" Subject: Re: [Plplot-devel] x19 patch On 2013-09-26 10:00-0700 Alan W. Irwin wrote: > On 2013-09-26 02:19-0700 phil rosenberg

Re: [Plplot-devel] CMake bug report - sorry

2013-09-26 Thread phil rosenberg
: PLplot development list ; phil rosenberg Sent: Thursday, 26 September 2013, 19:03 Subject: Re: [Plplot-devel] CMake bug report - sorry Hi Andrew: Thanks very much for all your testing and patching work this morning. For example, I didn't have time to deal with Phil's example 19 pa

Re: [Plplot-devel] [Plplot-general] overline underline not working

2013-10-05 Thread phil rosenberg
at the moment in wxWidgets at least, the string gets broken into chunks and parsed to deal with superscript and newlines etc then the chunks get passed for drawing. this is wy wxWidgets built in underline doesn't work as we want, because it draws the sb/superscript chunks separately. We'll ne

[Plplot-devel] plmap no user data

2013-10-07 Thread phil rosenberg
Hi I've just been sorting out plotting some transformed map data - in this case plotting data on a globe as would be viewed from space. After writing a transform class I realised that there is no void* parameter to pass transform data to plmap and no void * parameter of mapform. Am I missing a w

Re: [Plplot-devel] plmap no user data

2013-10-07 Thread phil rosenberg
Hi Alan Thanks, I hadn't seen this function I will give it a try. It might be useful to  mention this in the plmap documentation for other users who want something more general too.   Thanks again   Phil From: Alan W. Irwin To: phil rosenberg Cc: &q

Re: [Plplot-devel] [Plplot-general] overline underline not working

2013-10-08 Thread phil rosenberg
FreeType backend to parse unicode correctly (something we discussed some time ago) then this would be the tool to use. Sorry it was a bit off topic, but I thought it might be worth mentioning.   Phil From: Alan W. Irwin To: phil rosenberg Cc: "plplot-

Re: [Plplot-devel] [Plplot-general] overline underline not working

2013-10-08 Thread phil rosenberg
uite jagged, at least on Windows. Although ironically on Linux there is a good chance wxGraphicsContext  text is rendered using freetype! ____ From: Alan W. Irwin To: phil rosenberg Cc: "[email protected]" Sent: Tuesday, 8 October 2013,

[Plplot-devel] plvect ignores transformation

2013-10-08 Thread phil rosenberg
Following on from my previous transformation query, it seems that plvect ignores the transformation set by plstransform. I've attached a patch to fix this. It essentially performs the transformation on both ends of the arrow before the conversion into device coordinates. It therefore transforms

Re: [Plplot-devel] [Plplot-general] overline underline not working

2013-10-14 Thread phil rosenberg
Hi Alan I think I agree that removing agg and freetype is probably a good plan, so that drops us down to 2 backends. I had just written a whole email about why we need to support wxDC and wxGraphics context because wxGraphicsContext give antialiased rendering with alpha support and wxDC gives no

Re: [Plplot-devel] [Plplot-general] overline underline not working

2013-10-14 Thread phil rosenberg
Just a quick update on wxGCDC I just tried using wxGCDC in some of my code. It builds fine so it turns out wxWidgets 2.8 does include wxGCDC, however my plots all turn out blank. Not sure why. I found the Flush() method, but this doesn't change the output. With little documentation I'm not sure

[Plplot-devel] wxGCDC

2013-10-15 Thread phil rosenberg
I've started this with a new thread title as it had deviated significantly from the original topic.   Given the suggestion that we streamline the wxWidgets driver I've been looking into wxGCDC which provides access to wxGraphicsContext but via a wxDC interface. On my Windows system I can create

Re: [Plplot-devel] wxGCDC

2013-10-15 Thread phil rosenberg
After a bit of playing around it seems that wxGCDC uses a similar trick to some Plplot drivers in that it pretends to have a bigger size than the bitmap it is drawing on (1x1 units). This means we do get subpixel accuracy and better than 1 pixel accuracy line widths. However it is up to

Re: [Plplot-devel] wxGCDC

2013-10-15 Thread phil rosenberg
Hi Alan xGCDC is available in 2.8, but looking at 2.9 it seems that it is being slowly expanded to enable it to wrap other wxDCs. My comments about 2.9 were just regarding future proofing.   Phil On Wednesday, 16 October 2013, 1:58, Alan W. Irwin wrote: On 2013-10-15 16:41-0700 phil

Re: [Plplot-devel] wxGCDC

2013-10-17 Thread phil rosenberg
Hi All I've attached a patch which should give support for using wxGCDC. It is not finished or watertight, but it does work on my windows machine so i thought now was a good point to send it round to check for any platform dependant differences, so if someone could try it on a linux machine or a

Re: [Plplot-devel] wxWidgets not detected through cmake

2013-11-05 Thread phil rosenberg
One thing that may be worth checking that caught me out in the past, from memory CMAKE is case sensitive for its paths, even though Windows isn't. Make sure your WXWIN environment variable is case-correct. I am using wxWidgets with plplot on win7 with no problems. I installed wxWidgets 2.8 using

Re: [Plplot-devel] plvect and global transformations

2013-11-07 Thread phil rosenberg
Hi Andrew Thanks for includin the patch. However your changes to example 22.c cause compilation errors and a warning about an unreferenced variable. The error itself surprised me slightly - I had to google the error code which led me to the following http://msdn.microsoft.com/en-us/library/eff82

Re: [Plplot-devel] Question from comp.lang.ada user about thread safety

2013-11-17 Thread phil rosenberg
I looked into some of these issues when trying to solve a wxWidgets bug some time ago. I never got it sorted as to fix the bug will require the wxWidgets App to run in a separate thread. I got so far with this but then stopped, because of the required changes to the core routines - basically it

[Plplot-devel] The fate of wxWidget backends

2013-11-22 Thread phil rosenberg
Hi all I started looking into reshaping the wxBackends recently to use wxGCDC and have things mostly working on Windows, but got some odd results on Linux that I haven't looked into yet. In case anyone didn't catch this discussion, there is a wxGCDC class which encapsulates a wxGraphicsContext s

  1   2   3   4   5   6   7   >