summaryrefslogtreecommitdiff
path: root/src/plugins/todo
Commit message (Collapse)AuthorAgeFilesLines
* Drop unused variables and lambda capturesUlf Hermann2017-09-081-1/+1
| | | | | | | | | Also, add context to connect() expressions where we are or were capturing "this". Change-Id: I6e006ba6f83d532478018550d148ee93eca59605 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/4.4'Orgad Shaneh2017-08-301-1/+1
|\ | | | | | | Change-Id: I9ab2c68d2bd07b0dd89051a2f5f6fa51676d8594
| * Fix more copyright years in pluginsEike Ziller2017-08-291-1/+1
| | | | | | | | | | | | Change-Id: I44845b3cc6f393e76a2f3ff5f166c6170c4eff56 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | ProjectNodes: Do not derive Project Nodes from QObjectTobias Hunger2017-08-011-1/+1
|/ | | | | | | | | | | | | | That should save some memory per node, and since creator has a lot of nodes (e.g. opening the LLVM project adds about 1 000 000 nodes) this should be noticeable:-) Calling update inside ProjectTree::currentNode() and rename it to findCurrentNode() to make sure it is an still existing pointer. Also, try to reduce the somehow more expensive currentNode() calls and sprinkle some const around that usage. Change-Id: I6a7c5db01a71d53d39544d3013cad557d5b96cdc Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Make TODO plugin theme awareUlf Hermann2017-03-166-21/+15
| | | | | | | | | | | Use the theme's colors by default and color the text rather than the background of items. Task-number: QTCREATORBUG-17532 Change-Id: I65a2d6da45ce7547b05463a2fb014f8230d0c336 Reviewed-by: Serhii Moroz <frost.asm@gmail.com> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/4.2' into 4.3Orgad Shaneh2017-03-141-0/+1
|\ | | | | | | Change-Id: I4931dcc81be872d7712e67123e94d15ee696459f
| * QRegExp include cleanupSamuel Gaist2017-03-131-0/+1
| | | | | | | | | | | | | | This patch adds the missing include statements for QRegExp. Change-Id: Ibb03b929940adb84ae190b5090cb6b88653cc14c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | ProjectExplorer: Use visitor-by-lambda for project treehjk2017-03-081-8/+8
| | | | | | | | | | | | | | | | And inline it into user code. Less code in total and no intermediate node lists. Change-Id: I3724883408bfaa868266110aee27bbffd4d96bd8 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | Delete dialogbox => avoid memory leakMontel Laurent2017-02-211-6/+6
| | | | | | | | | | Change-Id: I0f6eba4366f7760bfafd201e6ac22b23b11ce61c Reviewed-by: hjk <hjk@qt.io>
* | To-Do: save the settings only if they've been "apply"dUlf Hermann2017-01-093-1/+13
| | | | | | | | | | | | | | | | | | The colors don't play very well with the theme support. We want to switch the colors according to the current theme if the user doesn't care for them. Not saving the default colors achieves that. Change-Id: Idafc13e561d33736eb21b26944756291449594b5 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* | Rename the "ERROR" icon to "CRITICAL"Ulf Hermann2017-01-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | We mostly use this icon in terms of showing messages which might be informational, warnings, or errors. We cannot call the icon "ERROR" as that clashes with some macro on windows. To be more inline with Qt's predefined messaging macros (qDebug(), qInfo(), qWarning(), qCritical(), qFatal()), we rename the icon to "CRITICAL" and regroup the entries in the header to suggest this usage. Change-Id: I89880919d7ca54ea9c86de384eb29f375bf3075f Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | Todo: Simplify codeTobias Hunger2016-11-301-2/+0
| | | | | | | | | | | | | | Qt::ForgroundRole and Qt::TextColorRole are aliases for the same thing Change-Id: I5d5e9ad562a7308988ba3bc402ef8b81872825b8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Todo: Initialize IconType in KeywordTobias Hunger2016-11-291-1/+1
| | | | | | | | | | Change-Id: I15bad1448d4b2ae6fe13b6420633bc7407eedd61 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | ProjectExplorer: Rename Node::projectNode to Node::parentProjectNodeTobias Hunger2016-11-101-1/+1
|/ | | | | Change-Id: I47fa794a0bd8456ae23271934a957d9667d2d7bb Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* ProjectExplorer: Remove PropertiesPanel structhjk2016-10-041-1/+0
| | | | | | | | | Parameter structs are convenient if they get passed around a lot or are regularly changed. This isn't the case here, so make the user code more compact instead. Change-Id: Idd5e5cc1f70b1547607532cd3e6515c27983c169 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Core: Make IOptionsPage::categoryIcon a Utils::IconAlessandro Portale2016-09-201-1/+1
| | | | | | | This is necessary for themable + HighDPI icons in the options dialog. Change-Id: I8e3ff87a24591af40bb76b39cd970443d7678fae Reviewed-by: hjk <hjk@qt.io>
* Todo: Avoid issues with screwing up or screwed settingsEike Ziller2016-09-013-3/+7
| | | | | | | | | | If for some reason the todo settings are borked, do not crash/assert. Also, avoid overwriting existing settings with default settings, if for some reason the todo plugin is never initialized (because a dependency fails to load). Change-Id: Id7815b799adaff3dcdf00fedb9ade3ced01e23b9 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Todo: Use "toolbar" style icons in the toolbarAlessandro Portale2016-08-243-3/+21
| | | | | | | | | | | For consistency reasons (see "Debugger Console" tool bar), we should use the *_TOOLBAR icon variants for toolbars. On the other hand, we should use the icons without *_TOOLBAR for non-toolbar icos (todo list view items). Change-Id: I17e7408488112e527c166019341b570ba0f88f10 Reviewed-by: Serhii Moroz <frost.asm@gmail.com> Reviewed-by: David Schulz <david.schulz@qt.io>
* Todo: Add the new icons to qtcreatoricons.svgAlessandro Portale2016-08-156-0/+0
| | | | | | | | ...and re-generate the .pngs from there. Change-Id: I6980f5e8488e43a08a34dc82c1dc2e96b9c24435 Reviewed-by: Serhii Moroz <frost.asm@gmail.com> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Move icons to UtilsUlf Hermann2016-08-051-4/+4
| | | | | | | This way we can use them from libraries, not only from plugins. Change-Id: Ic35cfd5f04d638d87606bf272b2c00ded1267c1b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* ProjectExplorer: Rework mode main windowhjk2016-07-261-11/+7
| | | | | | | | | | | | | | | | | | The existing solution with the special-style horizontal kit selector comes from a time when there was typically one, at most four targets. Today's setup can easily reach half a dozen targets with several toolchain versions each and can't be sensibly handled with the overflowing horizontal bar. This here replaces the horizontal kit selector bar as well as the top level project "tab bar" with a normal tree view. All targets are visible (but possibly disabled) at once, and can be enabled/disabled using the context menu on the tree items. Change-Id: I1ce7401ca96109bf34bc8c0ae19d265e5845aa88 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Merge remote-tracking branch 'origin/4.1'Orgad Shaneh2016-07-221-4/+2
|\ | | | | | | Change-Id: Ia90424d479936a898705c433e5810c77ae088b2c
| * Todo: Fix crash after user discards open very big file dialogSerhii Moroz2016-07-191-4/+2
| | | | | | | | | | Change-Id: I25cea3d4926ccb4a067c0e7e8a0725ad942b8e85 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Todo: added ability to filter todo list by keywordsSerhii Moroz2016-07-2118-20/+144
|/ | | | | Change-Id: I4be35caf461e50e256527ca72993f5d83d08ef3e Reviewed-by: hjk <hjk@qt.io>
* Core: Use QList's initializer list contructor for output paneshjk2016-07-111-5/+1
| | | | | | | More concise code. Change-Id: I0c83a02de725648294e1b6b49669bdec0c47fafe Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Todo: Use Qt5-style connectsOrgad Shaneh2016-06-0617-100/+46
| | | | | | | The heavy lifting was done by clazy. Change-Id: I6132a266f9d350dfecd7a12b03877bdcbbc31302 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Todo: Fix a premature ::tr() callAlessandro Portale2016-05-181-5/+8
| | | | | | | | The order of meta object initialization and the call of tr() can be wrong, and then the Todo plugin is not loaded. Change-Id: I2d8481892e78af5e04d632c427d55d2a2fd67402 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Todo: Define the icons size for the options dialogAlessandro Portale2016-04-281-0/+1
| | | | | | | ...preventing too big, pixelated icons in HighDpi mode Change-Id: I9b3839d810990917f4a9748829aed4a0616a80a5 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Todo: tr()-FixesTakumi ASAKI2016-04-281-1/+1
| | | | | | | Do not use QObject::tr(). Change-Id: I15656fbfc6529f381cea54c3fcbb35d831cff74f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Merge remote-tracking branch 'origin/4.0'Eike Ziller2016-04-121-1/+1
|\ | | | | | | | | | | | | Conflicts: src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp Change-Id: I6ae2d37290643d69390f679a54f7596782f3d97f
| * Todo: Remove "Settings" from project settings panel titleNikolai Kosjar2016-04-061-1/+1
| | | | | | | | | | | | Change-Id: I1e611d8bece7381aa61549323dde66ccd7cc0c61 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
* | Wholesale conversion to #pragma oncehjk2016-03-3019-75/+19
| | | | | | | | | | | | | | Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* | Todo: non-alien dir separators in To-Do entries listAlessandro Portale2016-03-175-6/+8
|/ | | | | | | Use Utils::FileName instead of QString in TodoItem Change-Id: I3c35599f972f0c23087f86ef10c9363a1577ce35 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* TODO plugin: Fix initialization of scanning scope.Christian Kandeler2016-03-031-1/+1
| | | | | | | | The code was using an uninitialized value as the default when loading the settings. Change-Id: I4a46e79feb4c6726f8bff1e8f03b75c9de646cd6 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Todo: Support find in paneOrgad Shaneh2016-02-081-0/+6
| | | | | Change-Id: I9788a81395d55b54e1e25c9315a07965fffd37ee Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-1937-680/+503
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* CppTools: Remove cpptools/cppprojects.[h|cpp]Marco Bubke2016-01-131-0/+3
| | | | | Change-Id: Ida0e8552d371972c141cf561b28667f4428c6fff Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Rename Project::ExcludeGeneratedFilesUlf Hermann2016-01-132-3/+3
| | | | | | | | We want to distinguish between source files and generated files. So let's call them by their names. Change-Id: I324c4b82ca7fb7d8d0e175ea6c4f14f1306ec929 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Themed Icons: Introduce Utils::IconAlessandro Portale2015-11-255-17/+4
| | | | | | | | | | | | | | Instead of describing icons via file name or in the themed icons case via a string that is a list of mask/color pairs, we have now a class for it. Icons are now listed in per-plugin *icons.h headers. RunControl::m_icon was The only place left where an icon property was in fact a string. This patch changes that member to be a Utils::Icon. Change-Id: Ibcfa8bb25e6d2e330c567ee7ccc0b97ead603177 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Todo: Store icons in the settings via index instead of stringsAlessandro Portale2015-11-1814-40/+176
| | | | | | | | | | | | This allows us to use something else than a string in order to reference icons. For an upcoming patch this will be necessary. Since this patch introduces a settings structure change, a migration feature from the old "Keyword\iconResource" string to the new "Keyword \iconType" int is implemented. Change-Id: Ia5695418fb135510ed549cf9a7cb59aab5389f31 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
* Icon refresh: First step towards the new Qt Creator themesAlessandro Portale2015-10-233-6/+11
| | | | | | | | | | http://blog.qt.io/blog/author/didesous/ announced new designs/themes for Qt Creator. This patch replaces many of the existing toolbar icons with recolorizable masks for better theming support. Change-Id: I557aa485205fe2624f33724226f698c303342b40 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
* Todo Plugin: Add showing To-Do Entries for current sub-project onlyJochen Becher2015-10-078-7/+65
| | | | | | Change-Id: Ia0c84ef62f833b7967985c0913584ca6ccb03ed1 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* TODO plugin: Add file patterns to exclude from parsingDenis Kormalev2015-06-0119-95/+455
| | | | | | | | Additional list of regular expressions added to TODO plugin settings to allow set patterns to be excluded from file list to parse by this plugin. Change-Id: I718f111ac7592557a6aa86865283468c53d58078 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* ToDo: Proper filenames elidingDenis Kormalev2015-05-085-2/+108
| | | | | | | It is more reasonable to elide filenames at left and messages at right Change-Id: I980026eb558c6528da85a5ddb1a7125bb3d7fdce Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Clean headers in lib qmljs and plugins qmljstools, qmljseditor.Friedemann Kleint2015-03-051-0/+2
| | | | | Change-Id: I3256db8f4d42b6326d986d754b45e6c6c2030839 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Clean exported headers of the Core plugin.Friedemann Kleint2015-03-051-0/+1
| | | | | Change-Id: I26472d568844d5fee62323e01f5c5c12082d5450 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Merge commit '3c85058694ee2e41658d17f524fb48f0b187d2fe'Eike Ziller2015-02-1231-211/+211
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/tooltip/tipcontents.cpp src/libs/utils/tooltip/tipcontents.h src/plugins/android/androiddeployqtstep.cpp src/plugins/baremetal/baremetalconstants.h src/plugins/baremetal/baremetaldevice.cpp src/plugins/baremetal/baremetaldevice.h src/plugins/baremetal/baremetaldeviceconfigurationwidget.cpp src/plugins/baremetal/baremetaldeviceconfigurationwidget.h src/plugins/baremetal/baremetaldeviceconfigurationwizard.cpp src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.cpp src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.h src/plugins/baremetal/baremetalplugin.cpp src/plugins/baremetal/baremetalplugin.h src/plugins/baremetal/baremetalruncontrolfactory.cpp src/plugins/baremetal/baremetalruncontrolfactory.h src/plugins/cppeditor/cppcodemodelinspectordialog.cpp src/plugins/cppeditor/cppdoxygen_test.cpp src/plugins/cppeditor/cppdoxygen_test.h src/plugins/debugger/breakpointmarker.cpp src/plugins/debugger/debuggeritemmodel.cpp src/plugins/debugger/debuggeritemmodel.h src/plugins/debugger/loadcoredialog.cpp src/plugins/genericprojectmanager/cppmodelmanagerhelper.cpp src/plugins/projectexplorer/addnewmodel.cpp src/plugins/projectexplorer/addnewmodel.h src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp src/plugins/qmlprofiler/abstracttimelinemodel.cpp src/plugins/qmlprofiler/abstracttimelinemodel.h src/plugins/qmlprofiler/notesmodel.cpp src/plugins/qmlprofiler/qml/CategoryLabel.qml src/plugins/qmlprofiler/qml/MainView.qml src/plugins/qmlprofiler/qml/Overview.js src/plugins/qmlprofiler/qml/Overview.qml src/plugins/qmlprofiler/qml/TimeDisplay.qml src/plugins/qmlprofiler/qml/TimeMarks.qml src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp src/plugins/qmlprofiler/sortedtimelinemodel.cpp src/plugins/qmlprofiler/sortedtimelinemodel.h src/plugins/qmlprofiler/timelinemodelaggregator.cpp src/plugins/qmlprofiler/timelinemodelaggregator.h src/plugins/qmlprofiler/timelinerenderer.cpp src/plugins/qmlprofiler/timelinerenderer.h src/plugins/qmlprojectmanager/QmlProjectManager.json.in src/plugins/texteditor/findinfiles.cpp src/plugins/vcsbase/vcsconfigurationpage.cpp src/shared/qbs src/shared/scriptwrapper/interface_wrap_helpers.h src/shared/scriptwrapper/wrap_helpers.h tests/auto/qmlprofiler/abstracttimelinemodel/tst_abstracttimelinemodel.cpp tests/system/suite_debugger/tst_debug_empty_main/test.py tests/system/suite_debugger/tst_qml_js_console/test.py tests/system/suite_debugger/tst_qml_locals/test.py Change-Id: I67540b648f8b162496f4aa606b04d50c7c9125c6
| * Update LicenseEike Ziller2015-01-1631-211/+211
| | | | | | | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* | Misc: Remove unneeded qualificationsOrgad Shaneh2015-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly done using the following ruby script: Dir.glob('**/*.cpp').each { |file| next if file =~ %r{src/shared/qbs|/qmljs/} s = File.read(file) s.scan(/^using namespace (.*);$/) { ns = $1 t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m| before = $1 char = $2 if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/ m else before + char end } if t != s puts file File.open(file, 'w').write(t) end } } Change-Id: I919da493d0629b719d328e5e71c96a29d230dfd1 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
* | Port to new connect apiMontel Laurent2015-01-295-12/+18
| | | | | | | | | | Change-Id: I603fc2e3fda624c913e432d5059c86d96c3e2c3b Reviewed-by: hjk <hjk@theqtcompany.com>