Author Topic: The reason of not install wxMathplot wxsmith control by default?  (Read 17323 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5249
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Hi, I just noticed that we have wxMathplot wxsmith plugin, but it was not build by default. I open the CodeBlocks Workspace wx2.8.x, but I don't see it listed in the workspace.

But I do see it was in our trunk.
cb_trunk_sf\src\plugins\contrib\wxSmithPlot

So, what is the reason of not build this by default? Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5249
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #1 on: May 11, 2013, 04:57:22 pm »
It looks like wxStc is also not included in the workspace, see Morten's reply in Re: Can't find wxStc in wxSmith (nightly builds), why?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9524
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #2 on: May 12, 2013, 09:59:23 am »
wxSmithPlot: I simply forgot t update the contrib workspace.
wxSTC: This may lead to serious compatibility issues when working with wx29 where this component is integrated and no longer stand-alone. Therefore I did not move it into the build. Its provided for experts "as-is". It does work though.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #3 on: May 12, 2013, 10:31:24 am »
I found the following projects in trunk, which are not being built by default:

 wxSmithPlot, wxSmithSTC; ollydbg warned me about these, and it seems only wxSmithPlot is expected to be included by default.

 wxSmithDateTimePicker
 wxSmithIExplore

 wxSmithDemo - I have no idea what this project is meant for, does it have anything that could be moved to the wxWidgets project template based on wxSmith?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9524
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #4 on: May 12, 2013, 02:16:44 pm »
wxSmithDemo - I have no idea what this project is meant for, does it have anything that could be moved to the wxWidgets project template based on wxSmith?
This is a counterpart to the official wxWidgets demo which includes all major wx components. Its more meant as a s/w test for wxSmith. this should not be included by default.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9524
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #5 on: May 12, 2013, 02:18:31 pm »
wxSmithDateTimePicker
There was an issue with this - but I don't recall which. Maybe it works now, then we should include it.

wxSmithIExplore
This is Windows only and only meant for power-users that know what they are doing. Furthermore the underlying wx component is heavily outdated and no longer supported by the maintainer. It should not be included by default.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5249
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #6 on: May 13, 2013, 02:28:06 am »
wxSmithPlot: I simply forgot t update the contrib workspace.
So, we should add one line in CodeBlocks.workspace
like:
Code: [Select]
<Project filename="plugins/contrib/wxSmithPlot/wxsSmithPlot.cbp" />
Is this OK?
Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9524
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #7 on: May 13, 2013, 08:46:28 pm »
Is this OK?
If it works under Linux, too (at best) - yes, sure.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5249
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #8 on: May 14, 2013, 05:19:41 am »
Is this OK?
If it works under Linux, too (at best) - yes, sure.
Ok, but I can't test it under Linux, but I see previous commits by Biplab put this project to autotools systems.

So, I added this cbp file to Codeblocks.workspace in rev9093.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #9 on: May 14, 2013, 08:27:35 am »
It seems Fortran Plugin is not built, too.
Regards,
xunxun

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5249
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #10 on: May 14, 2013, 08:37:36 am »
It seems Fortran Plugin is not built, too.
I noticed that when I run SVN update on CB source, I see some error messages from updating the Fortran pluign source.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 519
Re: The reason of not install wxMathplot wxsmith control by default?
« Reply #11 on: May 14, 2013, 11:00:49 am »
for info : no problems with fortran plugin for me, with Windows 7, compilers TDM 4.7.1 (32 bits) and wx 2.8.12.
SVN OK, compile OK (full rebuild), Works OK.

gd_on
« Last Edit: May 14, 2013, 11:02:52 am by gd_on »
Windows 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).