Author Topic: The 17 September 2011 build (7452) is out.  (Read 79841 times)

Online ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5906
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 17 September 2011 build (7452) is out.
« Reply #60 on: October 21, 2011, 08:27:24 am »
This patch should fix the parser problem:
Code
Index: F:/cb/codeblocks_trunk/src/plugins/codecompletion/parser/parserthread.cpp
===================================================================
--- F:/cb/codeblocks_trunk/src/plugins/codecompletion/parser/parserthread.cpp (revision 7496)
+++ F:/cb/codeblocks_trunk/src/plugins/codecompletion/parser/parserthread.cpp (working copy)
@@ -131,6 +131,7 @@
     const wxString kw_else         (_T("else"));
     const wxString kw_enum         (_T("enum"));
     const wxString kw_elif         (_T("elif"));
+    const wxString kw_case         (_T("case"));
     // length: 5
     const wxString kw__CPP_        (_T("\"C++\""));
     const wxString kw___asm        (_T("__asm"));
@@ -688,6 +689,11 @@
                 else
                     SkipToOneOfChars(ParserConsts::semicolonclbrace, true);
             }
+            else if (token == ParserConsts::kw_case)
+            {
+                m_Str.Clear();
+                SkipToOneOfChars(ParserConsts::colon, true);
+            }
             else
                 switchHandled = false;
             break;

I just put it in my pending patches lists.
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.

stefanos_

  • Guest
Re: The 17 September 2011 build (7452) is out.
« Reply #61 on: October 21, 2011, 09:12:27 am »
Yes, you won't be able to use svn < 1.7, but so what, if you have to use svn 1.6.xx just make a new check out?
But what is the connection with the C::B project (us)?

p.s. Mostly linux, sometimes I run windows to play games or test new C::B features. At work I've migrated to linux, too.

Yeah you are right. I feel silly already :D I thought for some reason svn 1.7.0 would break current local repository but is not the case. Currently installing the latest revision.

Btw, what about all these "variable not used" warnings? If those variables are not used, should they be declared? And if yes, why not get initialized with a default value?

Offline ham

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: The 17 September 2011 build (7452) is out.
« Reply #62 on: October 24, 2011, 12:43:32 am »
thx

updating linux worked for all problems.

except some bug at opening projects CB is now a complete working, very nice IDE for me :-)

h.a.n.d.

Offline Micool121

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: The 17 September 2011 build (7452) is out.
« Reply #63 on: October 26, 2011, 06:06:12 pm »
Any target for a new nightly build ?

The only thing I miss is the patch for this awfull editor function focus we reported ;)

thx !

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 17 September 2011 build (7452) is out.
« Reply #64 on: October 26, 2011, 06:33:25 pm »
Killberbot can answer the question, but maybe it is time for another monthly build :)
(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 killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5489
Re: The 17 September 2011 build (7452) is out.
« Reply #65 on: October 27, 2011, 12:20:28 am »
I already prepared one last weekend, but in the end it didn't make it out of the door. This weekend it sure will :-)