* CC: remove the last parameter of the function ReplaceBufferText(), and all caller updated. This partially reverts rev6436. In the current code, all internal ReplaceBufferText calls (ie, called inside Tokenizer.cpp) have the second parameter updatePeek set to false, and external ReplaceBufferText calls have it set to true. All the external calls (there were just a few of them, and all of them in parserthread.cpp), and we always do a GetToken() after the ReplaceBufferText(). So it's safe to remove this parameter. Details here: http://forums.codeblocks.org/index.php/topic,18315.msg134199.html#msg134199 thanks Huki for the discussion and review.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9917 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: remove the second parameter of function Tokenizer::ReplaceFunctionLikeMacro(const Token* tk, bool updatePeekToken = true). This partially reverts rev6691. The user need to explicitly call PeekToken() to update the peek token. See details in http://forums.codeblocks.org/index.php/topic,18315.msg134199.html#msg134199

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9918 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: add macro definition CC_PARSER_TEST to cctest.cbp

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9919 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: code re-factoring for CodeCompletion plugin and CCTest projects, class ParserBase was now in its own parser_base.h/cpp files, thus remove parserdummy.cpp(this file was used to supply the class ParserBase implementation for CCTest project). ParserCommon::EFileType ParserCommon::FileType() function was moved to parser_base.cpp.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9920 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: add new test for the embedded unnamed class.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9921 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: add new test for function pointer code completion

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9922 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: add test case for COM interface, which involve macro expansion and function pointer parsing.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9923 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: test case for X macros, see: http://forums.codeblocks.org/index.php/topic,19024.msg130198.html#msg130198

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9924 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* linux build fixes

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9925 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* non PCH build fix

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9926 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* more build fixes

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9927 2a5c6006-c6dd-42ca-98ab-0921f2732cef