Author Topic: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.  (Read 38942 times)

Offline bug1z

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #30 on: October 23, 2010, 11:47:12 am »
Excuse me, I'm new here. What is "r6746"?

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #31 on: October 23, 2010, 11:58:00 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

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #32 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?

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #33 on: October 23, 2010, 10:09:19 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.

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #34 on: October 23, 2010, 11:51:35 pm »
I'm not using a localized version. I tried disabling EditorTweaks, but it didn't help.

Offline blueshake

  • Regular
  • ***
  • Posts: 459
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #35 on: October 24, 2010, 02:30:23 am »
try recompile the whole source ,even the plugins.please
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?

Offline Zadirion

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #36 on: October 24, 2010, 11:27:11 am »
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:
Code: [Select]
Key: BEGIN_NAMESPACE(CryptoPP)
Value: namespace CryptoPP{
- close CodeBlocks
- reopen CodeBlocks, it should crash with the following exception:
Code: [Select]

---------------------------
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?
Code: [Select]

<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

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #37 on: October 24, 2010, 12:04:34 pm »
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.
Perhaps the branch have been commited ? :)
Yes, use trunk instead.
and
[...]
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.

Offline Zadirion

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #38 on: October 24, 2010, 12:21:05 pm »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12701
    • Travis build status
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #39 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 :)
(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 Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #40 on: October 24, 2010, 12:36:22 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.

Offline Zadirion

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #41 on: October 24, 2010, 01:33:34 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):
Code: [Select]
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
« Last Edit: October 24, 2010, 05:56:56 pm by Zadirion »

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #42 on: October 24, 2010, 02:01:44 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 :(

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5234
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #43 on: October 24, 2010, 02:10:16 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.

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: The 09 October 2010 build (6688) CODECOMPLETION BRANCH version is out.
« Reply #44 on: October 24, 2010, 07:09:30 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.