Author Topic: The 11 April 2016 build (10762) is out.  (Read 20255 times)

Offline Xaviou

  • Regular
  • ***
  • Posts: 254
    • X@v's wxStuff
Re: The 11 April 2016 build (10762) is out.
« Reply #30 on: April 20, 2016, 07:29:22 am »
Another bug in this nigthly after the Hex editor one. In

Settings->Compiler

make a right click and then "new flag" -> crash!!!

I reproduced that "new flag" crash on the first try.  Windows 7 Pro 64 bit.

Confirmed (also on a Windows 7 pro 64bit machine).

Regards
Xav'
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Quiss

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: The 11 April 2016 build (10762) is out.
« Reply #31 on: April 21, 2016, 07:19:07 am »
It could have something to do with the version of TDM-GCC (5.1.0) on windows, http://forums.codeblocks.org/index.php/topic,20909.0.html.

Offline MaxGaspa

  • Almost regular
  • **
  • Posts: 129
Re: The 11 April 2016 build (10762) is out.
« Reply #32 on: April 21, 2016, 08:50:00 pm »
Is there anybody confirming the Hex Editor bug?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10369
Re: The 11 April 2016 build (10762) is out.
« Reply #33 on: April 22, 2016, 06:20:59 am »
Yes, I can confirm the bug. It happens on linux, too.
Can you  test if it works correctly in 16.01?
« Last Edit: April 22, 2016, 06:23:11 am by oBFusCATed »
<debugger plugin maintainer>
(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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10369
Re: The 11 April 2016 build (10762) is out.
« Reply #34 on: April 22, 2016, 06:39:24 pm »
MaxGaspa: Does the bug disappears if you resize the codeblocks/editor?
<debugger plugin maintainer>
(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 MaxGaspa

  • Almost regular
  • **
  • Posts: 129
Re: The 11 April 2016 build (10762) is out.
« Reply #35 on: April 22, 2016, 10:48:07 pm »
MaxGaspa: Does the bug disappears if you resize the codeblocks/editor?

Yes. it disappears resizing the codeblocks window, and yes it was present in the 16.01 as well.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10369
Re: The 11 April 2016 build (10762) is out.
« Reply #36 on: April 23, 2016, 06:01:03 pm »
The HexEditor should be fixed in trunk. Please report back if this is not the case.
<debugger plugin maintainer>
(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 ekanshdeep.gupta

  • Single posting newcomer
  • *
  • Posts: 1
Re: The 11 April 2016 build (10762) is out.
« Reply #37 on: May 02, 2016, 01:49:36 am »
Hi, this is me trying to install a nightly the first time. I'm following this tutorial on he wiki: http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_nightly_build_on_Ubuntu

However, at the command "sudo dpkg -i <Name_Of_Daily_Build.deb>", what is supposed to be the name of the daily build? Extremely basic I know, but I'd be extremely grateful for anyone's help.

Offline danselmi

  • Developer
  • Almost regular
  • *****
  • Posts: 199
Re: The 11 April 2016 build (10762) is out.
« Reply #38 on: May 04, 2016, 10:08:58 pm »
The HexEditor should be fixed in trunk. Please report back if this is not the case.

Current trunk doesn't build:
Code: [Select]
C:\prj\CodeBlocks\src\plugins\contrib\HexEditor\HexEditPanel.cpp: In member function 'void HexEditPanel::OnContentPaint(wxPaintEvent&)':
C:\prj\CodeBlocks\src\plugins\contrib\HexEditor\HexEditPanel.cpp:596:26: error: no matching function for call to 'HexEditPanel::RecalculateCoefs(wxAutoBufferedPaintDC&)'
     RecalculateCoefs( dc );
MinGW gcc: 4.8.1
wxWidgets: 2.8.12

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10369
Re: The 11 April 2016 build (10762) is out.
« Reply #39 on: May 05, 2016, 01:02:00 am »
Strange. On linux it builds just fine (wx28 and wx30). But I've pushed a fix for this.
Can you tell me if it builds fine on windows now?
<debugger plugin maintainer>
(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: 5973
    • My Best Post
Re: The 11 April 2016 build (10762) is out.
« Reply #40 on: May 06, 2016, 06:17:56 pm »
noPCH Patch needed when I do a very cut-down build of Code::Blocks (I am trying to remove all the GUI code a little bit at a time.)

Tim S.

Code: [Select]
Index: src/sdk/cbproject.cpp
===================================================================
--- src/sdk/cbproject.cpp (revision 10850)
+++ src/sdk/cbproject.cpp (working copy)
@@ -9,9 +9,8 @@
 
 #include "sdk_precomp.h"
 
-#ifndef wxUSE_CHOICEDLG
-    #define wxUSE_CHOICEDLG 1
-#endif
+// needed in wxWidgets 2.8.12 to define wxUSE_CHOICEDLG when NOPCH
+#include <wx/defs.h>
 
 #include <wx/choicdlg.h>
 #include <wx/filedlg.h>
Index: src/sdk/manager.cpp
===================================================================
--- src/sdk/manager.cpp (revision 10850)
+++ src/sdk/manager.cpp (working copy)
@@ -12,6 +12,7 @@
 #ifndef CB_PRECOMP
     #include <wx/xrc/xmlres.h>
     #include <wx/fs_zip.h>
+    #include <wx/frame.h>
     #include <wx/menu.h>
 
     #include "manager.h" // class's header file
Index: src/src/environmentsettingsdlg.cpp
===================================================================
--- src/src/environmentsettingsdlg.cpp (revision 10850)
+++ src/src/environmentsettingsdlg.cpp (working copy)
@@ -15,6 +15,7 @@
     #include <wx/radiobut.h>
     #include <wx/xrc/xmlres.h>
     #include <wx/intl.h>
+    #include <wx/listbox.h>
     #include <wx/listctrl.h>
     #include <wx/combobox.h>
     #include <wx/choice.h>
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10369
Re: The 11 April 2016 build (10762) is out.
« Reply #41 on: May 06, 2016, 07:32:38 pm »
(I am trying to remove all the GUI code a little bit at a time.)
What do you mean by this?
C::B builds fine on linux in no-pch mode with autotools and wx2.8.12.
<debugger plugin maintainer>
(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: 5973
    • My Best Post
Re: The 11 April 2016 build (10762) is out.
« Reply #42 on: May 06, 2016, 10:05:06 pm »
(I am trying to remove all the GUI code a little bit at a time.)
What do you mean by this?
C::B builds fine on linux in no-pch mode with autotools and wx2.8.12.

I am trying to REMOVE all the GUI code; as in set wxUSE_GUI equal to zero.

Tim S.

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10369
Re: The 11 April 2016 build (10762) is out.
« Reply #43 on: May 06, 2016, 11:49:27 pm »
From where? This is pretty hard task generally.
<debugger plugin maintainer>
(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: 5973
    • My Best Post
Re: The 11 April 2016 build (10762) is out.
« Reply #44 on: May 07, 2016, 12:15:44 am »
From where? This is pretty hard task generally.

Here's where I did most of the work; I stopped about a month ago; because my Git Repo got messed up.
[I noticed the Git Repo issue when an CB Dev edited a SVN commit message; fixing that I discovered I had messed up a few months back.)
https://github.com/stahta01/codeblocks_console/commits/wxUSE_guard

I tried once prior to removing the GUI code all at once and failed; this time I decided to remove just a little bit at a time.
My noPCH fixes was discovered when I disable a header that included the header I added in the patch.
I just now got my Git Repo so once more "git svn info" works.

I do NOT think the CB Team would want my changes that added wxUSE; but, see no downside to doing the noPCH fixes.

I figure once I get CB to work without the GUI part a few people will want the patches that does that.
I am primarily doing this as a learning experience on using Git, C++, CB, and wxWidgets.

I have NOT built this repo for a while; but, it was working a few months back.
https://github.com/stahta01/codeblocks_console/tree/build/reducedGUI
 
Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org