News:

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

Main Menu

The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.

Started by killerbot, October 09, 2010, 05:47:55 PM

Previous topic - Next topic

bug1z


Jenna

Quote from: bug1z on October 23, 2010, 11:47:12 AM
Excuse me, I'm new here. What is "r6746"?
svn revision 6746.
svn is short for subversion, the version control system we use for C::B.
If you want to retriev svn-sources, see here: http://www.codeblocks.org/downloads/7

ptDev

I've just recently tried revision 6750 under Windows, compiled with GCC TDM 4.4.1, wxWidgets 2.8.11, and I'm afraid that a regression appeared.
Opening and closing (either by confirming or cancelling) the Editor settings dialog causes a crash. Can anyone reproduce this?

Jenna

Quote from: ptDev on October 23, 2010, 10:02:21 PM
I've just recently tried revision 6750 under Windows, compiled with GCC TDM 4.4.1, wxWidgets 2.8.11, and I'm afraid that a regression appeared.
Opening and closing (either by confirming or cancelling) the Editor settings dialog causes a crash. Can anyone reproduce this?
Do you have a localized version ?
If yes, you can try to either disable EditorTweaks-plugin or internationalization.

ptDev

I'm not using a localized version. I tried disabling EditorTweaks, but it didn't help.

blueshake

Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

Zadirion

Hello,

Using r6688 CC branch on Windows 7 x64.
Found the following issue, I hope I'm posting this in the correct thread:
Steps:
- Settings->Editor->Code Completion and Symbols browser page->C/C++ parser tab->Add button under Replacement tokens section
- add the following replacement token:

Key: BEGIN_NAMESPACE(CryptoPP)
Value: namespace CryptoPP{

- close CodeBlocks
- reopen CodeBlocks, it should crash with the following exception:


---------------------------
Exception
---------------------------
An exception has been raised!

The application encountered an error at E:\CodeBlocks\branches\codecompletion_refactoring\src\sdk\configmanager.cpp, on line 239.
The error message is:

TinyXML error: Error reading Attributes.
In file: C:\Users\Zadirion\AppData\Roaming\codeblocks\default.conf
At row 902, column: 33.

Code::Blocks Version revision 6688 (gcc 4.4.1, build: Oct  9 2010 11:48:56)
---------------------------
OK   
---------------------------

I believe these are the offending lines added in default.conf?


<BEGIN_NAMESPACE(CryptoPP)>
<![CDATA[namespace CryptoPP{]]>
</BEGIN_NAMESPACE(CryptoPP)>

Perhaps they should be properly escaped when added to the xml.


Also, when are the CodeCompletion and Debugger branches scheduled for merge into trunk? CodeCompletion is finaly able to properly parse the CryptoPP library, and the debugger can finaly show me where the exception was thrown, along with a useful call stack. I can't use one branch or the other because both are very useful for an efficient developing session.

Thanks

Jenna

Quote from: Zadirion on October 24, 2010, 11:27:11 AM
Also, when are the CodeCompletion and Debugger branches scheduled for merge into trunk? CodeCompletion is finaly able to properly parse the CryptoPP library, and the debugger can finaly show me where the exception was thrown, along with a useful call stack. I can't use one branch or the other because both are very useful for an efficient developing session.
Quote from: jens on October 22, 2010, 12:16:06 AM
Quote from: Folco on October 22, 2010, 12:12:16 AM
Perhaps the branch have been commited ? :)
Yes, use trunk instead.
and
Quote from: killerbot on October 23, 2010, 10:38:22 PM
[...]
The 23 October 2010 build is out.
[...]

  • MERGED ALL THE CODE COMPLETION CHANGES DEVELOPED ON THE CC BRANCH !!!

That means cc is in trunk, debugger branch is not yet merged.

Zadirion

Sweet. Any idea when the debugger branch would be merged?
In the meantime i'm stuck using the debugger branch since I find its debugging features to be of more importance then the code completion improvements on the CC branch.

Best regards,
Eddie

oBFusCATed

Zadirion: trunk+CC are now merged in the debugger's branch, so the improvements in CC are now in the branch :)
(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!]

Loaden

Quote from: ptDev on October 23, 2010, 11:51:35 PM
I'm not using a localized version. I tried disabling EditorTweaks, but it didn't help.
I think you should run "update.bat" after build finished.

Zadirion

Quote from: oBFusCATed on October 24, 2010, 12:34:49 PM
Zadirion: trunk+CC are now merged in the debugger's branch, so the improvements in CC are now in the branch :)

Do you mean either the changes are already in r6688 or they are in the svn and I need to check out the latest revision and build from source?

Also, a bit off topic but I'm getting the following error during a debug session when I'm trying to step inside a CryptoPP function (more like a constructor but i don't think that's relevant):

Cannot open file: D:/testproject/../../testproject/third-party/cryptopp//cryptlib.h

I am noting that the "../../" in the path will evaluate to a paths above D:/ which doesn't really make any sense. I'm not sure where the relative paths come from so I can't remove them. Any ideas?

Thanks

ptDev

Quote from: Loaden on October 24, 2010, 12:36:22 PM
Quote from: ptDev on October 23, 2010, 11:51:35 PM
I'm not using a localized version. I tried disabling EditorTweaks, but it didn't help.
I think you should run "update.bat" after build finished.

I did run "update.bat" after every single build (I run builds daily), and the same crashes were occurring.

Afterwards, I did manually clean both "output" and "devel" and rebuilt everything from start again with revision 6752. This solved the problem. It might have been caused by one external (not "contrib") plugin that was not properly rebuilt, but the issue is solved now.

I will publish an unofficial installer for 6752, plus cbDiff, ColorCoder, FileManager, PowerShell and XPMEditor as soon as possible. My Internet connection is suffering from extreme slowness at the moment :(

ollydbg

Quote from: ptDev on October 24, 2010, 02:01:44 PM
I will publish an unofficial installer for 6752, plus cbDiff, ColorCoder, FileManager, PowerShell and XPMEditor as soon as possible.
wonderful!!!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ptDev

Quote from: ollydbg on October 24, 2010, 02:10:16 PM
Quote from: ptDev on October 24, 2010, 02:01:44 PM
I will publish an unofficial installer for 6752, plus cbDiff, ColorCoder, FileManager, PowerShell and XPMEditor as soon as possible.
wonderful!!!

As promised, the post in the general forum where I provide the download link has been updated.