News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Will patches to compile and link C::B against wxWidgets 2.7.1 be accepted?

Started by stahta01, November 01, 2006, 02:47:07 AM

Previous topic - Next topic

stahta01

Quote from: rjmyst3 on November 08, 2006, 01:10:42 PM
Quote from: mispunt on November 08, 2006, 07:43:58 AM
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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

David Perfors

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.
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly

Quote from: stahta01 on November 08, 2006, 06:56:26 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Ceniza

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...

stahta01

Quote from: Ceniza 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...

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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

David Perfors

Quote from: MortenMacFly on November 08, 2006, 07:00:21 PM
Quote from: stahta01 on November 08, 2006, 06:56:26 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.
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

MortenMacFly

Quote from: mispunt on November 09, 2006, 08:05:02 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

David Perfors

I can create the package ;) But I can't compile :S There are some linker error with wxPropGrid... (I didn't try scintilla yet...)
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

stahta01

Quote from: mispunt 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...)

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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

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.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]