aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/locator/javascriptfilter.h
Commit message (Collapse)AuthorAgeFilesLines
* JavaScriptFilter: Use QScriptEngine to avoid endless loopsAndre Hartmann2018-02-021-2/+2
| | | | | | | | | | | | | | | | QJSEngine does not provide a means to interrupt the evaluation when then engine stucks in an endless loop. The (deprecated) QScriptEngine does allow this, so use this for now. As QBS also needs QScriptEngine, no extra dependency is created. For Qt installations without QtScript, the JavaScriptFilter is not compiled. Task-number: QTCREATORBUG-19690 Change-Id: I172b7e7042eea0d40a765c836b2d1c57b6a529e6 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* JavaScriptFilter: Add engine resetAndre Hartmann2018-01-231-1/+3
| | | | | | Change-Id: I80c0e1c9270c9a67aa2494eeab1ccd942bf1885e Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Locator: Allow simple calculations by using QJSEngineAndre Hartmann2018-01-161-0/+58
Task-number: QTCREATORBUG-14380 Change-Id: I807441ce00991856b3510a6793b454eb3c6a6c30 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>