summaryrefslogtreecommitdiff
path: root/src/plugins/qmljstools/qmlconsolemanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move QmlConsole to Debuggerhjk2015-12-091-146/+0
| | | | | | | | | | | Now it is closer to its only user and possibly reusable for no-QML uses there. We also drop the QML/JS syntax checker. The application being debugged can already tell us about syntax errors. There is no need to duplicate that functionality. Change-Id: I2ba151f9f4c854c6119ba5462c21be40bddcebf9 Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
* QmlJS: Flash the console when warnings are printed.Ulf Hermann2015-12-081-0/+2
| | | | | Change-Id: I9333e9d20a8d742ef0a0fcf2164bc6a127f77768 Reviewed-by: hjk <hjk@theqtcompany.com>
* QmlJS: Lazy-load console items to allow for recursionUlf Hermann2015-08-251-54/+7
| | | | | | | | | | | | | Using Utils:TreeView automatically gives us the capability for loading item as they are expanded. This way we can show recursive structure in the console as well as load data from the debug server on demand. Also, properly print error messages received from unsuccessful command evaluations. Task-number: QTCREATORBUG-14931 Change-Id: I66d440eedd9723b04670169b27db1ee18f3f2891 Reviewed-by: hjk <hjk@theqtcompany.com>
* QmlDesigner: Remove unneeded qualificationsOrgad Shaneh2015-02-181-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: I492792bb9e5655c55795e938031efc557c9a462f Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* QString(QLatin1String()) -> QString::fromLatin1()Alessandro Portale2014-05-091-1/+1
| | | | | Change-Id: I93bdd926ca1c7a37a298335711069d985f1f91dd Reviewed-by: hjk <hjk121@nokiamail.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Incremented year in copyright infoRobert Loehning2013-02-011-1/+1
| | | | | Change-Id: Ia11f4d7a94465de7f12cc390855e54e3256e5455 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Remove internal class QmlConsoleModel from public header.Friedemann Kleint2013-01-301-0/+1
| | | | | Change-Id: Ie0ba0168c1973f8ffef193c6e32a9d3f34c25146 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
* tr()-Fixes: Fix translation contexts.Friedemann Kleint2013-01-291-1/+3
| | | | | Change-Id: Ic043a097947a80e2fb5cb381c585375c4e5f5eef Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* QML/JS Console: Evaluate when debugging QMLAurindam Jana2012-11-271-5/+2
| | | | | | | | Evaluate expressions when debugging a QML applications. In other cases, an error message is shown. Change-Id: I520986f53ff9957711ae406aeaa4f52f982ed3cb Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
* Debugger: Remove the dependence on QmlJSToolsAurindam Jana2012-10-091-28/+25
| | | | | Change-Id: I26765134c19b9a6cf1e7ad26f313e2d4f8faf258 Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
* License changesTobias Hunger2012-10-091-20/+19
| | | | | Change-Id: Ie8d2adaa2b20473d2e3e16d1f44ad951ff2744be Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* ScriptConsole: Set empty context when not debuggingAurindam Jana2012-10-051-0/+2
| | | | | Change-Id: I63d110cc76e166db44870853fa3b168167f9760b Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
* ScriptConsole: Missing HeadersAurindam Jana2012-10-051-0/+30
| | | | | Change-Id: I2090fb58442ae9382220e85515188656f74e7e21 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
* ScriptConsole: Move from Debugger to QmlJSToolsAurindam Jana2012-10-051-0/+162
The console is now a part of qmljstools plugin. The console appears as an output pane. A dummy QScriptEngine evaluates expressions when a declarative debug session is not in progress. During a debug session, the expressions are evaluated by the debug services. Task-Number: QTCREATORBUG-7402 Change-Id: Ic2eeac44fb335c706be03b89f8672b0356efe984 Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com> Reviewed-by: hjk <qthjk@ovi.com>