Thanks for the advanced tabbing!Code completion...
But why is it that everytime I save a file the application totaly freezes for about 5 seconds?
EDIT: rev 3074 Windows Unicode
autorevision.h does not exist in the sdk directory.That file is generated during the build process.
(found in the tools directory) from the shell?You mean, build_tools directory :)
"X" close button on every tab in the EditorManager (old "X" button removed)
./auto_revision +int +wx +t ../../.. ./../../../sdk/autorevision.hLooks like the makefile is still having jet-lag from its trip :)
Error: Could not open output file.
This works fine and commited in rev3076 :D./auto_revision +int +wx +t ../../.. ./../../../sdk/autorevision.hLooks like the makefile is still having jet-lag from its trip :)
Error: Could not open output file.
I believe it contains an excess ../.
Could you please edit Makefile.am and replace the line:
./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../../sdk/autorevision.h
with
./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../sdk/autorevision.h
Unluckily, I am presently unable to test myself due to acute lack of Linux machines, but I think it should do. Please report back if that works, so we can commit it. Thanks. :)
make[3]: Entering directory `/mnt/daten/daniel/packages/BUILD/codeblocks/src/build_tools/autorevision'
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
make[3]: Leaving directory `/mnt/daten/daniel/packages/BUILD/codeblocks/src/build_tools/autorevision'
Could you please edit Makefile.am and replace the line:
./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../../sdk/autorevision.h
with
./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../sdk/autorevision.h
Hello all!FC5 nightlies are available in the extra repository (should be enabled by default).
Why there isn't the FC5 rpms , have stopped this build ?
The suse rpm works with Fedora ?
When editing sources, an error keeps popping all the time:
"Assertion [cpMax <= pdoc->Length()] failed at sdk\wxscintilla\src\scintilla\src\Editor.cxx 5977"
This was in the 9th day build but isn't in the 8th day build so it gives us regression window between revisions 3036 - 3050, and looking at the SVN logs I would say that it's because of commit in revision 3038.
I'll report it to Berlios.
upgrade to wxFlatNotebook 2.0 and introducing 2 new CB features :
a) "X" close button on every tab in the EditorManager (old "X" button removed)
b) ctrl-shift-tab advanced tabbing (turn this on in settings->environment->notebooks appearance->Use Smart Tab-switching scheme
When editing sources, an error keeps popping all the time:
"Assertion [cpMax <= pdoc->Length()] failed at sdk\wxscintilla\src\scintilla\src\Editor.cxx 5977"
This was in the 9th day build but isn't in the 8th day build so it gives us regression window between revisions 3036 - 3050, and looking at the SVN logs I would say that it's because of commit in revision 3038It is probably the patch that fixes some misbehaviour of code completion. If I understand the issue correct, it is the GetCharAt(GetPositionFromline(...)) which is throwing up...
Unluckily, it does not reproduce on my machine
int main() {
|
}
Unluckily, it does not reproduce on my machineCodeint main() {
|
}
Delete the pipe symbol and write "this->" to that spot and the error occurs (on my machine at least). Move the opening brace to new lineor add space after "()"and the error does not occur.
Edit: adding the space didn't work after all...
Looks like the makefile is still having jet-lag from its trip :)*lol* ;-)
I get an assert if i type "this(" but not "this." neither "this->"I can't reproduce. But: I'm using version 1.71.1 of wxScintilla. This this might not be a C::B bug at all?! Thomas: Given this new information, can you reproduce?
int x(){
this(
Index: nativeparser.cpp
===================================================================
--- nativeparser.cpp (revision 3074)
+++ nativeparser.cpp (working copy)
@@ -650,6 +650,10 @@
{
++blockStart; // skip {
int blockEnd = ed->GetControl()->GetCurrentPos();
+
+ if(blockStart >= blockEnd)
+ return false;
+
wxString buffer = ed->GetControl()->GetTextRange(blockStart, blockEnd);
buffer.Trim();
if (!buffer.IsEmpty() && !parser->ParseBuffer(buffer, false, false, true))
<snip>
#include <iostream>
class TestClass
{
public:
TestClass();
~TestClass();
int TestMethod() { return 0; }
};
int main() {
TestClass* t = new TestClass();
|
return 0;
}
CodeIndex: nativeparser.cpp
===================================================================
--- nativeparser.cpp (revision 3074)
+++ nativeparser.cpp (working copy)
@@ -650,6 +650,10 @@
{
++blockStart; // skip {
int blockEnd = ed->GetControl()->GetCurrentPos();
+
+ if(blockStart >= blockEnd)
+ return false;
+
wxString buffer = ed->GetControl()->GetTextRange(blockStart, blockEnd);
buffer.Trim();
if (!buffer.IsEmpty() && !parser->ParseBuffer(buffer, false, false, true))
will this be committed ?
If it works... feel free to commit it.
- if(blockStart >= blockEnd)
- return false;
+ if (blockStart >= blockEnd)
+ blockStart = blockEnd;
Well, excuse me but I can't trust "it works" from you since you admittedly never use this functionality ;).As it happens, I did, in order to pinpoint the location of the problem. And yes, I immediately regretted enabling CC again. :)
Thanks for the advanced tabbing!Code completion...
But why is it that everytime I save a file the application totaly freezes for about 5 seconds?
EDIT: rev 3074 Windows Unicode
However, turning on code completion practically makes the IDE unusable. Laughing
It's not only about an occasional crash or an assertion, the annoying "freeze after save" and "freeze as you type" problems are back again, too.
Is there any way to give the parsing thread lower priority?
I really wish one could actually use code completion. Believe me, I would use it if it was possible...
A bug: file/import project/ "any" .
For example: when I try import "aabbcc.dsp", it says "aabbbcc.cbp" not found.