Author Topic: wxWidgets 3.0.0 released!  (Read 32625 times)

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: wxWidgets 3.0.0 released!
« Reply #15 on: January 06, 2014, 05:09:08 pm »
Renaming a page on the wiki is done by 'moving' it to the desired new title (I believe).

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: wxWidgets 3.0.0 released!
« Reply #16 on: January 06, 2014, 05:13:26 pm »
Renaming a page on the wiki is done by 'moving' it to the desired new title (I believe).
Yes, I did that already, you can see the updated wiki page now.
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 stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: wxWidgets 3.0.0 released!
« Reply #17 on: January 06, 2014, 10:24:04 pm »
By request I am testing the directions on this link http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_3.0.0_to_develop_Code::Blocks_%28MSW%29

I normally build wxWidgets 3.0 branch; I am now confirming CB wx30 Project works with the unmodified wxWidgets 3.0.0.

NOTE: I only have these plugins normally enabled:
Compiler
Environment variables            Will be enabled during this testing normally I have it disabled.
Foreign projects importer       Will be enabled during this testing normally I have it disabled.
Project options manipulator   Will be enabled during this testing normally I have it disabled.
Scripted wizard
Source code formatter (AStyle)
ToolsPlus

NOTE: I do NOT have an easy to test 64 bit build machine; so, I am just doing the 32 bit build.

Edit: Testing with gcc version 4.8.1 (tdm-1) SJLJ

Tim S.
« Last Edit: January 06, 2014, 10:51:59 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: wxWidgets 3.0.0 released!
« Reply #18 on: January 06, 2014, 11:01:04 pm »
the wiki says :
Code
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 USE_OPENGL=1 VENDOR=cb CXXFLAGS="-fno-keep-inline-dllexport"


I have tried last weekend like this :
Code
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb

So I did not use : USE_XRC=1 , USE_OPENGL=1, CXXFLAGS="-fno-keep-inline-dllexport"


I am able to build all, but I suffer crashes. (32 bit and 64 bit). CB crashes at startup

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: wxWidgets 3.0.0 released!
« Reply #19 on: January 07, 2014, 12:19:57 am »
the wiki says :
Code
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 USE_OPENGL=1 VENDOR=cb CXXFLAGS="-fno-keep-inline-dllexport"


I have tried last weekend like this :
Code
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb

So I did not use : USE_XRC=1 , USE_OPENGL=1, CXXFLAGS="-fno-keep-inline-dllexport"


I am able to build all, but I suffer crashes. (32 bit and 64 bit). CB crashes at startup


The USE_OPENGL=1 should NOT make a difference.
And, USE_XRC defaults to one; so, it should NOT make a difference.
This CXXFLAGS="-fno-keep-inline-dllexport" prevents linking errors and I think it should not make a runtime difference.
But, it might cause/fix a DLL load issue at runtime.

I am still building CB at this time; very slow PC.

CB Loaded without issues for me.

The wiki PATH setting step was NOT used instead I did this (not sure if valid on 64 bit systems.)
Code
SET PATH=C:\GreenApps\MinGW_GCC4_8x_SJLJ_TDM\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

General Steps used to build CB after I built wxWidgets 3.0.0. Remember to set WX30 Global Variable.
Code
Started with these folders deleted
src/.objs30
src/devel30
src/output30

Build CB wx30 Project and Contrib wx30 Workspace.

Copy wxmsw30u_gcc_cb.dll to src/devel30

Run update30.bat


With all the Plugins enable CB Crashes on Startup.

Tim S.


« Last Edit: January 07, 2014, 01:41:07 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: wxWidgets 3.0.0 released!
« Reply #20 on: January 07, 2014, 01:52:41 am »
List of Plugins that tend to Crash CB svn 9537 built with wxWidgets 3.0.0 on CB Startup.
SpellChecker

NOTE: It is the only one to Crash CB on startup for me.

Note: "Open files list" Plugin gives error message when enabled but, it did NOT cause crash.

Tim S.

« Last Edit: January 07, 2014, 01:57:19 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: wxWidgets 3.0.0 released!
« Reply #21 on: January 07, 2014, 10:13:19 am »
Same for me as reported in : http://forums.codeblocks.org/index.php/topic,18741.msg128395.html#msg128395

