summaryrefslogtreecommitdiff
path: root/src/plugins/analyzerbase/analyzersettings.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ProjectExplorer/Analyzer: Merge RunConfigurationAspectshjk2013-08-161-117/+0
| | | | | | | | The Analyzer implementation is now simple and still generic enough to serve as general base. Change-Id: I050a21919bf128929b77a64da1f46d157691d849 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* ISettingsAspect: consolidate data copying in base implementationhjk2013-08-131-0/+9
| | | | | Change-Id: I1eec0f54d05b3f7d8679060faccc14ec8a3777f6 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Analyzer: Rename AbstractAnalyzerSubConfig to ISettingsAspecthjk2013-08-131-13/+12
| | | | | | | | More in line with IRunConfigurationAspect Change-Id: I50a038de004733b6b19d345b30a63cc2db02875a Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* RunConfigurationAspect: Streamline data serializationhjk2013-08-131-4/+5
| | | | | | | Change-Id: I6f49dd9eeff53eafc51bd5238ca655437df12111 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* Analyzer: Cleanup settings handlinghjk2013-08-121-154/+19
| | | | | | | More flexible, less over-engineered this way. Change-Id: I3e224a6be85d3a187056d79fd506e8cf6a32c8a9 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Analyzer: Fix recent regression in aspect creationhjk2013-08-081-1/+1
| | | | | | | Introduced in 15caea1d260273070aaa399c4643da5e68be886f. Change-Id: I04da456928aa2bbf30467770d5a9da35c0e87d9f Reviewed-by: hjk <hjk121@nokiamail.com>
* Analyzer: Handle createProjectSettings outside IAnalyzerToolhjk2013-08-081-6/+13
| | | | | | | Less indirection. Change-Id: If702a0a44c1fc96510fd1c5411fda51660dde10b Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
* Analyzer: Inline Setting::registerTool into its only userhjk2013-08-061-7/+4
| | | | | Change-Id: I10f57785bd26a15aef6fe72f26e7bf28a3a8d31f Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
* RunConfigurationAspects: Move method to create config widgetTobias Hunger2013-04-051-0/+8
| | | | | | | | | | | Move the method used to create a config widget for a RunConfigurationAspect from the RunControlFactory into the aspect itself. This allows for aspects that are not bound to any factory, which is what I eventually want to use to hold the environment for run configurations. Change-Id: Icceb5f44ca9eb63a87b9c7bb6468ff30dab943c2 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* RunConfigurationAspect: Simplify cloneingTobias Hunger2013-03-281-2/+9
| | | | | Change-Id: I21366f932e372c1c0fa8c9d29184e71d1c0cf4a4 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Merge remote-tracking branch 'origin/2.6'Oswald Buddenhagen2013-01-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp src/plugins/qmldesigner/designercore/include/widgetqueryview.h src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qnx/bardescriptormagicmatcher.h src/plugins/qt4projectmanager/profilekeywords.cpp src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
| * Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | | | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Remove braces for single lines of conditionsOrgad Shaneh2013-01-081-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #!/usr/bin/env ruby Dir.glob('**/*.cpp') { |file| # skip ast (excluding paste, astpath, and canv'ast'imer) next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i s = File.read(file) next if s.include?('qlalr') orig = s.dup s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m| res = $& if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces res else res.gsub!('} else', 'else') res.gsub!(/\n +} *\n/m, "\n") res.gsub(/ *{$/, '') end } s.gsub!(/ *$/, '') File.open(file, 'wb').write(s) if s != orig } Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc Reviewed-by: hjk <qthjk@ovi.com>
* | Merge remote-tracking branch 'origin/2.6'Eike Ziller2012-10-051-22/+20
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.cpp share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.h src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessageloghandler.h src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/madde/maemodeployconfigurationwidget.h src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentinfo.h src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp src/plugins/remotelinux/remotelinuxdeploymentdatamodel.h tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/ichecklib_global.h tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h tests/manual/ssh/tunnel/tunnel.h Change-Id: I04d7761df6bd936ad00e0547974284c967d39580
| * Adjust license headershjk2012-10-051-22/+20
| | | | | | | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* | ProjectExplorer: Fix warning.Christian Kandeler2012-10-011-1/+1
| | | | | | | | | | Change-Id: I151ada62c270efa1e5580f5e64fc87439703dfa6 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* | Change and Clone kit functionalityDaniel Teske2012-09-281-1/+19
| | | | | | | | | | Change-Id: Ibdab8d9076d2f9c002cb69ad81809929c8697355 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* | AnalyzerRunConfigurationAspect: Remove not used parent paremeterDaniel Teske2012-09-271-2/+2
|/ | | | | | | Passing a parent would be wrong lead to wrong behaviour. Change-Id: Icffb968b64df6c70dd9a388052f8a424ab0a03f0 Reviewed-by: hjk <qthjk@ovi.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Rename {Analyzer,Debugger}ProjectSettings to *RunConfigurationAspecthjk2012-02-231-7/+7
| | | | | Change-Id: I5913ddaaab1a80b1557f0bcf7ebcc15e0e4b74eb Reviewed-by: hjk <qthjk@ovi.com>
* remove bool return value from IRunConfigurationAspect::fromMaphjk2012-02-221-12/+7
| | | | | Change-Id: I9f909b2209eaf5e81b1475d87219ae63e2741075 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-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!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Use new static ICore interface.hjk2012-01-241-2/+2
| | | | | Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Analyzer: refactor global and project tool settings usage.Nicolas Arnaud-Cormos2011-12-281-16/+13
| | | | | | | | | | | | IAnalyzerTool has now 2 new virtual methods used to create the global and per-project settings. No need to create any static factory method and pass a pointer to them to the AnalyzerGlobalSettings instance anymore. The Valgrind plugin is now using it, the memchecktool creates the settings for all valgrind tools. Change-Id: I3c5845ceb7151130032cfff4ab5b7b36ca2459d9 Reviewed-by: hjk <qthjk@ovi.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Make sensible use of global analyzer settingsEike Ziller2011-08-011-21/+62
| | | | | | | | | | | | Project settings now have the option to use the global settings (on by default), or custom ones. Task-number: QTCREATORBUG-5445 Change-Id: I6602b53a6e7823150773e8461ef9db39b7546e98 Reviewed-on: http://codereview.qt.nokia.com/2163 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
* Valgrind: Remove library and move code into plugin.Friedemann Kleint2011-07-051-1/+0
| | | | | | | | | | Compile on Windows. Change-Id: I54a4df0cee585713979d37fe7b838f5a5cf4a7be Reviewed-on: http://codereview.qt.nokia.com/1150 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* analyzer: simplify AnalyzerSubConfigFactory setuphjk2011-05-181-16/+10
|
* analyzer: cleanuphjk2011-05-181-16/+6
|
* Fixes for valgrind-callgrind feedback by NokiaKevin Funk2011-05-111-4/+4
| | | | | | | Most changes include style fixes and UI changes for better usability. Merge-request: 324 Reviewed-by: hjk <qtc-committer@nokia.com>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Fix more krazy warnings.Friedemann Kleint2011-04-191-3/+3
|
* Update license.hjk2011-04-131-14/+13
|
* Valgrind: Fix coding style issues.Friedemann Kleint2011-03-081-1/+1
| | | | | Header specification, remove internal classes from exported headers, fully qualify signals,slots.
* fix leaks of singletonsMilian Wolff2011-03-041-7/+16
| | | | | Merge-request: 265 Reviewed-by: hjk <qtc-committer@nokia.com>
* cleanup code and follow coding styleMilian Wolff2011-03-041-4/+4
| | | | | Merge-request: 265 Reviewed-by: hjk <qtc-committer@nokia.com>
* Add analyzer base plugin.Mike McQuaid2011-03-041-0/+187
Merge-request: 260 Reviewed-by: hjk <qtc-committer@nokia.com>