User forums > Nightly builds
The 16 January 2010 build (6088) is out.
blueshake:
--- Quote ---BTW: Did you notice the similarity between the ReadClsNames() and ReadVarNames() method?
--- End quote ---
yes.
actually the issue is caused by the ReadClsNames(most) in the typedef handle. :D
the codes below:
--- Code: ---- else if ( wxIsalpha(current.GetChar(0))
- && ( (m_Tokenizer.PeekToken() == ParserConsts::semicolon)
- || (m_Tokenizer.PeekToken() == ParserConsts::comma)) )
--- End code ---
if you debug,you will find that if condition cannt be got in and cause the infinite loop.
of course the codes have effor on it too.
--- Code: --- if (!ancestor.IsEmpty())
ancestor << _T(' ');
- ancestor << token;
- ReadClsNames(ancestor);
--- End code ---
Loaden:
Two questions.
1. Global namepace there are problems with the plug-sshot-1.png. This problem has been resolved here:http://forums.codeblocks.org/index.php/topic,11804.msg80702.html#msg80702
--- Code: ---#include <iostream>
#include <windows.h>
#include <winbase.h>
#include <string>
#include <map>
#include <vector>
int main()
{
::
return 0;
}
--- End code ---
[attachment deleted by admin]
Loaden:
2. VC project, CPU still 50% overload.
I found here, is not change:
--- Code: ---- else if ( wxIsalpha(current.GetChar(0))
- && ( (m_Tokenizer.PeekToken() == ParserConsts::semicolon)
- || (m_Tokenizer.PeekToken() == ParserConsts::comma)) )
+ else if ((wxIsalpha(current.GetChar(0)) || current.GetChar(0) == '_') )
{
TRACE(_T("ReadClsNames() : Adding variable '%s' as '%s' to '%s'"),
current.wx_str(),
@@ -2014,6 +2013,7 @@
m_Tokenizer.UngetToken();
break;
}
+
--- End code ---
The code here looks not applied. If you modify the code here, it can solve the CPU overload.
and here:
else if (token == _T("*"))
{
m_IsPointer = false;
continue;
}
else if (peek == ParserConsts::comma)
{
m_Tokenizer.UngetToken();
if (components.size() != 0)
{
wxString ancestor;
while (components.size() > 0)
{
wxString token = components.front();
components.pop();
if (!ancestor.IsEmpty())
ancestor << _T(' ');
ancestor << token;
}
ReadClsNames(ancestor);
}
token variables at different scope, readability is not good.
[attachment deleted by admin]
Xaviou:
Ubuntu 8.04 to 9.10 Amd64 tar.gz archive (containing '.deb' installers builds with wx2810 from wxWidgets's repository) can be found here.
".mo" file for french translation can be founded here (see below for installation instructions)
Full Win32 French Version (including wxWidgets and MinGW dlls and french ".mo" files) can be founded here
Installing french files:
* extract the ".mo" file from the zip archive
* under Linux : put this file in /usr/share/codeblocks/locale/fr_FR/ (you'll have to create these folders the first time) : don't forget to remove old file(s) before.
* under Windows : put this file in $CodeBlocks_Install_Dir\share\CodeBlocks\locale\fr_FR\ (you'll have to create these folders the first time) : don't forget to remove old file(s) before
Regards
Xav'
pasgui:
Build for Ubuntu i386/amd64 can be found here (howto)
wxWidgets for amd64:
- From Hardy Heron 8.04 to Jaunty Jacklope 9.04: wxWidgets from http://www.wxwidgets.org (howto)
- For Karmic Koala 9.10: wxWidgets from http://www.wxwidgets.org with jaunty-wx for the distribution (howto)
wxWidgets for i386:
- From Hardy Heron 8.04 to Jaunty Jacklope 9.04: wxWidgets from http://www.wxwidgets.org (howto)
- For Karmic Koala 9.10: wxWidgets from Ubuntu (universe)
Also included in the codeblocks-fr package (in the same repository), the french translation.
Best regards, pasgui
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version