After starting C::B (64 bits + wx 3.0) without spellchecker, I have also seen that FortranProject plugin may crash C::B. For example, if I use it to change the case of the string write (to obtain WRITE), with the Fortran/Change case menu, C::B crashes.

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: wxWidgets 3.0.0 released!
« Reply #22 on: January 11, 2014, 08:23:40 pm »
my 32 bit CB wx30 build  (with tdm gcc 481) crashes at startup. Disabling the "SpellChecker" plugin fixes that.

So when we want to switch to wx330, we need to fix he SpellChecker plugin ...
« Last Edit: January 11, 2014, 08:27:55 pm by killerbot »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: wxWidgets 3.0.0 released!
« Reply #23 on: January 11, 2014, 08:54:42 pm »
And the WatchesDlg...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: wxWidgets 3.0.0 released!
« Reply #24 on: January 11, 2014, 10:45:15 pm »
what's wrong with that dialog ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: wxWidgets 3.0.0 released!
« Reply #25 on: January 12, 2014, 12:57:44 am »
Crashes. The keyboard shortcuts doesn't work, probably more problems will show up when these are fixed, but I can find the motivation to dig in to the changes that have happened in wxpropgrid integrated in wx3. wxSmith is probably affected, too.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: wxWidgets 3.0.0 released!
« Reply #26 on: January 12, 2014, 01:51:11 am »
Crashes. The keyboard shortcuts doesn't work, probably more problems will show up when these are fixed, but I can find the motivation to dig in to the changes that have happened in wxpropgrid integrated in wx3. wxSmith is probably affected, too.

Patch that should be applied; I do NOT think it will fix the problem; but, who knows it might.

Since we are using wx3.0 propgrid; we should NOT have the one in SDK in the search list.

Tim S.

Code
Index: src/CodeBlocks_wx30.cbp
===================================================================
--- src/CodeBlocks_wx30.cbp (revision 9532)
+++ src/CodeBlocks_wx30.cbp (working copy)
@@ -166,7 +166,6 @@
  <Add library="gdi32" />
  <Add directory="devel30" />
  <Add directory="sdk/scripting/lib" />
- <Add directory="sdk/propgrid" />
  </Linker>
  <ExtraCommands>
  <Add before="build_tools/autorevision/autorevision30 +wx +int +t . include/autorevision.h" />
Index: src/CodeBlocks_wx30_64.cbp
===================================================================
--- src/CodeBlocks_wx30_64.cbp (revision 9532)
+++ src/CodeBlocks_wx30_64.cbp (working copy)
@@ -166,7 +166,6 @@
  <Add library="gdi32" />
  <Add directory="devel30_64" />
  <Add directory="sdk/scripting/lib" />
- <Add directory="sdk/propgrid" />
  </Linker>
  <ExtraCommands>
  <Add before="build_tools/autorevision/autorevision30_64 +wx +int +t . include/autorevision.h" />
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: wxWidgets 3.0.0 released!
« Reply #27 on: January 12, 2014, 06:54:42 pm »
Another serious problem with wx30 is that wxExecute is even more broken... I can't debug cb from inside cb :(

