Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed module names from #include directives. | Erik Verbruggen | 2012-02-15 | 1 | -1/+1 |
| | | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com> | ||||
* | Long live the king! | hjk | 2012-01-26 | 1 | -1/+1 |
| | | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> | ||||
* | all: s/info@qt.nokia.com/qt-info@nokia.com/ | hjk | 2011-11-03 | 1 | -2/+2 |
| | | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com> | ||||
* | add always defined macro Q_CREATOR_RUN to cpp parser | Benito van der Zander | 2011-09-08 | 1 | -1/+2 |
| | | | | | | | | | | Merge-request: 336 Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com> Change-Id: Iefd0c60bb3e78047e28dcff33cc62c15ed11f711 Reviewed-on: http://codereview.qt-project.org/4292 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com> | ||||
* | C++: More flexibility for string representation of macros | Leandro Melo | 2011-09-06 | 1 | -5/+28 |
| | | | | | | | | | | | | | | | It's now possible to get the macro definition with the actual line breaks used on the code. This is particularly useful for tooltips in order for them to look nice. The preprocessor is changed so the macro also stores the breaks positions. This doesn't seem to have any impact on performance. In my machine, for example, the total time for parsing Creator's source code is approx. 18100ms with or without the patch. Change-Id: Ic7487236315c3567d26496315accdb2adfea894a Reviewed-on: http://codereview.qt.nokia.com/4253 Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com> | ||||
* | C++ preprocessor: Fix multiline tokens in ifdef'ed out blocks. | Christian Kamm | 2011-08-31 | 1 | -12/+40 |
| | | | | | | | Change-Id: If6f9819565f891e861f9e111423d99caa7c0f7aa Reviewed-on: http://codereview.qt.nokia.com/3884 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com> | ||||
* | C++: Don't strip comments from preprocessed source code. | Christian Kamm | 2011-08-25 | 1 | -2/+19 |
| | | | | | | Change-Id: I3a4817d36b9c724abca504c42914a73f97ab34c7 Reviewed-on: http://codereview.qt.nokia.com/3480 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> | ||||
* | Fix/add copyright headers | Tobias Hunger | 2011-05-06 | 1 | -1/+1 |
| | | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2 | ||||
* | Fix more krazy warnings. | Friedemann Kleint | 2011-04-19 | 1 | -1/+1 |
| | |||||
* | Update license. | hjk | 2011-04-13 | 1 | -14/+13 |
| | |||||
* | s:// end of namespace :// namespace :g for consistency | hjk | 2011-02-04 | 1 | -1/+1 |
| | | | | We use the latter style everywhere else to signify the end of a namespace block. | ||||
* | It's 2011 now. | con | 2011-01-12 | 1 | -1/+1 |
| | | | | Reviewed-by: hjk | ||||
* | C++: Add parsing of Q_PRIVATE_PROPERTY. | Christian Kamm | 2011-01-04 | 1 | -0/+2 |
| | | | | Reviewed-by: Roberto Raggi | ||||
* | C++: Fix bind of Q_INVOKABLE functions. | Christian Kamm | 2011-01-04 | 1 | -0/+2 |
| | | | | Reviewed-by: Roberto Raggi | ||||
* | License headers. | con | 2010-12-17 | 1 | -7/+11 |
| | |||||
* | Highlight user defined types. | Roberto Raggi | 2010-05-25 | 1 | -6/+3 |
| | |||||
* | Get rid of unsigned/long suffixes before evaluating numbers. | Roberto Raggi | 2010-04-29 | 1 | -2/+12 |
| | | | | Task-number: QTCREATORBUG-1292 | ||||
* | Handle unary ~ operator. | Roberto Raggi | 2010-04-27 | 1 | -0/+4 |
| | |||||
* | Added parser support for Q_INTERFACES. | Erik Verbruggen | 2010-03-17 | 1 | -0/+2 |
| | |||||
* | Take the branch when evaluating #ifndef QT_NO_XXX and QT_NO_XXX has been ↵ | Roberto Raggi | 2010-03-12 | 1 | -5/+22 |
| | | | | defined in a pro file. | ||||
* | Long live the king! | hjk | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Fixed: Wrong usage highlighting if function's argument list contains comment. | Roberto Raggi | 2010-03-03 | 1 | -1/+16 |
| | | | | Task-number: QTCREATORBUG-577 | ||||
* | Fixed pre-processor handling for Q_PROPERTY, Q_ENUMS and Q_FLAGS. | Erik Verbruggen | 2010-02-22 | 1 | -22/+21 |
| | |||||
* | Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it. | Erik Verbruggen | 2010-02-08 | 1 | -2/+4 |
| | |||||
* | Reworked parts of the QtPropertyDeclaration parsing and handling. | Erik Verbruggen | 2010-02-07 | 1 | -6/+5 |
| | |||||
* | Removed methods which always returned a constant (false). | Erik Verbruggen | 2010-01-28 | 1 | -5/+1 |
| | |||||
* | Changed binary expression parsing to use precedence parsing. | Erik Verbruggen | 2010-01-28 | 1 | -200/+99 |
| | |||||
* | Merge ichecker branch changes into the mainline. New project can be found ↵ | Wolfgang Beck | 2010-01-19 | 1 | -15/+21 |
| | | | | under src/tools/ICheck | ||||
* | Small inclusion fixes. | Tobias Hunger | 2010-01-08 | 1 | -1/+0 |
| | | | | | | | * Remove duplicate headers. * Move own headers to the top. Reviewed-by: Roberto Raggi | ||||
* | Enhance data stored for macros and macro uses. | Christian Kamm | 2009-12-21 | 1 | -0/+2 |
| | | | | | | | | | | | In preparation for finding macro uses. * Macro: add offset and length * MacroUse: add line * Document: add convenience functions for finding a macro definition, use or undefined use at a given location. Reviewed-by: Erik Verbruggen | ||||
* | Fixed line/column position of the tokens after multiline string literals. | Roberto Raggi | 2009-12-17 | 1 | -0/+14 |
| | |||||
* | Save/Restore the if-level. | Roberto Raggi | 2009-12-09 | 1 | -0/+4 |
| | |||||
* | Merge commit 'origin/1.3' | mae | 2009-12-03 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/plugins/cppeditor/cppeditor.cpp | ||||
| * | Compile fix for 42f849c4da2ecb9c32efcc19cee1e8e94e86bc10. | Christian Kamm | 2009-12-03 | 1 | -1/+1 |
| | | | | | | | | Reviewed-by: Roberto Raggi | ||||
* | | Merge remote branch 'origin/1.3' | con | 2009-12-03 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Fixed line/column position after macro expansion. | Roberto Raggi | 2009-12-03 | 1 | -0/+3 |
| | | | | | | | | Task-Number: QTCREATORBUG-409 | ||||
* | | Inital support for Q_D/Q_Q declarations. | Roberto Raggi | 2009-11-30 | 1 | -0/+4 |
|/ | |||||
* | Initialize the pp's engine _dot member. | Roberto Raggi | 2009-10-21 | 1 | -0/+1 |
| | |||||
* | Renamed Preprocessor::_true_test | Roberto Raggi | 2009-10-21 | 1 | -9/+9 |
| | |||||
* | Use bit vectors to store the preprocessor's state. | Roberto Raggi | 2009-10-21 | 1 | -0/+2 |
| | |||||
* | Store in the document's macroUsages only the top-level macro expansions. | Roberto Raggi | 2009-10-15 | 1 | -9/+0 |
| | |||||
* | Track more macro uses. | Christian Kamm | 2009-09-25 | 1 | -10/+23 |
| | | | | | | | | | | | | In particular macros that are only checked for definition or are expanded during the evaluation of an #if or #elif directive are now also added to the list available through Document::macroUses(). The names of undefined macros that are interesting (because they're used in an #ifdef or a defined(...)) are now available through Document::undefinedMacroUses(). Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> | ||||
* | Don't include whitespaces and comments at the end of macro definitions. | Roberto Raggi | 2009-08-24 | 1 | -1/+1 |
| | |||||
* | long live the king | hjk | 2009-08-14 | 1 | -1/+1 |
| | |||||
* | Compile the C++ parser library with Sun CC 5.9. | Thiago Macieira | 2009-08-03 | 1 | -11/+11 |
| | | | | | | | | | | | | Things you mustn't do: 1) end an enum with a comma 2) #include <cxxxx> and not use std:: 3) use anonymous structures All three things are invalid C++. Anonymous structures inside anonymous unions are allowed by GCC, but that doesn't mean it's valid. | ||||
* | Replaced T_INT_LITERAL and T_FLOAT_LITERAL with T_NUMERIC_LITERAL. | Roberto Raggi | 2009-07-10 | 1 | -1/+1 |
| | |||||
* | Don't expand object-like macro when preprocessing in fast-mode. | Roberto Raggi | 2009-07-09 | 1 | -0/+11 |
| | |||||
* | Disable macro expansion when preprocessing in fast-mode. | Roberto Raggi | 2009-07-06 | 1 | -2/+17 |
| | |||||
* | Made foreach a keyword when parsing with qtMocRun | Roberto Raggi | 2009-07-03 | 1 | -0/+2 |
| | |||||
* | Introduced ForeachStatementAST and the bits to parse foreach statements when ↵ | Roberto Raggi | 2009-07-03 | 1 | -0/+2 |
| | | | | qtMocRun is enabled. |