summaryrefslogtreecommitdiff
path: root/src/shared
Commit message (Collapse)AuthorAgeFilesLines
* fix read beyond end of input lineOswald Buddenhagen2011-01-181-2/+2
| | | | | | | a line ending in two backslashes would produce a literal backslash and run off the end. Task-number: QTCREATORBUG-3360
* It's 2011 now.con2011-01-12146-154/+154
|
* License headers.con2010-12-17146-1022/+1606
|
* fix one more raw data leakOswald Buddenhagen2010-10-211-0/+1
| | | | | | | | again, qregexp was putting our raw string into its cache - this time hidden behind a qdir::entrylist(). Reviewed-by: dt Task-number: QTCREATORBUG-2758
* Add precompiled headers to Qt Creator sources, to any library and pluginDenis Mingulov2010-10-132-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Precompiled headers are a performance feature supported by some compilers to reduce the (re-)compilation time substantially. Usage in Qt: http://doc.qt.nokia.com/4.7/qmake-precompiledheaders.html Due to the usage of precompiled headers Qt without demos/examples/webkit etc might be compiled even faster than Qt Creator on some systems. Despite of Qt, Qt Creator consist of mostly quite small subprojects (plugins and libraries) where the effect would not be so noticeable but still will be visible. This patch adds default precompiled headers to any plugin and library (i.e. by changes in src/qtcreatorplugin.pri and src/qtcreatorlibrary.pri respectively). Almost the same headers are included to general precompiled header (src/shared/qtcreator_pch.h) like used in QtCore, just QPointer/QScopedPointer etc and QDebug are added, it is used almost in any subproject. Also for plugins some QtGui related headers are added (src/shared/qtcreator_gui_pch.h). Default precompiled headers are enabled so: isEmpty(PRECOMPILED_HEADER):PRECOMPILED_HEADER = $$PWD/shared/header.h So it is possible to override this variable in any place in the project file in case if it will be needed. Such overriding is used for Botan (src/libs/3rdparty/botan) - it is not a Qt project, just a pure C++. Most usable headers were used to create special precompiled header for Botan. It is 3rd party component so also src/libs/3rdparty/precompiled_headers folder was created - to use for any future 3rd party components' precompiled headers. To enable a usage of precompiled headers feature in Qt projects 'precompile_header' has to be added to CONFIG. It is done by default for limited platforms only (e.g. not for Linux now), so to enable it on any other platform - e.g. special qmake command has to be used: qmake "CONFIG *= precompile_header" -r ../../qt-creator/ To disable a usage of precompiled headers (on platforms where it is pre-enabled - otherwise it will be used automatically): qmake "CONFIG -= precompile_header" -r ../../qt-creator/ To see on which platforms precompiled headers feature is enabled by default - qt/mkspecs folder has to be checked. Precompiled headers require an additional space on the disk, it looks like for Qt Creator full size of the shadow build folder grows up to 2 times (e.g. 1.5 GB to 3 GB). Test results: Linux x64, gcc 4.4, T7500, 3 GB RAM: About 22.5 minutes are reduced to about 14 minutes (almost 80% faster). Windows x86, vs2008, P8400, 2 GB RAM: About 70 minutes are reduced to about 20 minutes (amazing 250% faster). Merge-request: 2182 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* C++ Parser: fix infinite loop when recovering from incorrect @selector ↵Erik Verbruggen2010-10-081-3/+9
| | | | expression.
* Replace QToolBars with StyledBar. Remove minimum size constraints.kh12010-10-051-1/+0
| | | | Reviewed-by: con
* C++: fixed possible null-pointer access.Erik Verbruggen2010-09-271-4/+5
| | | | | Task-number: QTCREATORBUG-2459 (cherry picked from commit d09b5e9d365e3ce54078fb172c93b9584908bcad)
* QRC Editor: Keep the file dialog around in 'Add files.'Friedemann Kleint2010-09-241-75/+115
| | | | | | | When adding a multiselection of images outside the qrc-path, the file dialog is created every time, causing great delays due to DBUS problems. Create a context struct keeping the dialogs around.
* Fix typo.Leandro Melo2010-09-221-1/+1
|
* UI text - Fix capitalizationLeena Miettinen2010-09-203-40/+41
|
* reinitialize block stack for new filesOswald Buddenhagen2010-09-161-1/+2
| | | | | this has only an effect if parsing the previous file failed in a place with a non-empty stack.
* C++: fixed invalid parsing of 'call()->call()'.Erik Verbruggen2010-09-151-2/+15
|
* C++: Fix: disallow empty nested declarators, it's invalid.Erik Verbruggen2010-09-151-1/+1
|
* Doc - Fix UI text capitalization to follow the KDE style guide.Leena Miettinen2010-09-151-2/+2
| | | | Reviewed-by: dt
* I10N: First translation fixes for 2.1Friedemann Kleint2010-09-101-1/+0
| | | | | | | Fix README, some spelling errors, remove contractions, exclamation marks, correct some plural forms, join split messages. Add QCoreApplication::translate to non-Q_OBJECT-classes. Fix some lupdate warnings about discarding meta-data (//:).
* Fixed parsing of sizeof expressions.Roberto Raggi2010-09-091-2/+5
|
* Improved parsing of expression-or-declaration statements.Roberto Raggi2010-09-091-17/+30
| | | | Done-with: Erik Verbruggen
* C++: fixed completion in braceless statements following a control statement.Erik Verbruggen2010-09-092-174/+174
| | | | | | | | | | | - Changed generator to generate: - Changed AST::lastToken to return 1 if there is none - Changed Bind.cpp to set the scope of the block following a control statement to extend upto (and not including) the first token after the block. So basically, including any whitespace after the control statement. Reviewed-by: Roberto Raggi
* Improved deployment information for SymbianPawel Polanski2010-09-092-6/+9
|
* Fixed alignment issues with 64 bits ABIs.Roberto Raggi2010-09-0314-41/+42
|
* make ProFileParser API less bug-proneOswald Buddenhagen2010-09-023-8/+10
| | | | QString::isNull() vs. isEmpty() discrimination is a time bomb ...
* fix crash when no command line options are passed to qmakeOswald Buddenhagen2010-09-021-0/+2
| | | | | | | the root cause is in the API of parsedProFile(): it discerns isNull() and isEmpty(), which is of course a time bomb. but in this case the right solution is not trying to parse the empty string in the first place.
* Tune the symbol and the literal tables.Roberto Raggi2010-09-022-4/+12
|
* Get rid of the numeric literals.Roberto Raggi2010-09-023-0/+18
|
* Merge CPlusPlus::NameId and CPlusPlus::Identifier.Roberto Raggi2010-09-0213-108/+47
|
* Fixed invalid skipping of pound tokens.Erik Verbruggen2010-09-011-1/+1
| | | | Done-with: Roberto Raggi
* Tune the default size of literal tables.Roberto Raggi2010-09-011-14/+5
| | | | This simple change will save about 40mb of memory when indexing Qt Creator!
* Give our Profile parser more information from the qmakestepdt2010-09-012-11/+11
| | | | | | e.g. DEFINES+=bla on the qmakestep command line now work Task-Nr: QTCREATORBUG-2091
* Fixed warning when passing the declaringClass.Roberto Raggi2010-08-271-1/+1
|
* Set the end of the template's scope.Roberto Raggi2010-08-271-1/+1
|
* Fix krazy issues: Use explicit constructorsTobias Hunger2010-08-275-6/+6
| | | | | * Fix all warnings about non-explicit constructors except for those in 3rdparty code.
* Reduced the number of ambiguous C++ initializers.Roberto Raggi2010-08-261-1/+19
|
* Get rid of deprecated forward class declarations.Roberto Raggi2010-08-261-1/+0
|
* Renamed Symbol::scope() to Symbol::enclosingScope().Roberto Raggi2010-08-263-10/+10
|
* Some cleanup in the C++ AST.Roberto Raggi2010-08-2610-76/+79
|
* Prefer declaration statements.Roberto Raggi2010-08-261-58/+61
|
* Get rid of the old Parser::parseExpressionOrDeclarationStatement().Roberto Raggi2010-08-261-33/+0
|
* Renamed Symbol::identity() to Symbol::unqualifiedName().Roberto Raggi2010-08-264-19/+19
|
* Pass the enclosing ClassSpecifierAST node.Roberto Raggi2010-08-262-68/+56
|
* Reduced the number of ambiguous ExpressionOrDeclarationStatementAST nodes.Roberto Raggi2010-08-264-145/+235
|
* Fix File/New in the deployment folders.dt2010-08-251-1/+0
| | | | | | | | | That is tell the user that those files need not be added to any project, and show "<Implicitly Add>" for them on the last wizard page. This fixes Add/New for the QML/OTHER_FILES folder structure, except for the virtual folder itself. Reviewed-By: Jarek Kobus <jaroslaw.kobus@nokia.com>
* Fix NBN code scanning issues in shared TRK code.Friedemann Kleint2010-08-233-10/+10
|
* Small change concerning castingPawel Polanski2010-08-201-1/+1
|
* Update the source locations.Roberto Raggi2010-08-172-26/+68
|
* Update the decl specifiers.Roberto Raggi2010-08-171-0/+1
|
* Renamed DeclaratorAST::equals_tokenRoberto Raggi2010-08-166-13/+13
|
* Create symbols for namespace-aliases.Roberto Raggi2010-08-161-5/+10
|
* Implemented ObjcMethod::argumentCount().Roberto Raggi2010-08-161-2/+4
|
* Get rid of Function::block/setBlock.Roberto Raggi2010-08-163-16/+4
|