con
10b6b2936b
Make the "sort selection" tool do something.
...
* Handle <input> tag.
* Pass input to running process.
* Search for executable in path.
* Add "CurrentSelection" variable.
Remaining issue: ReplaceSelection output handling.
2011-02-18 17:15:36 +01:00
con
6c69638711
Separate std out and std err handling.
2011-02-18 17:15:36 +01:00
con
371478ffb9
Read external tools from resources and show them in menu.
2011-02-18 17:15:35 +01:00
con
e07e914514
External tools need a uid, e.g. for keyboard shortcuts.
2011-02-18 17:15:35 +01:00
con
965ce7abf0
Read localized description, name and category from external tools
2011-02-18 17:15:34 +01:00
con
740743dc25
Implement an external tool container + xml parsing.
2011-02-18 17:15:34 +01:00
Bill King
3593fe08ae
tests: add licence headers
2011-02-18 14:48:16 +01:00
Bill King
800e962c33
tests: Add a failing test to make sure diagnostic reporting is working.
2011-02-17 17:00:09 +01:00
Bill King
748ea3edb1
Tests: Fix a crash bug.
2011-02-17 16:08:43 +01:00
Bill King
853b16ccee
Tests: cleanup output so that it appears inline with associated test.
2011-02-17 16:08:42 +01:00
Bill King
faa4d4fc69
tests: Remove unused testcase
2011-02-17 13:01:08 +01:00
Bill King
bd92874c29
tests: Don't run the gdb test on win32-msvc. It makes no sense.
2011-02-17 12:13:53 +01:00
Bill King
d2a16578f0
tests: code cleanup
2011-02-17 12:13:53 +01:00
Erik Verbruggen
6d00ff37f3
Added tests for the DiagnosticClient.
2011-02-17 11:20:50 +01:00
Bill King
d6a257f8f9
Tests: Simplify the simplifytest.
2011-02-16 17:37:08 +01:00
Bill King
36c72ac388
Tests: More autotest cleanup.
2011-02-16 17:09:20 +01:00
Friedemann Kleint
695c7836b3
Debugger: Fix autotests for MSVC.
2011-02-14 17:02:16 +01:00
hjk
3b2804d01a
debugger dumpers: compile fix for automated tests
2011-02-14 15:07:42 +01:00
hjk
3f42c75e50
fakevim: shut up an auto test to get a clean test suite run
...
The testing environment seems wrong. It works properly in the real FakeVim.
2011-02-09 14:35:40 +01:00
hjk
c422418f00
fakevim: fix a now succeeding auto test
2011-02-09 14:35:40 +01:00
Christian Kamm
dc1f1cc310
C++: Fix Bind run on QtPropertyDeclarationAST.
...
Also adjust findusages test to account for QtProperty symbol.
Reviewed-by: Erik Verbruggen
2011-02-07 12:18:05 +01:00
Bill King
38d3ddcd5b
Autotests: change to make tests run in-place
...
This change sets the path temporarily on win32 so that the testcases when
executed with "make check" find the necessary dll's in the main build directory.
2011-02-03 17:56:33 +01:00
Bill King
acc3a153d3
autotests: reduce noise.
2011-02-03 17:52:59 +01:00
Erik Verbruggen
be3f3a159d
Corrected fix to the FindUsages auto-tests.
2011-01-20 15:05:27 +01:00
Friedemann Kleint
6b153c8747
Tests: Fix compilation/plugin test.
2011-01-20 14:43:06 +01:00
Christian Kamm
90a44ab1df
QmlJS indenter: Fix object bindings with namespaces.
...
Task-number: QTCREATORBUG-3371
Reviewed-by: Roberto Raggi
2011-01-20 11:32:25 +01:00
Marco Bubke
146d9ede08
QmlDesigner: core test changes
2011-01-19 19:24:42 +01:00
Marco Bubke
4bcd401092
QmlDesigner: Add instance test mode to test
...
For synchronisation to the puppet process.
2011-01-18 19:38:01 +01:00
Marco Bubke
272b86a8de
QmlDesigner: Fix linker error in core tests
2011-01-18 19:36:46 +01:00
Marco Bubke
4dc17bc1bb
QmlDesigner: Test compiles again
...
But not linking
2011-01-18 18:23:43 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
23c22b7c66
License headers, part 2
2010-12-17 17:14:20 +01:00
con
b1bcf081d8
Merge branch '2.1'
...
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
Bill King
16dc934a48
Fixes autotests for windows.
2010-12-14 11:01:17 +10:00
Christian Kamm
5f04fbba1a
QmlJS indenter: Fix for expressions starting with numbers or strings.
...
Reviewed-by: Roberto Raggi
2010-12-09 13:28:43 +01:00
Kai Koehne
c4e4913870
QmlProject: Add mainFile property
...
The mainFile property of QmlProject is the default file to run. People
have still the opportunity to override this in their run settings,
though.
The wizard generated code was updated accordingly. Note that this makes
projects generated by the wizard incompatible with QtCreator 2.1!
Task-number: QTCREATORBUG-3249
2010-12-08 15:08:49 +01:00
Kai Koehne
efcac96f57
QmlProject: Add autotest for Files element
2010-12-08 15:08:49 +01:00
Leandro Melo
b5739e36cb
Gen. highlighter: Improve performance (reg. exp.)
...
Cache matches of the RegExprRule to avoid unnecessary calls.
This is essentially the same optimization existent in Kate.
A colateral effect of this implementation is a mechanism to
notify the rules when a progress (highlight of the current
line) is finished.
2010-12-07 10:17:26 +01:00
Bill King
6b7535d8b3
tests: fixes
2010-12-03 15:04:19 +10:00
Bill King
4507d64345
tests: make compile
2010-12-03 11:14:01 +10:00
Christian Kamm
c5c4bacda9
C++ indenter: Fix labels.
...
Reviewed-by: Roberto Raggi
2010-12-01 10:22:41 +01:00
Friedemann Kleint
2960c735df
Debugger/CPP: Move helpers to simplify types to CPlusPlus-lib.
...
Make available for log simplification, etc.
Add autotest, fix broken std::set and MSVC.
Rubber-stamped-by: Christian Kamm <christian.d.kamm@nokia.com >
2010-11-25 13:51:54 +01:00
Christian Kamm
7a616d5896
C++ indenter: Align to next token instead of end of current.
...
Task-number: QTCREATORBUG-3136
Reviewed-by: Erik Verbruggen
2010-11-22 10:09:39 +01:00
Oswald Buddenhagen
531c70f05b
add Utils::QtcProcess
...
this is a wrapper around QProcess with these features:
- setEnvironment() takes a Utils::Environment instead of a QStringList
- instead of taking a stringlist with arguments, take a single shell
command string which is fully compatible with the system's native
shell (the bourne shell on unix and cmd.exe on windows) - with support
for environment variable expansion, and subject to the shell's
splitting and quoting rules. if the command is too complex (e.g.,
contains redirections), it is transparently executed through a real
shell.
- additionally, the class contains a set of helper functions for
manipulating (constructing, splitting, etc.) shell command lines.
in particular, it contains a shell-safe macro expander and the nested
class ArgIterator which can be used for inspecting and manipulating a
shell command line without going through the stringlist indirection
(which is potentially lossy).
some of this is based on KDE code (KShell and KMacroExpander) which i
have written myself.
2010-11-17 13:19:07 +01:00
Oswald Buddenhagen
9bd95ade08
add generic macro expansion classes & functions to Utils
...
AbstractMacroExpander (any macros), AbstractQtcMacroExpander (%{var}
style macros, which is a hybrid of printf format specifiers and unix
environment expansions) and expandMacros() for the actual string
manipulation.
2010-11-17 13:19:06 +01:00
Oswald Buddenhagen
0641ed0eaa
change Environment::expandVariables() semantics
...
instead of being os-agnostic, interpret the os-native expansion style,
so it is consistent with proper (shell) command lines.
don't interpret quotes, as this function is meant for expanding isolated
filepaths, where nobody would expect quoting. instead, use the windows
style of simply not doing an expansion if a referenced variable is not
found, which should be good enough - it's rather unlikely that something
which happens to be an expansion of an existing variable is actually not
meant to be one.
2010-11-17 13:19:06 +01:00
Thomas Hartmann
f6fb0d82ed
Test: Extend QmlJS code model test.
2010-11-11 11:49:11 +01:00
Christian Kamm
87afbf3933
Add simple stub non-functional autotest.
...
Done-with: Thomas Hartmann
2010-11-11 11:49:10 +01:00
con
ab41c294d0
Make extension system tests work in new location
2010-11-08 15:12:06 +01:00