Author Topic: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?  (Read 55900 times)

Online stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #75 on: November 08, 2006, 06:18:00 pm »
Beside that, we have to wait for the thirdparty libs (wxScintilla amd wxPropGrid) to support the new version. That is nicer than patching those libs ourself.

wxPropGrid and wxScintilla already support wxWidgets2.7 - we use them in wxFormBuilder, which is built with wxWidgets2.7.

FYI: mispunt commented on my patch that a newer wxPropGrid did work with wxWidgets2.7, but it does look like wxScintilla also works with wxWidgets2.7, which it looks like mispunt and I did NOT know. ( I also did not know about wxPropGrid.)

Tim S
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

Online stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
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 David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #77 on: November 08, 2006, 06:48:01 pm »
I didn't actually tested it, but I saw a message on the forum of wxPropGrid...
about the wxScintilla, where is the newest version (for download, I don't have CVS)?

Because the first RC of wx2.8 will come next week (they say...), I want to test those libs, so when they work without problems they could be added in the SVN. That way it would be easier to switch to wx2.8.
« Last Edit: November 08, 2006, 06:52:01 pm by mispunt »
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Online stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #78 on: November 08, 2006, 06:56:26 pm »
I just downloaded wxscintilla_1.69.2.tar.gz from wxcode on sf.net.

That's the one shown on http://wxcode.sourceforge.net/components/wxscintilla/index.php

Tim S
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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #79 on: November 08, 2006, 07:00:21 pm »
I just downloaded wxscintilla_1.69.2.tar.gz from wxcode on sf.net.
Working with that one for a long time now under linux and windows... no problems.
Anyway: A change of such a critical component as  wxScintilla might have serious side-effects we don't know yet. That may be worse that the issues we are experiencing now. Please keep that in mind. Anyway - if more people just "testing" wxScintilla"++"  - this would be helpful.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #80 on: November 08, 2006, 07:28:36 pm »
I just updated wxPdfDocument to version 0.7.6, which is 2.7.x aware without breaking 2.6.x. The Source Exporter plugin compiled without problems, even though it generated a few warnings (type conversion and not-handled enums).

Please check if the new version compiles without problems with 2.7 so the patch 1626 can be closed.

Committing...
« Last Edit: November 08, 2006, 07:30:40 pm by Ceniza »

Online stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #81 on: November 08, 2006, 08:37:12 pm »
I just updated wxPdfDocument to version 0.7.6, which is 2.7.x aware without breaking 2.6.x. The Source Exporter plugin compiled without problems, even though it generated a few warnings (type conversion and not-handled enums).

Please check if the new version compiles without problems with 2.7 so the patch 1626 can be closed.

Committing...

I just compiled C:B SVN 3195 and contribs with wx2.7 patches except for patch on wxPdfDocument against wxWidgets 2.7.2 this morning release (msw/windows XP) and it compiled OK with #define WXWIN_COMPATIBILITY_2_4 1.
now doing it with 2.4 set to 0.

Edit: It compiled OK with 2.4 set to 0.

Tim S
« Last Edit: November 08, 2006, 08:59:21 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 David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #82 on: November 09, 2006, 08:05:02 am »
I just downloaded wxscintilla_1.69.2.tar.gz from wxcode on sf.net.
Working with that one for a long time now under linux and windows... no problems.
Anyway: A change of such a critical component as  wxScintilla might have serious side-effects we don't know yet. That may be worse that the issues we are experiencing now. Please keep that in mind. Anyway - if more people just "testing" wxScintilla"++"  - this would be helpful.
With regards, Morten.
I think it is a good idea to make a packages that is available for people to test it. The more people test, the sooner we know if there to much trouble or not.
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #83 on: November 09, 2006, 08:43:33 am »
I think it is a good idea to make a packages that is available for people to test it. The more people test, the sooner we know if there to much trouble or not.
Mmmmmh... I cannot provide a package but maybe a patch against SVN trunk that has the new wxScintilla sources implemented. These are not only the new wxScintilla sources but also all patches we have applied to wxScintilla for compatibility... So I should provide 2 patches maybe: One for the new wxScintilla itself and one for C::B. I'll think about this...
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #84 on: November 09, 2006, 08:56:37 am »
I can create the package ;) But I can't compile :S There are some linker error with wxPropGrid... (I didn't try scintilla yet...)
« Last Edit: November 09, 2006, 05:53:14 pm by mispunt »
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Online stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #85 on: November 09, 2006, 07:35:19 pm »
I can create the package ;) But I can't compile :S There are some linker error with wxPropGrid... (I didn't try scintilla yet...)

I have gotten wxPropGrid to compile against wx2.7.2; I will upload my patches to the wxPropGrid Site.
Will post link to them here.

Link to get it compile: https://sourceforge.net/tracker/?func=detail&atid=727083&aid=1593682&group_id=133406
Note: You must define WXMAKINGLIB_PROPGRID in the project

Link to fix wx2.7.2 issue:
https://sourceforge.net/tracker/?func=detail&atid=727083&aid=1593244&group_id=133406

Note: What is a good way to test wxPropGrid? I am not sure what it does in C::B.

Tim S
« Last Edit: November 09, 2006, 08:01:20 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

Online stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #86 on: November 16, 2006, 11:19:36 pm »
They are looking at the icon/bitmap issue.

Tim S

http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/80932

Added link to bug [ 1598839 ] Loading images from binary XML resource files is not possibl
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1598839&group_id=9863

Someone appears to have found the problem, but they are still working on how to fix it.

« Last Edit: November 18, 2006, 06:08:13 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

Online stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?
« Reply #87 on: November 19, 2006, 10:15:53 am »
Please use this thread for Patches to compile and link C::B against wxWidgets 2.8.0
http://forums.codeblocks.org/index.php?topic=4495.0

Tim S
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