Code
#0 0x7ffff1f3b613	select() (/lib64/libc.so.6:??)
#1 0x7ffff37853c0 wxSelectSets::Select(this=0x7fffffff8750, nfds=18, tv=0x0) (./src/common/selectdispatcher.cpp:109)
#2 0x7ffff3786021 wxSelectDispatcher::DoSelect(this=0x7fffffff8a10, sets=..., timeout=-1) (./src/common/selectdispatcher.cpp:230)
#3 0x7ffff378610c wxSelectDispatcher::Dispatch(this=0x7fffffff8a10, timeout=-1) (./src/common/selectdispatcher.cpp:249)
#4 0x7ffff379d0ad (anonymous namespace)::BlockUntilChildExit(execData=...) (./src/unix/utilsunx.cpp:554)
#5 0x7ffff379e297 wxExecute(argv=0x15312b0, flags=17, process=0x121cd50, env=0x0) (./src/unix/utilsunx.cpp:853)
#6 0x7ffff379ce30 wxExecute(command=..., flags=17, process=0x121cd50, env=0x0) (./src/unix/utilsunx.cpp:475)
#7 0x7ffff37b8488 wxDoExecuteWithCapture(command=..., output=..., error=0x0, flags=17, env=0x0) (./src/common/utilscmn.cpp:679)
#8 0x7ffff37b8562 wxExecute(command=..., output=..., flags=17, env=0x0) (./src/common/utilscmn.cpp:706)
#9 0x7ffff2f99e8f Compiler::EvalXMLCondition(this=0x157b470, node=0x1581620) (/home/obfuscated/projects/codeblocks/git/src/sdk/compiler.cpp:1209)
#10 0x7ffff2f951e7 Compiler::LoadDefaultOptions(this=0x157b470, name=..., recursion=1) (/home/obfuscated/projects/codeblocks/git/src/sdk/compiler.cpp:828)
#11 0x7ffff2f970f6 Compiler::LoadDefaultOptions(this=0x157b470, name=..., recursion=0) (/home/obfuscated/projects/codeblocks/git/src/sdk/compiler.cpp:1036)
#12 0x7ffff2f8c65c Compiler::Reset(this=0x157b470) (/home/obfuscated/projects/codeblocks/git/src/sdk/compiler.cpp:161)
#13 0x7fffe01d5fb6 CompilerMINGW::CompilerMINGW(this=0x157b470, name=..., ID=...) (/home/obfuscated/projects/codeblocks/git/src/plugins/compilergcc/compilerMINGW.cpp:35)
#14 0x7fffe01b1665 CompilerGCC::DoRegisterCompilers(this=0x1232560) (/home/obfuscated/projects/codeblocks/git/src/plugins/compilergcc/compilergcc.cpp:851)
#15 0x7fffe01ad260 CompilerGCC::OnAttach(this=0x1232560) (/home/obfuscated/projects/codeblocks/git/src/plugins/compilergcc/compilergcc.cpp:360)
#16 0x7ffff2f5ab1a cbPlugin::Attach(this=0x1232560) (/home/obfuscated/projects/codeblocks/git/src/sdk/cbplugin.cpp:71)
#17 0x7ffff3048097 PluginManager::AttachPlugin(this=0x11cfab0, plugin=0x1232560, ignoreSafeMode=false) (/home/obfuscated/projects/codeblocks/git/src/sdk/pluginmanager.cpp:195)
#18 0x7ffff304f045 PluginManager::LoadAllPlugins(this=0x11cfab0) (/home/obfuscated/projects/codeblocks/git/src/sdk/pluginmanager.cpp:1117)
#19 0x4d3cca MainFrame::ScanForPlugins(this=0xa57f60) (/home/obfuscated/projects/codeblocks/git/src/src/main.cpp:1157)
#20 0x4ce6ad MainFrame::MainFrame(this=0xa57f60, parent=0x0) (/home/obfuscated/projects/codeblocks/git/src/src/main.cpp:608)
#21 0x46109a CodeBlocksApp::InitFrame(this=0x8d08a0) (/home/obfuscated/projects/codeblocks/git/src/src/app.cpp:437)
#22 0x4628d3 CodeBlocksApp::OnInit(this=0x8d08a0) (/home/obfuscated/projects/codeblocks/git/src/src/app.cpp:661)
#23 0x46868f wxAppConsoleBase::CallOnInit(this=0x8d08a0) (/home/obfuscated/software/wx/include/wx-3.1/wx/app.h:93)
#24 0x7ffff370c0bd wxEntry(argc=@0x7ffff3a7c130: 8, argv=0x8d04f0) (./src/common/init.cpp:479)
#25 0x7ffff370c1b4 wxEntry(argc=@0x7fffffffde8c: 8, argv=0x7fffffffdf78) (./src/common/init.cpp:507)
#26 0x460aa7 main(argc=8, argv=0x7fffffffdf78) (/home/obfuscated/projects/codeblocks/git/src/src/app.cpp:276)
Every time it stops here, while trying to execute GCC! :(
« Last Edit: January 12, 2014, 06:56:18 pm by oBFusCATed »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Uskok

  • Multiple posting newcomer
  • *
  • Posts: 15
  • Negdje u Krajini
Re: wxWidgets 3.0.0 released!
« Reply #28 on: January 12, 2014, 07:34:15 pm »
Another serious problem with wx30 is that wxExecute is even more broken... I can't debug cb from inside cb :(

Every time it stops here, while trying to execute GCC! :(

Try to disable CC, it corrupted something very badly.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: wxWidgets 3.0.0 released!
« Reply #29 on: January 12, 2014, 07:56:04 pm »
Try to disable CC, it corrupted something very badly.
This problem happens during startup, I doubt it is related to CC...

Edit: It is not, I've tried with disabled CC.
« Last Edit: January 12, 2014, 08:07:25 pm by oBFusCATed »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]