Commit Graph

580 Commits

Author SHA1 Message Date
Oswald Buddenhagen
4e894f14c0 support tilde expansion under unix
Task-number: QTCREATORBUG-4239
2011-03-28 15:25:01 +02:00
Oswald Buddenhagen
46da406668 don't be tricked by scope blocks with colons
people write strange code ...
2011-03-16 12:24:38 +01:00
Oswald Buddenhagen
00ac132d59 don't accidentally write into scopes
we get no reliable end-of-block location from the token stream, so we
have to do it ourselves. the solution is qmake-worthy, to put it that
way ...

Task-number: QTCREATORBUG-4049
2011-03-16 12:24:38 +01:00
Oswald Buddenhagen
e03dcf1945 plug leaks in test
makes the valgrind output less annoying
2011-03-16 12:24:38 +01:00
Christian Kamm
faff0c8ace C++ indenter: Fix for use of << and >> in parentheses.
Task-number: QTCREATORBUG-4076
2011-03-15 15:05:05 +01:00
Oswald Buddenhagen
7007326837 clean up DEPENDPATH insanity
simply add
  CONFIG += depend_includepath
to qtcreator.pri and remove all the manual DEPENDPATHs, as half of them
were missing anyway, and i wouldn't expect it to ever change. not
touching src/shared/ for syncing reasons.
2011-03-09 22:24:13 +01:00
Oswald Buddenhagen
645b3c46ed remove "Automatically generated by qmake ..." blurbs
they are a bit misleading (and embarrassing ...)
2011-03-09 22:24:13 +01:00
Oswald Buddenhagen
8b6961b77f add scoped editing of pro-files
only simple textual scopes like "unix" are supported. no negation, no
complex scopes, no scope nesting.
2011-03-07 22:11:27 +01:00
Oswald Buddenhagen
fcbbdf9a38 improve ProWriter editing capabilities
- completely replacing existing value lists
- creating assignments instead of appendings
- writing value lists as a single line
2011-03-07 22:11:26 +01:00
Oswald Buddenhagen
846e4d3d1c fix ProWriter test
finally ...
2011-03-07 22:11:26 +01:00
Christian Kamm
c876ad1cad Add tests for type pretty printer.
Mainly to not have unused functions inside the autotest.

Reviewed-by: Bill King
2011-03-02 16:41:58 +01:00
con
0c1d21fb5b Make "modifies current document" its own property. Add some tool tips. 2011-02-18 17:15:39 +01:00
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