* fix an issue with the new editorpane-layout saving/restoring, where the layout was not recreated, when the default workspace was automatically opened on application startup.

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9986 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- build fix for r9982

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9987 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* DoxyBlocks: strip default menu keybindings that conflict core C::B shortcuts

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9988 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* build fix for the build fix in 9987

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9989 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* better build fix for the build fix for the build fix ....; some distributions (at least debian) have backported the fix to pre wx2.9.0, the wx2.8.12 tag in wxWidgets svn-repo still uses the macro without the "WX_"-prefix

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9990 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: fix a bug that CodeCompletion's setting don't get saved when C::B closed.

To reproduce the bug, you can
1, start C::B (without opening any cbp project)
2, open the codecompletion's setting dialog
3, change some settings, such as: Options - Disable SmartSense
4, close the setting dialog and close C::B
5, reopen C::B, run step 2 again, you will notice the setting is not saved yet.

The bug was cause by the commit rev9920, there I changed the ReadOptions() and WriteOptions() functions to virtual functions, also the implementation of those functions in ParserBase class are empty, the derived Parser class has real implementations(read and write the configure file). But NativeParser::NativeParser() create a ParserBase instance not a Parser instance, and ParserBase::ReadOptions() and ParserBase::WriteOptions() do nothing.

To avoid the ParserBase to read the configure file (that's what rev9920 want to achieve), I let the NativeParser create a real Parser instance (not ParserBase), thus this commit partially revert the code refactoring at rev7336 (2011-8-8, by Loaden).

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9991 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: remove WriteOptions() function call in Parser::~Parser(). This function call was added in the previous commit(commit9991). Options were saved when user click the Apply button, so we don't need to save them when Parser object destroyed.

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9992 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* pumped (wx)Scintilla to v3.5.1 (bringing support for BibTeX lexer)

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9993 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- update of wxConrib items
- some cleanup wrt spacing, code style

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9994 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* update of astyle to v2.05

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9995 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- removed obsolete astyle files

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9996 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- CCTest: more test cases added.

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9997 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: fix handling of conditional preprocessor directives.

Enhance IsMacroDefined() function, it can handle both "defined (xxx)" and "defined xxx" directives. Do not run SkipToEOL(false) inside the IsMacroDefined() function, because there are some tokens after the current token in the same line. All caller updated.

Fix the failure of cc_macro_expansion.cpp.
Before this commit
********************************************************
  Testing in file: ...\testing\cc_macro_expansion.cpp
********************************************************
*FAIL:  zero_  zero_defined
-PASS:  test_defined  test_defined_expand_2
-PASS:  f234  f2345
*FAIL:  f123  f1234
-PASS:  std::  string
--------------------------------------------------------
Total 5 tests, 3 PASS, 2 FAIL
--------------------------------------------------------

With this commit
********************************************************
  Testing in file: ...\testing\cc_macro_expansion.cpp
********************************************************
-PASS:  zero_  zero_defined
-PASS:  test_defined  test_defined_expand_2
-PASS:  f234  f2345
-PASS:  f123  f1234
-PASS:  std::  string
--------------------------------------------------------
Total 5 tests, 5 PASS, 0 FAIL
--------------------------------------------------------

When defined (xxx) is handled in the IsMacroDefined() function. In the main loop of reading the tokens, check the spaces after DoGetToken(), so that the token in the next line don't get eat.

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9998 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: code simplified. Use the ReplaceMacroUsage() function to handle macro expansion, since it can handle both function like macro expansion and object like macro expansion. If ReplaceMacroUsage() return true, it means m_TokenIndex is rewind, so we need to continue the loop.

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9999 2a5c6006-c6dd-42ca-98ab-0921f2732cef
-BrowseTracker - remove debugging msg from release target.

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