From: Laurent B. <lau...@un...> - 2016-12-28 21:28:44
|
With your last message I have found a way to solve problem cd wxWiget-3.1.0git checkout cbb799b Checking out files: 100% (1470/1470), done. Note: checking out 'cbb799b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name> HEAD is now at cbb799b... Updates for 3.1.0 release Build wxwidgets and build plplot and y axis label is good now. Now I think if you update your git wxwidgest repository you will able to see bad y label Le 28/12/2016 à 20:11, p.d...@gm... a écrit : > > Thanks Laurent > > You are a few commits ahead of me I think so I'll update, just in case > it makes a difference. I use 64 bit, which I think is the same as you. > Are you using wxWidgets 3.1? I am using 3.0 I think, but I'll check. > > Phil > > Sent from my Windows 10 phone > > *From: *Laurent Berger <mailto:lau...@un...> > *Sent: *28 December 2016 10:21 > *To: *p.d...@gm... <mailto:p.d...@gm...>; Pedro > Vicente <mailto:ped...@sp...> > *Cc: *PLplot development list <mailto:plp...@li...> > *Subject: *Re: [Plplot-devel] legend and label using wxWidgets > > git log > > commit 26bc4bf13aa41dff0e19345e982eca00a0458578 > Author: Alan W. Irwin <ai...@us...> > <mailto:ai...@us...> > Date: Sat Dec 24 14:32:48 2016 -0800 > > Apply spell checker to release notes > > I have got a dual screen. I have check example on my laptop and > problem exist too. Do you use 32 bit or 64 bits libs? > > Le 28/12/2016 à 10:27, p.d...@gm... > <mailto:p.d...@gm...> a écrit : > > Hi Laurent > > This is very strange. I see that y axis titles are rotated 180, > and the line label is rotated 90 degrees. > > In fact it looks to me like the y axis coordinate has been > reversed for text direction. I have just tested my system which is > using commit 65e7b3c99809... Fix bug with plotting in wxPLplotDemo > and I don't see the issue. I'm not online right now (emailing from > phone) to get latest master, but could you do a git log and let me > know which commit you are at? > > Also is there anything unusual about your screen setup that may > affect the usual y direction orientation or anything similar that > you can think of? > > Phil > > Sent from my Windows 10 phone > > *From: *Laurent Berger <mailto:lau...@un...> > *Sent: *28 December 2016 01:07 > *To: *p.d...@gm... <mailto:p.d...@gm...>; > Pedro Vicente <mailto:ped...@sp...> > *Cc: *PLplot development list > <mailto:plp...@li...> > *Subject: *Re: [Plplot-devel] legend and label using wxWidgets > > Hi phil > > I have already check it : > > I have clean only wxPlLiewer and run x04 (click on x04) in cmd > window I have : > > > Plotting Options: > < 1> ps PostScript File (monochrome) > < 2> psc PostScript File (color) > < 3> xfig Xfig file > < 4> null Null device > < 5> mem User-supplied memory device > < 6> wxwidgets wxWidgets DC > < 7> svg Scalable Vector Graphics (SVG 1.1) > > Enter device number or keyword (stream 1): 6 > wxPLDevice::SetupMemoryMap: nTries = 0, mapName = > plplotMemoryMapGTSRRSLXRW > wxPLDevice::SetupMemoryMap: nTries = 0, mutexName = > plplotMemoryMapGTSRRSLXRWmut > > *** PLPLOT WARNING *** > Failed to run wxPLViewer - no plots will be shown > > *** PLPLOT WARNING *** > wxPLViewer failed to signal it has found the shared memory. > plGetName: Maximum length of full pathname of file to be found is 39 > plGetName: Full pathname of file to be found is > F:/Meteo/plplot\data\plxtnd5.fnt > plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt > > Now I build wxPLviewer and run x04 (click ) > > > cid:par...@un... > > now wxplotdemo x axis label is wrong too > > cid:par...@un... > > > > Le 28/12/2016 à 00:41, p.d...@gm... > <mailto:p.d...@gm...> a écrit : > > Hi Laurent > > I know you have said you have cleaned and you have rebuilt. > However, there may be a build tree dependency issue catching > us out. Can you ensure you specifically rebuild the wxPlviewer > project by right clicking it and selecting build in visual > studio? If you just right click an example and click build or > debug then this project doesn't get built/rebuilt. This means > in a previously used build tree you may be using a stale > wxplviewer executable or in a fresh tree you may end up using > the wxplviewer from your last build of the INSTALL project as > a local version may not be found. > > Alan – I have mentioned this before. What is needed is for all > examples to depend upon the wxPLViewer executable, which in > turn depends upon plplot and the wxWidgets driver, so that if > changes are made to plplot or the driver then building of an > example triggers a rebuild of wxPLViewer. > > Phil > > Sent from my Windows 10 phone > > *From: *Pedro Vicente <mailto:ped...@sp...> > *Sent: *27 December 2016 22:13 > *To: *Laurent Berger <mailto:lau...@un...> > *Cc: *PLplot development list > <mailto:plp...@li...> > *Subject: *Re: [Plplot-devel] legend and label using wxWidgets > > I am using wxwidgets 3.1 built with Visual Studio 2015 and > plplot from the > > master branch > > and using cmake with > > cmake ".." -G "Visual Studio 14" -DPL_DOUBLE:BOOL=ON > > -DBUILD_TEST:BOOL=ON -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" > > -DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF > > -DSTATIC_RUNTIME:BOOL=ON -DPLD_wxwidgets:BOOL=ON > > -DwxWidgets_ROOT_DIR:PATH=%WXWIN% > > -DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib > > -DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON > > -DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF > > ----- Original Message ----- > > From: "Laurent Berger" <lau...@un...> > <mailto:lau...@un...> > > To: "Pedro Vicente" <ped...@sp...> > <mailto:ped...@sp...> > > Cc: "Alan W. Irwin" <ir...@be...> > <mailto:ir...@be...>; "PLplot development list" > > <plp...@li...> > <mailto:plp...@li...> > > Sent: Tuesday, December 27, 2016 4:32 PM > > Subject: Re: [Plplot-devel] legend and label using wxWidgets > > > Which version of wxwidgets do you use (can you give last commit > using git > > > log)? > > > > > > > > > Le 27/12/2016 à 22:29, Pedro Vicente a écrit : > > >>> error is still here. Now what patch should I apply? > > >> > > >> there is no patch for the scale issue. > > >> the patch I send previously on the subject "Using wxWidgets" is > for the > > >> issue regarding the use > > >> of templates. To test that, add and replace the 2 attached files > on that > > >> email to the master you just did the clone, > > >> and report here if you have any errors on the master, or in your > code > > >> that uses it, please. > > >> > > >> regarding the scale issue, what compiler and cmake command > are you using? > > >> is it Visual Studio 2015 build 64bits, doing > > >> cmake .. -G "Visual Studio 14 win64" ? > > >> > > >> > > >> > > >> > > >> On 2016-12-27 16:04, Laurent Berger wrote: > > >>> I always clean my build repo and my cmake cache. Now to be sure I > > >>> have just clone plplot in another folder : > > >>> > > >>> > > >>> $ git clone git://git.code.sf.net/p/plplot/plplot > > >>> Cloning into 'plplot'... > > >>> remote: Counting objects: 91527, done. > > >>> remote: Compressing objects: 100% (29963/29963), done. > > >>> remote: Total 91527 (delta 68265), reused 82342 (delta 60469) > > >>> Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00 > KiB/s, done. > > >>> Resolving deltas: 100% (68265/68265), done. > > >>> Checking connectivity... done. > > >>> Checking out files: 100% (1962/1962), done. > > >>> > > >>> Laurent@PC-Laurent-Vision MINGW64 /f/met > > >>> $ cd plplot > > >>> > > >>> Laurent@PC-Laurent-Vision MINGW64 /f/met/plplot (master) > > >>> $ git log > > >>> commit 26bc4bf13aa41dff0e19345e982eca00a0458578 > > >>> Author: Alan W. Irwin <ai...@us...> > <mailto:ai...@us...> > > >>> Date: Sat Dec 24 14:32:48 2016 -0800 > > >>> > > >>>Apply spell checker to release notes > > >>> > > >>> build plplot in static using wxwidgets 3.1.0 : > > >>> > > >>>git log (wxWidgets 3.1.0) > > >>> commit 9bb5d0435a4cce5bcb7b3956cb730f59c37ea5f6 > > >>> Author: Paul Cornett <pa...@us...> > <mailto:pa...@us...> > > >>> Date: Wed Nov 9 20:06:26 2016 -0800 > > >>> > > >>>Fix non-default window background color with GTK+ >= 3.20 > > >>> > > >>>GTK+ no longer automatically paints non-default window > > >>> background. See #17586 > > >>> > > >>> commit b1a19e6b6c9f1a69821c0da773e2e3f94d554292 > > >>> > > >>> error is still here. Now what patch should I apply? > > >>> > > >>> > > >>> > > >>> Le 27/12/2016 à 21:47, Alan W. Irwin a écrit : > > >>>> On 2016-12-27 15:27-0500 Pedro Vicente wrote: > > >>>> > > >>>>> ah, yes, that's right "Visual Studio 14" only is for 32 bits > > >>>>> > > >>>>> I did not try with 64 bits libs > > >>>> > > >>>> @Laurent: > > >>>> > > >>>> Just to interject here, before getting too deeply into 64-bit > versus > > >>>> 32-bit Windows differences between Pedro and you, it is > important you > > >>>> answer our question whether the text issues you see are due > to stale > > >>>> results left over from your previous builds. So please make a > > >>>> completely fresh build and let us know whether those text issues > > >>>> persist for that fresh build. > > >>>> > > >>>> Alan > > >>>> > > >>>> __________________________ > > >>>> Alan W. Irwin > > >>>> > > >>>> Astronomical research affiliation with Department of Physics and > > >>>> Astronomy, > > >>>> University of Victoria (astrowww.phys.uvic.ca). > > >>>> > > >>>> Programming affiliations with the FreeEOS equation-of-state > > >>>> implementation for stellar interiors (freeeos.sf.net); the Time > > >>>> Ephemerides project (timeephem.sf.net); PLplot scientific > plotting > > >>>> software package (plplot.sf.net); the libLASi project > > >>>> (unifont.org/lasi); the Loads of Linux Links project > (loll.sf.net); > > >>>> and the Linux Brochure Project (lbproject.sf.net). > > >>>> __________________________ > > >>>> > > >>>> Linux-powered Science > > >>>> __________________________ > > >> > > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Plplot-devel mailing list > > Plp...@li... > <mailto:Plp...@li...> > > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |
From: Laurent B. <lau...@un...> - 2016-12-28 22:19:26
|
wxwidgets commit 0bf38e1 x04 y axis label is good (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) wxwidgets commit 49000def x04 y axis label is false (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3) Le 28/12/2016 à 22:28, Laurent Berger a écrit : > > With your last message I have found a way to solve problem > > cd wxWiget-3.1.0git checkout cbb799b > Checking out files: 100% (1470/1470), done. > Note: checking out 'cbb799b'. > > You are in 'detached HEAD' state. You can look around, make experimental > changes and commit them, and you can discard any commits you make in this > state without impacting any branches by performing another checkout. > > If you want to create a new branch to retain commits you create, you may > do so (now or later) by using -b with the checkout command again. Example: > > git checkout -b <new-branch-name> > > HEAD is now at cbb799b... Updates for 3.1.0 release > > Build wxwidgets and build plplot and y axis label is good now. > > Now I think if you update your git wxwidgest repository you will able > to see bad y label > > > Le 28/12/2016 à 20:11, p.d...@gm... a écrit : >> >> Thanks Laurent >> >> You are a few commits ahead of me I think so I'll update, just in >> case it makes a difference. I use 64 bit, which I think is the same >> as you. Are you using wxWidgets 3.1? I am using 3.0 I think, but I'll >> check. >> >> Phil >> >> Sent from my Windows 10 phone >> >> *From: *Laurent Berger <mailto:lau...@un...> >> *Sent: *28 December 2016 10:21 >> *To: *p.d...@gm... <mailto:p.d...@gm...>; Pedro >> Vicente <mailto:ped...@sp...> >> *Cc: *PLplot development list <mailto:plp...@li...> >> *Subject: *Re: [Plplot-devel] legend and label using wxWidgets >> >> git log >> >> commit 26bc4bf13aa41dff0e19345e982eca00a0458578 >> Author: Alan W. Irwin <ai...@us...> >> <mailto:ai...@us...> >> Date: Sat Dec 24 14:32:48 2016 -0800 >> >> Apply spell checker to release notes >> >> I have got a dual screen. I have check example on my laptop and >> problem exist too. Do you use 32 bit or 64 bits libs? >> >> Le 28/12/2016 à 10:27, p.d...@gm... >> <mailto:p.d...@gm...> a écrit : >> >> Hi Laurent >> >> This is very strange. I see that y axis titles are rotated 180, >> and the line label is rotated 90 degrees. >> >> In fact it looks to me like the y axis coordinate has been >> reversed for text direction. I have just tested my system which >> is using commit 65e7b3c99809... Fix bug with plotting in >> wxPLplotDemo and I don't see the issue. I'm not online right now >> (emailing from phone) to get latest master, but could you do a >> git log and let me know which commit you are at? >> >> Also is there anything unusual about your screen setup that may >> affect the usual y direction orientation or anything similar that >> you can think of? >> >> Phil >> >> Sent from my Windows 10 phone >> >> *From: *Laurent Berger <mailto:lau...@un...> >> *Sent: *28 December 2016 01:07 >> *To: *p.d...@gm... <mailto:p.d...@gm...>; >> Pedro Vicente <mailto:ped...@sp...> >> *Cc: *PLplot development list >> <mailto:plp...@li...> >> *Subject: *Re: [Plplot-devel] legend and label using wxWidgets >> >> Hi phil >> >> I have already check it : >> >> I have clean only wxPlLiewer and run x04 (click on x04) in cmd >> window I have : >> >> >> Plotting Options: >> < 1> ps PostScript File (monochrome) >> < 2> psc PostScript File (color) >> < 3> xfig Xfig file >> < 4> null Null device >> < 5> mem User-supplied memory device >> < 6> wxwidgets wxWidgets DC >> < 7> svg Scalable Vector Graphics (SVG 1.1) >> >> Enter device number or keyword (stream 1): 6 >> wxPLDevice::SetupMemoryMap: nTries = 0, mapName = >> plplotMemoryMapGTSRRSLXRW >> wxPLDevice::SetupMemoryMap: nTries = 0, mutexName = >> plplotMemoryMapGTSRRSLXRWmut >> >> *** PLPLOT WARNING *** >> Failed to run wxPLViewer - no plots will be shown >> >> *** PLPLOT WARNING *** >> wxPLViewer failed to signal it has found the shared memory. >> plGetName: Maximum length of full pathname of file to be found is 39 >> plGetName: Full pathname of file to be found is >> F:/Meteo/plplot\data\plxtnd5.fnt >> plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt >> >> Now I build wxPLviewer and run x04 (click ) >> >> >> cid:par...@un... >> >> now wxplotdemo x axis label is wrong too >> >> cid:par...@un... >> >> >> >> Le 28/12/2016 à 00:41, p.d...@gm... >> <mailto:p.d...@gm...> a écrit : >> >> Hi Laurent >> >> I know you have said you have cleaned and you have rebuilt. >> However, there may be a build tree dependency issue catching >> us out. Can you ensure you specifically rebuild the >> wxPlviewer project by right clicking it and selecting build >> in visual studio? If you just right click an example and >> click build or debug then this project doesn't get >> built/rebuilt. This means in a previously used build tree you >> may be using a stale wxplviewer executable or in a fresh tree >> you may end up using the wxplviewer from your last build of >> the INSTALL project as a local version may not be found. >> >> Alan – I have mentioned this before. What is needed is for >> all examples to depend upon the wxPLViewer executable, which >> in turn depends upon plplot and the wxWidgets driver, so that >> if changes are made to plplot or the driver then building of >> an example triggers a rebuild of wxPLViewer. >> >> Phil >> >> Sent from my Windows 10 phone >> >> *From: *Pedro Vicente <mailto:ped...@sp...> >> *Sent: *27 December 2016 22:13 >> *To: *Laurent Berger <mailto:lau...@un...> >> *Cc: *PLplot development list >> <mailto:plp...@li...> >> *Subject: *Re: [Plplot-devel] legend and label using wxWidgets >> >> I am using wxwidgets 3.1 built with Visual Studio 2015 and >> plplot from the >> >> master branch >> >> and using cmake with >> >> cmake ".." -G "Visual Studio 14" -DPL_DOUBLE:BOOL=ON >> >> -DBUILD_TEST:BOOL=ON -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" >> >> -DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF >> >> -DSTATIC_RUNTIME:BOOL=ON -DPLD_wxwidgets:BOOL=ON >> >> -DwxWidgets_ROOT_DIR:PATH=%WXWIN% >> >> -DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib >> >> -DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON >> >> -DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF >> >> ----- Original Message ----- >> >> From: "Laurent Berger" <lau...@un...> >> <mailto:lau...@un...> >> >> To: "Pedro Vicente" <ped...@sp...> >> <mailto:ped...@sp...> >> >> Cc: "Alan W. Irwin" <ir...@be...> >> <mailto:ir...@be...>; "PLplot development list" >> >> <plp...@li...> >> <mailto:plp...@li...> >> >> Sent: Tuesday, December 27, 2016 4:32 PM >> >> Subject: Re: [Plplot-devel] legend and label using wxWidgets >> >> > Which version of wxwidgets do you use (can you give last commit >> using git >> >> > log)? >> >> > >> >> > >> >> > Le 27/12/2016 à 22:29, Pedro Vicente a écrit : >> >> >>> error is still here. Now what patch should I apply? >> >> >> >> >> >> there is no patch for the scale issue. >> >> >> the patch I send previously on the subject "Using wxWidgets" >> is for the >> >> >> issue regarding the use >> >> >> of templates. To test that, add and replace the 2 attached >> files on that >> >> >> email to the master you just did the clone, >> >> >> and report here if you have any errors on the master, or in >> your code >> >> >> that uses it, please. >> >> >> >> >> >> regarding the scale issue, what compiler and cmake command >> are you using? >> >> >> is it Visual Studio 2015 build 64bits, doing >> >> >> cmake .. -G "Visual Studio 14 win64" ? >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On 2016-12-27 16:04, Laurent Berger wrote: >> >> >>> I always clean my build repo and my cmake cache. Now to be >> sure I >> >> >>> have just clone plplot in another folder : >> >> >>> >> >> >>> >> >> >>> $ git clone git://git.code.sf.net/p/plplot/plplot >> >> >>> Cloning into 'plplot'... >> >> >>> remote: Counting objects: 91527, done. >> >> >>> remote: Compressing objects: 100% (29963/29963), done. >> >> >>> remote: Total 91527 (delta 68265), reused 82342 (delta 60469) >> >> >>> Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00 >> KiB/s, done. >> >> >>> Resolving deltas: 100% (68265/68265), done. >> >> >>> Checking connectivity... done. >> >> >>> Checking out files: 100% (1962/1962), done. >> >> >>> >> >> >>> Laurent@PC-Laurent-Vision MINGW64 /f/met >> >> >>> $ cd plplot >> >> >>> >> >> >>> Laurent@PC-Laurent-Vision MINGW64 /f/met/plplot (master) >> >> >>> $ git log >> >> >>> commit 26bc4bf13aa41dff0e19345e982eca00a0458578 >> >> >>> Author: Alan W. Irwin <ai...@us...> >> <mailto:ai...@us...> >> >> >>> Date: Sat Dec 24 14:32:48 2016 -0800 >> >> >>> >> >> >>>Apply spell checker to release notes >> >> >>> >> >> >>> build plplot in static using wxwidgets 3.1.0 : >> >> >>> >> >> >>>git log (wxWidgets 3.1.0) >> >> >>> commit 9bb5d0435a4cce5bcb7b3956cb730f59c37ea5f6 >> >> >>> Author: Paul Cornett <pa...@us...> >> <mailto:pa...@us...> >> >> >>> Date: Wed Nov 9 20:06:26 2016 -0800 >> >> >>> >> >> >>>Fix non-default window background color with GTK+ >= 3.20 >> >> >>> >> >> >>>GTK+ no longer automatically paints non-default window >> >> >>> background. See #17586 >> >> >>> >> >> >>> commit b1a19e6b6c9f1a69821c0da773e2e3f94d554292 >> >> >>> >> >> >>> error is still here. Now what patch should I apply? >> >> >>> >> >> >>> >> >> >>> >> >> >>> Le 27/12/2016 à 21:47, Alan W. Irwin a écrit : >> >> >>>> On 2016-12-27 15:27-0500 Pedro Vicente wrote: >> >> >>>> >> >> >>>>> ah, yes, that's right "Visual Studio 14" only is for 32 bits >> >> >>>>> >> >> >>>>> I did not try with 64 bits libs >> >> >>>> >> >> >>>> @Laurent: >> >> >>>> >> >> >>>> Just to interject here, before getting too deeply into >> 64-bit versus >> >> >>>> 32-bit Windows differences between Pedro and you, it is >> important you >> >> >>>> answer our question whether the text issues you see are due >> to stale >> >> >>>> results left over from your previous builds. So please make a >> >> >>>> completely fresh build and let us know whether those text issues >> >> >>>> persist for that fresh build. >> >> >>>> >> >> >>>> Alan >> >> >>>> >> >> >>>> __________________________ >> >> >>>> Alan W. Irwin >> >> >>>> >> >> >>>> Astronomical research affiliation with Department of Physics >> and >> >> >>>> Astronomy, >> >> >>>> University of Victoria (astrowww.phys.uvic.ca). >> >> >>>> >> >> >>>> Programming affiliations with the FreeEOS equation-of-state >> >> >>>> implementation for stellar interiors (freeeos.sf.net); the Time >> >> >>>> Ephemerides project (timeephem.sf.net); PLplot scientific >> plotting >> >> >>>> software package (plplot.sf.net); the libLASi project >> >> >>>> (unifont.org/lasi); the Loads of Linux Links project >> (loll.sf.net); >> >> >>>> and the Linux Brochure Project (lbproject.sf.net). >> >> >>>> __________________________ >> >> >>>> >> >> >>>> Linux-powered Science >> >> >>>> __________________________ >> >> >> >> >> > >> >> ------------------------------------------------------------------------------ >> >> Check out the vibrant tech community on one of the world's most >> >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> >> _______________________________________________ >> >> Plplot-devel mailing list >> >> Plp...@li... >> <mailto:Plp...@li...> >> >> https://lists.sourceforge.net/lists/listinfo/plplot-devel >> > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel |
From: <p.d...@gm...> - 2016-12-29 00:14:12
|
Hi Laurent Thanks for this incite. It is good that they have included this functionality as it will mean in the future I can simplify a lot of code in the driver. I have a suspicion that I’m mistakenly switching from plplot y upwards coordinates to wxWidgets y downwards coordinates twice, but one of those times using the wxDC affine transform interface which was ignored in older wxWidgets versions. I will look into this as soon as I can, but as we are in the Christmas holidays here, I hope you can appreciate it might be a while until I can do so? Thanks for the investigatory work. Phil Sent from my Windows 10 phone From: Laurent Berger Sent: 28 December 2016 22:19 To: p.d...@gm...; Pedro Vicente Cc: PLplot development list Subject: Re: [Plplot-devel] legend and label using wxWidgets wxwidgets commit 0bf38e1 x04 y axis label is good (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) wxwidgets commit 49000def x04 y axis label is false (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3) Le 28/12/2016 à 22:28, Laurent Berger a écrit : With your last message I have found a way to solve problem cd wxWiget-3.1.0git checkout cbb799b Checking out files: 100% (1470/1470), done. Note: checking out 'cbb799b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name> HEAD is now at cbb799b... Updates for 3.1.0 release Build wxwidgets and build plplot and y axis label is good now. Now I think if you update your git wxwidgest repository you will able to see bad y label Le 28/12/2016 à 20:11, p.d...@gm... a écrit : Thanks Laurent You are a few commits ahead of me I think so I'll update, just in case it makes a difference. I use 64 bit, which I think is the same as you. Are you using wxWidgets 3.1? I am using 3.0 I think, but I'll check. Phil Sent from my Windows 10 phone From: Laurent Berger Sent: 28 December 2016 10:21 To: p.d...@gm...; Pedro Vicente Cc: PLplot development list Subject: Re: [Plplot-devel] legend and label using wxWidgets git log commit 26bc4bf13aa41dff0e19345e982eca00a0458578 Author: Alan W. Irwin <ai...@us...> Date: Sat Dec 24 14:32:48 2016 -0800 Apply spell checker to release notes I have got a dual screen. I have check example on my laptop and problem exist too. Do you use 32 bit or 64 bits libs? Le 28/12/2016 à 10:27, p.d...@gm... a écrit : Hi Laurent This is very strange. I see that y axis titles are rotated 180, and the line label is rotated 90 degrees. In fact it looks to me like the y axis coordinate has been reversed for text direction. I have just tested my system which is using commit 65e7b3c99809... Fix bug with plotting in wxPLplotDemo and I don't see the issue. I'm not online right now (emailing from phone) to get latest master, but could you do a git log and let me know which commit you are at? Also is there anything unusual about your screen setup that may affect the usual y direction orientation or anything similar that you can think of? Phil Sent from my Windows 10 phone From: Laurent Berger Sent: 28 December 2016 01:07 To: p.d...@gm...; Pedro Vicente Cc: PLplot development list Subject: Re: [Plplot-devel] legend and label using wxWidgets Hi phil I have already check it : I have clean only wxPlLiewer and run x04 (click on x04) in cmd window I have : Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> xfig Xfig file < 4> null Null device < 5> mem User-supplied memory device < 6> wxwidgets wxWidgets DC < 7> svg Scalable Vector Graphics (SVG 1.1) Enter device number or keyword (stream 1): 6 wxPLDevice::SetupMemoryMap: nTries = 0, mapName = plplotMemoryMapGTSRRSLXRW wxPLDevice::SetupMemoryMap: nTries = 0, mutexName = plplotMemoryMapGTSRRSLXRWmut *** PLPLOT WARNING *** Failed to run wxPLViewer - no plots will be shown *** PLPLOT WARNING *** wxPLViewer failed to signal it has found the shared memory. plGetName: Maximum length of full pathname of file to be found is 39 plGetName: Full pathname of file to be found is F:/Meteo/plplot\data\plxtnd5.fnt plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt Now I build wxPLviewer and run x04 (click ) now wxplotdemo x axis label is wrong too Le 28/12/2016 à 00:41, p.d...@gm... a écrit : Hi Laurent I know you have said you have cleaned and you have rebuilt. However, there may be a build tree dependency issue catching us out. Can you ensure you specifically rebuild the wxPlviewer project by right clicking it and selecting build in visual studio? If you just right click an example and click build or debug then this project doesn't get built/rebuilt. This means in a previously used build tree you may be using a stale wxplviewer executable or in a fresh tree you may end up using the wxplviewer from your last build of the INSTALL project as a local version may not be found. Alan – I have mentioned this before. What is needed is for all examples to depend upon the wxPLViewer executable, which in turn depends upon plplot and the wxWidgets driver, so that if changes are made to plplot or the driver then building of an example triggers a rebuild of wxPLViewer. Phil Sent from my Windows 10 phone From: Pedro Vicente Sent: 27 December 2016 22:13 To: Laurent Berger Cc: PLplot development list Subject: Re: [Plplot-devel] legend and label using wxWidgets I am using wxwidgets 3.1 built with Visual Studio 2015 and plplot from the master branch and using cmake with cmake ".." -G "Visual Studio 14" -DPL_DOUBLE:BOOL=ON -DBUILD_TEST:BOOL=ON -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" -DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF -DSTATIC_RUNTIME:BOOL=ON -DPLD_wxwidgets:BOOL=ON -DwxWidgets_ROOT_DIR:PATH=%WXWIN% -DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib -DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON -DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF ----- Original Message ----- From: "Laurent Berger" <lau...@un...> To: "Pedro Vicente" <ped...@sp...> Cc: "Alan W. Irwin" <ir...@be...>; "PLplot development list" <plp...@li...> Sent: Tuesday, December 27, 2016 4:32 PM Subject: Re: [Plplot-devel] legend and label using wxWidgets > Which version of wxwidgets do you use (can you give last commit using git > log)? > > > Le 27/12/2016 à 22:29, Pedro Vicente a écrit : >>> error is still here. Now what patch should I apply? >> >> there is no patch for the scale issue. >> the patch I send previously on the subject "Using wxWidgets" is for the >> issue regarding the use >> of templates. To test that, add and replace the 2 attached files on that >> email to the master you just did the clone, >> and report here if you have any errors on the master, or in your code >> that uses it, please. >> >> regarding the scale issue, what compiler and cmake command are you using? >> is it Visual Studio 2015 build 64bits, doing >> cmake .. -G "Visual Studio 14 win64" ? >> >> >> >> >> On 2016-12-27 16:04, Laurent Berger wrote: >>> I always clean my build repo and my cmake cache. Now to be sure I >>> have just clone plplot in another folder : >>> >>> >>> $ git clone git://git.code.sf.net/p/plplot/plplot >>> Cloning into 'plplot'... >>> remote: Counting objects: 91527, done. >>> remote: Compressing objects: 100% (29963/29963), done. >>> remote: Total 91527 (delta 68265), reused 82342 (delta 60469) >>> Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00 KiB/s, done. >>> Resolving deltas: 100% (68265/68265), done. >>> Checking connectivity... done. >>> Checking out files: 100% (1962/1962), done. >>> >>> Laurent@PC-Laurent-Vision MINGW64 /f/met >>> $ cd plplot >>> >>> Laurent@PC-Laurent-Vision MINGW64 /f/met/plplot (master) >>> $ git log >>> commit 26bc4bf13aa41dff0e19345e982eca00a0458578 >>> Author: Alan W. Irwin <ai...@us...> >>> Date: Sat Dec 24 14:32:48 2016 -0800 >>> >>> Apply spell checker to release notes >>> >>> build plplot in static using wxwidgets 3.1.0 : >>> >>> git log (wxWidgets 3.1.0) >>> commit 9bb5d0435a4cce5bcb7b3956cb730f59c37ea5f6 >>> Author: Paul Cornett <pa...@us...> >>> Date: Wed Nov 9 20:06:26 2016 -0800 >>> >>> Fix non-default window background color with GTK+ >= 3.20 >>> >>> GTK+ no longer automatically paints non-default window >>> background. See #17586 >>> >>> commit b1a19e6b6c9f1a69821c0da773e2e3f94d554292 >>> >>> error is still here. Now what patch should I apply? >>> >>> >>> >>> Le 27/12/2016 à 21:47, Alan W. Irwin a écrit : >>>> On 2016-12-27 15:27-0500 Pedro Vicente wrote: >>>> >>>>> ah, yes, that's right "Visual Studio 14" only is for 32 bits >>>>> >>>>> I did not try with 64 bits libs >>>> >>>> @Laurent: >>>> >>>> Just to interject here, before getting too deeply into 64-bit versus >>>> 32-bit Windows differences between Pedro and you, it is important you >>>> answer our question whether the text issues you see are due to stale >>>> results left over from your previous builds. So please make a >>>> completely fresh build and let us know whether those text issues >>>> persist for that fresh build. >>>> >>>> Alan >>>> >>>> __________________________ >>>> Alan W. Irwin >>>> >>>> Astronomical research affiliation with Department of Physics and >>>> Astronomy, >>>> University of Victoria (astrowww.phys.uvic.ca). >>>> >>>> Programming affiliations with the FreeEOS equation-of-state >>>> implementation for stellar interiors (freeeos.sf.net); the Time >>>> Ephemerides project (timeephem.sf.net); PLplot scientific plotting >>>> software package (plplot.sf.net); the libLASi project >>>> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); >>>> and the Linux Brochure Project (lbproject.sf.net). >>>> __________________________ >>>> >>>> Linux-powered Science >>>> __________________________ >> > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Plplot-devel mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-devel ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Plplot-devel mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-devel |
From: Alan W. I. <ir...@be...> - 2016-12-29 00:48:54
|
On 2016-12-28 23:19+0100 Laurent Berger wrote: > wxwidgets commit 0bf38e1 x04 y axis label is good > (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) > > wxwidgets commit 49000def x04 y axis label is false > (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3) Hi Laurent: The github repositories for PLplot are experimental. Therefore, please use official PLplot resources (your local git repository that has been cloned from our official SF repository) to do tests and describe the resulting commits. For example those two commits do not even exist on our SF repository so something different has occurred on the experimental github version you have been testing with, and that adds an element of uncertainty to your results. If you get to a similar result for the official version (one commit good, the other not) that, of course, would be an extremely useful result to us for figuring out what is going wrong here for you. But if you haven't done so already, I would follow up with git bisect to find the first commit that generates the bad result. And if you haven't run "git bisect" before, it is actually a lot of fun, and "git help bisect" gives you all the information you need to run it. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: <p.d...@gm...> - 2016-12-29 08:50:35
|
Hi Alan Theose are wxWidgets commits from the wxWidgets repo. WxWidgets have made a change which I presume has exposed a bug in our code (or maybe there is a bug in their code, but I think that's less likely). Phil Sent from my Windows 10 phone From: Alan W. Irwin Sent: 29 December 2016 00:48 To: Laurent Berger; Phil Rosenberg; Pedro Vicente; PLplot development list Subject: Re: [Plplot-devel] legend and label using wxWidgets On 2016-12-28 23:19+0100 Laurent Berger wrote: > wxwidgets commit 0bf38e1 x04 y axis label is good > (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) > > wxwidgets commit 49000def x04 y axis label is false > (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3) Hi Laurent: The github repositories for PLplot are experimental. Therefore, please use official PLplot resources (your local git repository that has been cloned from our official SF repository) to do tests and describe the resulting commits. For example those two commits do not even exist on our SF repository so something different has occurred on the experimental github version you have been testing with, and that adds an element of uncertainty to your results. If you get to a similar result for the official version (one commit good, the other not) that, of course, would be an extremely useful result to us for figuring out what is going wrong here for you. But if you haven't done so already, I would follow up with git bisect to find the first commit that generates the bad result. And if you haven't run "git bisect" before, it is actually a lot of fun, and "git help bisect" gives you all the information you need to run it. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Alan W. I. <ir...@be...> - 2016-12-29 18:45:17
|
On 2016-12-29 08:50-0000 p.d...@gm... wrote: > Hi Alan > Theose are wxWidgets commits from the wxWidgets repo. WxWidgets have made a change which I presume has exposed a bug in our code (or maybe there is a bug in their code, but I think that's less likely). @Laurent: Oops! Sorry for misreading your post. @Phil and Laurent: My comment about git bisect still stands, but in this case the idea would be to find the first WxWidgets commit that generates bad results for PLplot. Of course, that means for each bisect iteration you would be rebuilding both WxWidgets and PLplot, but bisection is terrifically efficient so you would likely end up doing those builds less than 10 times. Once you know that WxWidgets commit that generates the issue for the first time, then you might be able to tell a lot more from the associated commit message to help you figure out whether this is a WxWidgets bug, a WxWidgets change that exposes a PLplot bug, or deliberate or accidental WxWidgets API breakage (e.g., changing the semantics of one or more WxWidgets function arguments). Anyhow, good luck on this hunt for the cause of the issue. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Alan W. I. <ir...@be...> - 2017-01-04 20:37:29
|
On 2016-12-28 23:19+0100 Laurent Berger wrote: > wxwidgets commit 0bf38e1 x04 y axis label is good > (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) > > wxwidgets commit 49000def x04 y axis label is false > (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3) Hi Phil: Assuming (subject to Pedro's further extensive testing) that you have found a good fix for that bug he had discovered, then the only remaining potentially release critical issue for the wxwidgets-related components of PLplot is the issue discovered by Laurent above. So to learn more about what Laurent reported above, I described those two commits as follows: software@raven> git clone https://github.com/wxWidgets/wxWidgets.git wxwidgets.git software@raven> cd wxwidgets.git software@raven> git branch * master software@raven> git describe 0bf38e1 v3.1.0-620-g0bf38e1 software@raven> git describe 49000def v3.1.0-621-g49000de So it is clear from these results that Laurent already bisected this issue with the 621st commit beyond the last official release (3.1.0) of wxwidgets showing the issue for the first time. And since this is an issue that will not affect any user of an official wxwidgets release at this time, that gives us a good excuse to do nothing at this time if the potential fix is going to be intrusive. Of course, this issue will affect our users as soon as the next wxwidgets official release is out so it would be nice at this time for you to (a) confirm the above results for 0bf38e1 and 49000def from Laurent and figure out what the issue is. If it turns out to be a wxwidgets regression introduced for 49000def it would be good for you to draw this quickly to the attention of the wxwidgets developers so they can fix that regression before their next official release to avoid making life difficult for PLplot wxwidgets users. But if it turns out to be our problem, then please prepare the fix and use your best judgement (depending on, e.g., whether the fix is more or less intrusive than the fix you just made) whether to push it now or wait until after the release. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: <p.d...@gm...> - 2017-01-05 00:42:37
|
Hi Alan I agree it would be good to look at this pre release. It's on my to do list for asap. Sent from my Windows 10 phone From: Alan W. Irwin Sent: 04 January 2017 20:37 To: Phil Rosenberg; Pedro Vicente; Laurent Berger; PLplot development list Subject: Re: [Plplot-devel] legend and label using wxWidgets On 2016-12-28 23:19+0100 Laurent Berger wrote: > wxwidgets commit 0bf38e1 x04 y axis label is good > (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) > > wxwidgets commit 49000def x04 y axis label is false > (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3) Hi Phil: Assuming (subject to Pedro's further extensive testing) that you have found a good fix for that bug he had discovered, then the only remaining potentially release critical issue for the wxwidgets-related components of PLplot is the issue discovered by Laurent above. So to learn more about what Laurent reported above, I described those two commits as follows: software@raven> git clone https://github.com/wxWidgets/wxWidgets.git wxwidgets.git software@raven> cd wxwidgets.git software@raven> git branch * master software@raven> git describe 0bf38e1 v3.1.0-620-g0bf38e1 software@raven> git describe 49000def v3.1.0-621-g49000de So it is clear from these results that Laurent already bisected this issue with the 621st commit beyond the last official release (3.1.0) of wxwidgets showing the issue for the first time. And since this is an issue that will not affect any user of an official wxwidgets release at this time, that gives us a good excuse to do nothing at this time if the potential fix is going to be intrusive. Of course, this issue will affect our users as soon as the next wxwidgets official release is out so it would be nice at this time for you to (a) confirm the above results for 0bf38e1 and 49000def from Laurent and figure out what the issue is. If it turns out to be a wxwidgets regression introduced for 49000def it would be good for you to draw this quickly to the attention of the wxwidgets developers so they can fix that regression before their next official release to avoid making life difficult for PLplot wxwidgets users. But if it turns out to be our problem, then please prepare the fix and use your best judgement (depending on, e.g., whether the fix is more or less intrusive than the fix you just made) whether to push it now or wait until after the release. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Phil R. <p.d...@gm...> - 2017-01-05 14:58:15
|
Hi Laurent Although I haven't upgraded to wxWidgets 3.1. I think I have isolated and fixed the issue. It turned out to affect all wxDCs that support transformations so I was able to reproduce your bad results on a wxMemoryDc. If you grab the latest version from the Git repo then you should find everything is working correctly again. If not then please let me know. Phil On 5 January 2017 at 00:42, <p.d...@gm...> wrote: > Hi Alan > > I agree it would be good to look at this pre release. It's on my to do list > for asap. > > > > Sent from my Windows 10 phone > > > > From: Alan W. Irwin > Sent: 04 January 2017 20:37 > To: Phil Rosenberg; Pedro Vicente; Laurent Berger; PLplot development list > Subject: Re: [Plplot-devel] legend and label using wxWidgets > > > > On 2016-12-28 23:19+0100 Laurent Berger wrote: > > > >> wxwidgets commit 0bf38e1 x04 y axis label is good > >> >> (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) > >> > >> wxwidgets commit 49000def x04 y axis label is false > >> >> (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3) > > > > Hi Phil: > > > > Assuming (subject to Pedro's further extensive testing) that you have > > found a good fix for that bug he had discovered, then the only > > remaining potentially release critical issue for the wxwidgets-related > > components of PLplot is the issue discovered by Laurent above. > > > > So to learn more about what Laurent reported above, > > I described those two commits as follows: > > > > software@raven> git clone https://github.com/wxWidgets/wxWidgets.git > wxwidgets.git > > software@raven> cd wxwidgets.git > > software@raven> git branch > > * master > > software@raven> git describe 0bf38e1 > > v3.1.0-620-g0bf38e1 > > software@raven> git describe 49000def > > v3.1.0-621-g49000de > > > > So it is clear from these results that Laurent already bisected this > > issue with the 621st commit beyond the last official release (3.1.0) > > of wxwidgets showing the issue for the first time. And since this is > > an issue that will not affect any user of an official wxwidgets > > release at this time, that gives us a good excuse to do nothing at > > this time if the potential fix is going to be intrusive. > > > > Of course, this issue will affect our users as soon as the next > > wxwidgets official release is out so it would be nice at this time for > > you to (a) confirm the above results for 0bf38e1 and 49000def from > > Laurent and figure out what the issue is. If it turns out to be a > > wxwidgets regression introduced for 49000def it would be good for you > > to draw this quickly to the attention of the wxwidgets developers so > > they can fix that regression before their next official release to > > avoid making life difficult for PLplot wxwidgets users. But if it > > turns out to be our problem, then please prepare the fix and use your > > best judgement (depending on, e.g., whether the fix is more or less > > intrusive than the fix you just made) whether to push it now or wait > > until after the release. > > > > Alan > > __________________________ > > Alan W. Irwin > > > > Astronomical research affiliation with Department of Physics and Astronomy, > > University of Victoria (astrowww.phys.uvic.ca). > > > > Programming affiliations with the FreeEOS equation-of-state > > implementation for stellar interiors (freeeos.sf.net); the Time > > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > > software package (plplot.sf.net); the libLASi project > > (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); > > and the Linux Brochure Project (lbproject.sf.net). > > __________________________ > > > > Linux-powered Science > > __________________________ > > |
From: Laurent B. <lau...@un...> - 2017-01-08 13:20:52
|
Hi phil, I have updated all my repo wxwidgetts and plplot and now everything is OK using VS 2015 or MSYS2-mingw64. Thanks you very much. Only one thing wxplplotdemo legend are small (may be tiny) Le 05/01/2017 à 15:58, Phil Rosenberg a écrit : > Hi Laurent > Although I haven't upgraded to wxWidgets 3.1. I think I have isolated > and fixed the issue. It turned out to affect all wxDCs that support > transformations so I was able to reproduce your bad results on a > wxMemoryDc. If you grab the latest version from the Git repo then you > should find everything is working correctly again. If not then please > let me know. > > Phil > > On 5 January 2017 at 00:42, <p.d...@gm...> wrote: >> Hi Alan >> >> I agree it would be good to look at this pre release. It's on my to do list >> for asap. >> >> >> >> Sent from my Windows 10 phone >> >> >> >> From: Alan W. Irwin >> Sent: 04 January 2017 20:37 >> To: Phil Rosenberg; Pedro Vicente; Laurent Berger; PLplot development list >> Subject: Re: [Plplot-devel] legend and label using wxWidgets >> >> >> >> On 2016-12-28 23:19+0100 Laurent Berger wrote: >> >> >> >>> wxwidgets commit 0bf38e1 x04 y axis label is good >>> (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) >>> wxwidgets commit 49000def x04 y axis label is false >>> (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3) >> >> >> Hi Phil: >> >> >> >> Assuming (subject to Pedro's further extensive testing) that you have >> >> found a good fix for that bug he had discovered, then the only >> >> remaining potentially release critical issue for the wxwidgets-related >> >> components of PLplot is the issue discovered by Laurent above. >> >> >> >> So to learn more about what Laurent reported above, >> >> I described those two commits as follows: >> >> >> >> software@raven> git clone https://github.com/wxWidgets/wxWidgets.git >> wxwidgets.git >> >> software@raven> cd wxwidgets.git >> >> software@raven> git branch >> >> * master >> >> software@raven> git describe 0bf38e1 >> >> v3.1.0-620-g0bf38e1 >> >> software@raven> git describe 49000def >> >> v3.1.0-621-g49000de >> >> >> >> So it is clear from these results that Laurent already bisected this >> >> issue with the 621st commit beyond the last official release (3.1.0) >> >> of wxwidgets showing the issue for the first time. And since this is >> >> an issue that will not affect any user of an official wxwidgets >> >> release at this time, that gives us a good excuse to do nothing at >> >> this time if the potential fix is going to be intrusive. >> >> >> >> Of course, this issue will affect our users as soon as the next >> >> wxwidgets official release is out so it would be nice at this time for >> >> you to (a) confirm the above results for 0bf38e1 and 49000def from >> >> Laurent and figure out what the issue is. If it turns out to be a >> >> wxwidgets regression introduced for 49000def it would be good for you >> >> to draw this quickly to the attention of the wxwidgets developers so >> >> they can fix that regression before their next official release to >> >> avoid making life difficult for PLplot wxwidgets users. But if it >> >> turns out to be our problem, then please prepare the fix and use your >> >> best judgement (depending on, e.g., whether the fix is more or less >> >> intrusive than the fix you just made) whether to push it now or wait >> >> until after the release. >> >> >> >> Alan >> >> __________________________ >> >> Alan W. Irwin >> >> >> >> Astronomical research affiliation with Department of Physics and Astronomy, >> >> University of Victoria (astrowww.phys.uvic.ca). >> >> >> >> Programming affiliations with the FreeEOS equation-of-state >> >> implementation for stellar interiors (freeeos.sf.net); the Time >> >> Ephemerides project (timeephem.sf.net); PLplot scientific plotting >> >> software package (plplot.sf.net); the libLASi project >> >> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); >> >> and the Linux Brochure Project (lbproject.sf.net). >> >> __________________________ >> >> >> >> Linux-powered Science >> >> __________________________ >> >> |
From: Phil R. <p.d...@gm...> - 2017-01-08 17:10:27
Attachments:
kfbdpknkjlijmfnp.png
ghidiljjdncpkcfb.png
|
Hi Laurent I'm glad the text alignment issues are fixed. :-) In terms of the text size. We have had discussions on the list before about this. The wxWidgets backend takes the text size given to it by Plplot in mm and converts it to pt (assuming on pt is 1/72 of an inch) and requests that size text from wxWidgets. So the text size requested should be consistent with any other text requested from wxWidgets. I have just followed some of the wxWidgets code through and it seems that the height in points gets converted to logical units (pixels) using the screen dpi and then I think (although I'm not sure) that the Windows API function CreateFont get's called with this size. It seems that the text size requested is the size of the cell the text resides in, i.e. it includes leading. So for the wxWidgetsDemo, The text size requested is 2.342mm, which is 7pt (rounding to integer values) and is converted to 9 logical units (pixels) by wxWidgets. This uses the screen dpi so round(7 * 96 / 72) = 9. And I think this font size is requested using the CreateFont function as the cell size. In fact when I do a screenshot, zoom in and look at the text, the bracket in the title is 9 pixels from top to bottom. So it seems everything is how it should be. I don't know if other devices use similar metrics for the text, but I assume they must be pretty similar. I guess that the issue really is that the demo windows are rather small (at least on my system) because they use the default window size. I could adjust this and make it some other fixed size, but I'm a bit nervous to do so in case I make them larger than somebodies screen. I'm happy to take suggestions? Phil On 8 January 2017 at 13:20, Laurent Berger <lau...@un...> wrote: > Hi phil, > > > I have updated all my repo wxwidgetts and plplot and now everything is OK > using VS 2015 or MSYS2-mingw64. Thanks you very much. > > Only one thing wxplplotdemo legend are small (may be tiny) > > Le 05/01/2017 à 15:58, Phil Rosenberg a écrit : > > Hi Laurent > Although I haven't upgraded to wxWidgets 3.1. I think I have isolated > and fixed the issue. It turned out to affect all wxDCs that support > transformations so I was able to reproduce your bad results on a > wxMemoryDc. If you grab the latest version from the Git repo then you > should find everything is working correctly again. If not then please > let me know. > > Phil > > On 5 January 2017 at 00:42, <p.d...@gm...> <p.d...@gm...> wrote: > > Hi Alan > > I agree it would be good to look at this pre release. It's on my to do list > for asap. > > > > Sent from my Windows 10 phone > > > > From: Alan W. Irwin > Sent: 04 January 2017 20:37 > To: Phil Rosenberg; Pedro Vicente; Laurent Berger; PLplot development list > Subject: Re: [Plplot-devel] legend and label using wxWidgets > > > > On 2016-12-28 23:19+0100 Laurent Berger wrote: > > > > > wxwidgets commit 0bf38e1 x04 y axis label is good > > (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) > > wxwidgets commit 49000def x04 y axis label is false > > (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3) > > > > Hi Phil: > > > > Assuming (subject to Pedro's further extensive testing) that you have > > found a good fix for that bug he had discovered, then the only > > remaining potentially release critical issue for the wxwidgets-related > > components of PLplot is the issue discovered by Laurent above. > > > > So to learn more about what Laurent reported above, > > I described those two commits as follows: > > > > software@raven> git clone https://github.com/wxWidgets/wxWidgets.git > wxwidgets.git > > software@raven> cd wxwidgets.git > > software@raven> git branch > > * master > > software@raven> git describe 0bf38e1 > > v3.1.0-620-g0bf38e1 > > software@raven> git describe 49000def > > v3.1.0-621-g49000de > > > > So it is clear from these results that Laurent already bisected this > > issue with the 621st commit beyond the last official release (3.1.0) > > of wxwidgets showing the issue for the first time. And since this is > > an issue that will not affect any user of an official wxwidgets > > release at this time, that gives us a good excuse to do nothing at > > this time if the potential fix is going to be intrusive. > > > > Of course, this issue will affect our users as soon as the next > > wxwidgets official release is out so it would be nice at this time for > > you to (a) confirm the above results for 0bf38e1 and 49000def from > > Laurent and figure out what the issue is. If it turns out to be a > > wxwidgets regression introduced for 49000def it would be good for you > > to draw this quickly to the attention of the wxwidgets developers so > > they can fix that regression before their next official release to > > avoid making life difficult for PLplot wxwidgets users. But if it > > turns out to be our problem, then please prepare the fix and use your > > best judgement (depending on, e.g., whether the fix is more or less > > intrusive than the fix you just made) whether to push it now or wait > > until after the release. > > > > Alan > > __________________________ > > Alan W. Irwin > > > > Astronomical research affiliation with Department of Physics and Astronomy, > > University of Victoria (astrowww.phys.uvic.ca). > > > > Programming affiliations with the FreeEOS equation-of-state > > implementation for stellar interiors (freeeos.sf.net); the Time > > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > > software package (plplot.sf.net); the libLASi project > > (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); > > and the Linux Brochure Project (lbproject.sf.net). > > __________________________ > > > > Linux-powered Science > > __________________________ > > > > > |