News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 11 April 2016 build (10762) is out.

Started by killerbot, April 11, 2016, 03:48:28 PM

Previous topic - Next topic

Xaviou

Quote from: MaxGaspa on April 19, 2016, 09:25:08 PM
Another bug in this nigthly after the Hex editor one. In

Settings->Compiler

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

Quote from: raynebc on April 19, 2016, 10:45:10 PM
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'
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

Quiss


Max

Is there anybody confirming the Hex Editor bug?

oBFusCATed

#33
Yes, I can confirm the bug. It happens on linux, too.
Can you  test if it works correctly in 16.01?
(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!]

oBFusCATed

MaxGaspa: Does the bug disappears if you resize the codeblocks/editor?
(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!]

Max

Quote from: oBFusCATed on April 22, 2016, 06:39:24 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.

oBFusCATed

The HexEditor should be fixed in trunk. Please report back if this is not the case.
(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!]

ekanshdeep.gupta

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.

danselmi

Quote from: oBFusCATed on April 23, 2016, 06:01:03 PM
The HexEditor should be fixed in trunk. Please report back if this is not the case.

Current trunk doesn't build:
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
spell checker plugin: [url="http://developer.berlios.de/projects/spellchecker/"]http://developer.berlios.de/projects/spellchecker/[/url]
nassi shneiderman plugin: [url="http://developer.berlios.de/projects/nassiplugin"]http://developer.berlios.de/projects/nassiplugin[/url]

oBFusCATed

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?
(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!]

stahta01

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.


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

oBFusCATed

Quote from: stahta01 on May 06, 2016, 06:17:56 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.
(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!]

stahta01

Quote from: oBFusCATed on May 06, 2016, 07:32:38 PM
Quote from: stahta01 on May 06, 2016, 06:17:56 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++.
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]

oBFusCATed

From where? This is pretty hard task generally.
(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!]

stahta01

Quote from: oBFusCATed on May 06, 2016, 11:49:27 PM
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++.
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]