User forums > Nightly builds

The 20 February 2011 build (7017) is out.

<< < (4/11) > >>

MortenMacFly:

--- Quote from: oBFusCATed on February 25, 2011, 08:59:22 am ---This patch fixes the problem for me, but I've not done extensive testing, so there are chances for other bugs...

--- End quote ---
Thanks! But probably it's better to use tkAnyContainer || tkAnyFunction?

oBFusCATed:
Thanks I'll try these two :)

Probably it will look something like this:

--- Code: ---Index: src/plugins/codecompletion/nativeparser.cpp
===================================================================
--- src/plugins/codecompletion/nativeparser.cpp (revision 7025)
+++ src/plugins/codecompletion/nativeparser.cpp (working copy)
@@ -1727,7 +1727,7 @@
 
 bool PrettyPrintToken(wxString &result, Token const &token, TokensTree const &tokens, bool root = true)
 {
-    if (token.m_ParentIndex != -1)
+    if (token.m_ParentIndex != -1 && (token.m_TokenKind & (tkAnyContainer | tkAnyFunction)) != 0)
     {
         if (!PrettyPrintToken(result, *tokens.at(token.m_ParentIndex), tokens, false))
             return false;

--- End code ---
I'm not totally sure that the condition is correct.
Loaden, Ollydbg can you look at it?

oBFusCATed:

--- Quote from: jens on February 23, 2011, 03:12:46 pm ---I never saw this, are there any steps to reproduce this ?

--- End quote ---
The steps for non gtk-style patched C::B is to switch to the VC 7.1 style, then restart C::B.
The other styles seem to work, I should check them :)

Jenna:

--- Quote from: oBFusCATed on February 25, 2011, 10:24:24 pm ---
--- Quote from: jens on February 23, 2011, 03:12:46 pm ---I never saw this, are there any steps to reproduce this ?

--- End quote ---
The steps for non gtk-style patched C::B is to switch to the VC 7.1 style, then restart C::B.
The other styles seem to work, I should check them :)

--- End quote ---
I still don't get this error.
Does it happen with self-compiled C::B or only in official nightlies provided by killerbot.
Does it also happen on platforms other than windows ?
I tested it on windows 7 professional 64-bit with self-compiled C::B from (really) clean sources.

EDIT:
Does it only happen if a plugin is used (probably cppcheck like mentined above) or does it happen always ?

oBFusCATed:
The screenshot above was the first time I see it happen on windows. I'm mostly using gentoo linux 64bit + debuggers branch.

Just tried almost clean trunk (rHEAD) and the same problem happens.


--- Code: ---Index: update
===================================================================
--- update      (revision 7028)
+++ update      (working copy)
@@ -97,12 +97,12 @@
 rm excludes.txt
 
 echo Stripping debug info from output tree
-strip output/codeblocks${EXEEXT}
+###strip output/codeblocks${EXEEXT}
 # strip output/cb_share_config${EXEEXT}
 strip output/cb_console_runner${EXEEXT}
 # strip output/codesnippets${EXEEXT}
-strip output/*.${LIBEXT}
-strip output/share/codeblocks/plugins/*.${LIBEXT}
+###strip output/*.${LIBEXT}
+###strip output/share/codeblocks/plugins/*.${LIBEXT}
 
 if [ "x$MSYSTEM" = "x" ] ; then
   echo Creating launch-scripts
Index: src/main.cpp
===================================================================
--- src/main.cpp        (revision 7028)
+++ src/main.cpp        (working copy)
@@ -1055,9 +1055,11 @@
     PluginManager* m_PluginManager = Manager::Get()->GetPluginManager();
 
     // user paths first
-    wxString path = ConfigManager::GetPluginsFolder(false);
-    Manager::Get()->GetLogManager()->Log(_("Scanning for plugins in ") + path);
-    int count = m_PluginManager->ScanForPlugins(path);
+    int count = 0;
+    wxString path;
+//    path = ConfigManager::GetPluginsFolder(false);
+//    Manager::Get()->GetLogManager()->Log(_("Scanning for plugins in ") + path);
+//    count += m_PluginManager->ScanForPlugins(path);
 
     // global paths
     path = ConfigManager::GetPluginsFolder(true);
Index: CodeBlocks-unix.cbp
===================================================================
--- CodeBlocks-unix.cbp (revision 7028)
+++ CodeBlocks-unix.cbp (working copy)
@@ -159,7 +159,7 @@
                                <Option working_dir="devel" />
                                <Option type="0" />
                                <Option compiler="gcc" />
-                               <Option parameters="--debug-log --multiple-instance -ns -ni" />
+                               <Option parameters="--debug-log --multiple-instance -ns -ni -p debug" />
                                <Option projectLinkerOptionsRelation="2" />
                                <Compiler>
                                        <Add option="-DENABLE_BINRELOC" />

--- End code ---

Edit:

This seems to fix it:

--- Code: ---Index: src/notebookstyles.cpp
===================================================================
--- src/notebookstyles.cpp      (revision 7028)
+++ src/notebookstyles.cpp      (working copy)
@@ -197,7 +197,7 @@
     int x_ext = 0;
     wxSize s = GetTabSize(dc, wnd, wxT("ABCDEFGHIj"), wxNullBitmap, true,
                             wxAUI_BUTTON_STATE_HIDDEN, &x_ext);
-    return s.y + 4;
+    return s.y + 6;
 }
 
 NbStyleFF2::NbStyleFF2() : wxAuiDefaultTabArt()

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version