* CCTest: add new test case for parsing namespaces. Also, fix a C++ grammar error by add missing semicolon after class definition in the test code.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9960 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CC: add comments in ParserThread class.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9961 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: add a new test case, this is used for parsing MFC's event table macros, see: http://forums.codeblocks.org/index.php/topic,19016.msg130216.html#msg130216

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9962 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: add a new test case, which test macro handling of wx event table macros.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9963 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: add new test file for testing codecompletion for enumerator, this is mainly copied from enumerator.cpp.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9964 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CC: minor comment fix in class browser related classes.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9965 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: handle the "__declspec" qualifier when parsing the class definition, this qualifier is skipped as the same way as handling "__attribute__" qualifier.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9966 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: avoid parsing the file twice in cctest. The function BatchTest() does two things: 1, parse the file; 2, read the test cases, and run those test cases. So we don't need a call m_NativeParser.Parse() before m_NativeParser.BatchTest().

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9967 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: remove the priority header file parsing options, both GUI and the related code were removed. Priority header parsing method was removed from code base several months ago in flavour of recursive header file parsing.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9968 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CCTest: document added in the beginning part of cctest_app.cpp file, since we use the ParserBase class instead of Parser class, those changes need to be documented.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9969 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: don't save temporary files, just parse the files specified by the file name.

If you have a test file, e.g. testing/a.cpp, the former way was load the file to wxScintilla control, when start parsing, we first save the contents of wxScintilla control to a temporary file, then parse it, and finally delete the temporary file. With this commit, we don't need to use temporary files, the file can be parsed directly if a file name is specified. The ParserBase class can directly load the file from hard disk for parsing.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9970 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: use the wxDir::GetAllFiles() function to scan and collect all the testing files, and store them in CCTestAppGlobal::s_fileQueue, thus, we can testing many files. Currently, the test file name will have a patter "cc_*.cpp" under testing folder.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9971 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: first try opening a single ccc_*.cpp. If no ccc_*.cpp files exist, collect cc_*.cpp files for testing.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9972 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CCTest: code format clean up in cctest_frame.cpp.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9973 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest can now handling both files in hard-disk or files in wxScintilla control without save a temporary file. This commit also fixes a but that the wxID_ANY was assigned to two buttons in the same panel.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9974 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CCTest: code clean up and refactoring, create a new unified function ParseAndCodeCompletion() which can both handle local disk files and contents from wxScintilla control.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9975 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: remove unused "test.h" file from codecompletion.cbp

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9976 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CCTest: add a new panel to log out the code completion test results.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9977 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CCTest: code refactoring, the CCLogger::Get()->XXX() now prints the log messages to the parsing message panel and wxLogMessage will print the log messages to the code completion test result panel.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9978 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CCTest: set the button size correctly, and adjust the button labels.

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