Commit Graph

7732 Commits

Author SHA1 Message Date
Alessandro Portale
1b15ba8614 Mass Qt Quick App generator.
First usage: convert QML examples into c++ projects.
2010-11-15 22:15:48 +01:00
Alessandro Portale
606aba3659 Moved some functions to helpers.cpp 2010-11-15 22:15:48 +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
con
71fd308c61 Move extension system auto tests. 2010-11-08 15:12:06 +01:00
con
06afc48da1 Make extension system tests running again. 2010-11-08 15:12:06 +01:00
Christian Kamm
1920372280 Move ast dump tools from tests/manual to tests/tools.
Reviewed-by: Friedemann Kleint
2010-11-05 09:25:12 +01:00
Christian Kamm
d2468a4491 C++ indenter: Fix for GNU and Whitesmiths style switch statement.
Task-number: QTCREATORBUG-2994
2010-11-04 14:09:47 +01:00
Friedemann Kleint
338a349dff Debugger: Move tools out of tests/manual. into test/tools. 2010-11-04 13:45:42 +01:00
Friedemann Kleint
dd7b0fcf00 Debugger: Remove obsolete trk testing playground.
Acked-By: hjk
2010-11-04 13:41:39 +01:00
hjk
05c9ea021e fakevim: restore "cheap build" capability of the manual "test" 2010-11-04 09:55:04 +01:00
Bill King
42c083cd5a tests: fixes compile 2010-11-04 10:06:06 +10:00
Oswald Buddenhagen
65650b26a5 make shellQuote() nicer
- unify unix and windows paths
- on windows:
  - we don't need to care for trailing backslashes, as we never append
    directly to quoted strings
  - simplify, as this doesn't need to be fast.
    unfortunately, it's impossible to use
      ret.replace(QRegExp(QLatin1String("(\\\\*)$")), QLatin1String("\"\\1"));
    as that matches foo\ twice (once one backslash and once an empty
    string).
2010-11-03 17:45:59 +01:00
Tobias Hunger
cf3a418cd8 Fix spelling in comments
Krazy was complaining about those.
2010-11-03 12:45:34 +01:00
Robert Loehning
78fc8e3047 Compile fix
Reviewed-by: hjk
2010-11-02 13:13:15 +01:00
Friedemann Kleint
5a5d464160 Debugger: Make manual CCDB test compile again. 2010-11-02 11:33:22 +01:00
con
a031112bef Add auto test for file search. 2010-11-02 11:13:43 +01:00
con
beaff08200 Fix test compilation on Mac by using rpath. 2010-11-01 15:10:44 +01:00
con
59c301a8c8 Make tests compile on Mac. Use qtLibraryName instead of qtLibraryTarget.
qtLibraryTarget is only defined if used with TEMPLATE=lib, which makes
it fail in pri files that are used for app pro files. The tests still
don't run because of run time linking issues.
2010-11-01 14:55:37 +01:00
Oswald Buddenhagen
a9ff4d3749 Merge remote branch 'origin/2.1'
Conflicts:
	doc/qtcreator.qdoc
2010-11-01 12:11:03 +01:00
Bill King
2c84d4c9d6 tests: more autotest cleanup 2010-11-01 13:58:04 +10:00
Bill King
bc04081622 tests: make qmakeable again 2010-11-01 11:43:36 +10:00
Bill King
f928757517 tests: Allow tests to use creator libs/plugins directly (linux/mac) 2010-11-01 11:40:20 +10:00
Kai Koehne
c4ca0060e3 QmlProject: Don't use RegExp for simple wildcard matching
QRegExp matching is quite expensive, and has to be done for every file
in the project directory tree against all possible suffixes. Optimize
for the common case that the pattern is "*.suffix" by doing a
fileName.endsWidth(suffix) in this case.

This speeds up loading of examples/declarative/declarative.qmlproject by
about 30%.

Reviewed-by: Christian Kamm
2010-10-29 09:41:20 +02:00
Christian Kandeler
4b4e591ff6 SSH: Add test for remote process execution.
Task-number: QTCREATORBUG-2706
2010-10-28 15:04:41 +02:00
hjk
912ad8989e debugger: remove a two more cases of the RVO bug
Reviewed-by: dt
Task-number: QTCREATORBUG-2921
2010-10-27 17:52:53 +02:00
hjk
26339061e3 debugger: add python dumpers for __m128 2010-10-26 10:41:11 +02:00
hjk
d599dc1f0f debugger: add manual test for default constructed QTextCursor 2010-10-26 10:41:11 +02:00
Oswald Buddenhagen
35bb61590d Merge remote branch 'origin/2.1'
Conflicts:
	doc/qtcreator.qdoc
	share/qtcreator/templates/mobileapp/app.pro
2010-10-25 11:27:30 +02:00
Bill King
2ede8e3c16 tests: get tst_codegen running again, if not passing yet. 2010-10-21 14:52:56 +10:00
Bill King
524a9ac4a8 tests: more test project cleanup 2010-10-21 14:49:58 +10:00
Christian Kamm
e7a6bae170 C++ indenter: Add autotest for C++0x 'for' statement.
Reviewed-by: trustme
2010-10-20 10:51:13 +02:00
Bill King
d95f3324c7 tests: remove unnecessary TARGET = tst_$$TARGET
"CONFIG += testcase" does this for us, and is the proper way to do this.
2010-10-20 15:03:01 +10:00
Bill King
5217ca8096 tests: get qmldesigner coretest running again 2010-10-20 14:57:07 +10:00
Bill King
54c8a2e5b5 Tests: Get autotests compiling again. 2010-10-20 14:16:04 +10:00
Christian Kamm
5ac981a0ac C++ indenter: Fix indentation after namespace aliases.
Task-number: QTCREATORBUG-2574
Reviewed-by: Roberto Raggi
2010-10-19 12:49:43 +02:00
dt
552a2d0226 Merge remote branch 'origin/2.1' 2010-10-12 18:09:25 +02:00
hjk
88ba37f80f debugger: add explanation to "Type format" manual test
Reviewed-by: Friedemann Kleint
2010-10-12 11:55:59 +02:00
hjk
403364018a debugger: fix typos in complex watcher handling
Reviewed-by: Friedemann Kleint
2010-10-12 10:57:13 +02:00
Bill King
9293453ced Merge branch '2.1'
Conflicts:
	tests/auto/fakevim/fakevim.pro
2010-10-12 10:01:27 +02:00
Leandro Melo
2d245f8194 Generic highlighter: Fix autotest.
Reviewed-by: Bill King
2010-10-11 16:49:52 +02:00
hjk
41ee5dcc52 fakevim: make autotests compile 2010-10-11 16:22:23 +02:00
Bill King
ef516bf46a Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline 2010-10-11 15:57:29 +02:00
Bill King
aeecc6067b autotests: removed as it's unuseably out of date 2010-10-11 15:57:18 +02:00
Christian Kandeler
a48139b8d0 SSH: Fix SshConnection::error signal connections.
I recently changed the signal argument, but forgot to update
some of the points of use.

Reviewed-by: kh1
2010-10-11 15:43:00 +02:00
con
d2a91ed1a0 Use the encoding settings when doing multi-file searches.
Task-number: QTCREATORBUG-65
2010-10-11 14:25:22 +02:00
Christian Kamm
b78c1ef6da Merge remote branch 'origin/2.1'
Conflicts:
	README
	doc/qt-html-templates.qdocconf
	doc/qtcreator.qdoc
	doc/qtcreator.qdocconf
	share/qtcreator/templates/wizards/qtcreatorplugin/MyPlugin.pluginspec
	src/app/Info.plist
	src/plugins/bineditor/BinEditor.pluginspec
	src/plugins/bookmarks/Bookmarks.pluginspec
	src/plugins/classview/ClassView.pluginspec
	src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec
	src/plugins/coreplugin/Core.pluginspec
	src/plugins/coreplugin/coreconstants.h
	src/plugins/cpaster/CodePaster.pluginspec
	src/plugins/cppeditor/CppEditor.pluginspec
	src/plugins/cpptools/CppTools.pluginspec
	src/plugins/cvs/CVS.pluginspec
	src/plugins/debugger/Debugger.pluginspec
	src/plugins/debugger/breakhandler.cpp
	src/plugins/designer/Designer.pluginspec
	src/plugins/fakevim/FakeVim.pluginspec
	src/plugins/find/Find.pluginspec
	src/plugins/genericprojectmanager/GenericProjectManager.pluginspec
	src/plugins/git/ScmGit.pluginspec
	src/plugins/helloworld/HelloWorld.pluginspec
	src/plugins/help/Help.pluginspec
	src/plugins/imageviewer/ImageViewer.pluginspec
	src/plugins/locator/Locator.pluginspec
	src/plugins/mercurial/Mercurial.pluginspec
	src/plugins/perforce/Perforce.pluginspec
	src/plugins/projectexplorer/ProjectExplorer.pluginspec
	src/plugins/qmldesigner/QmlDesigner.pluginspec
	src/plugins/qmljseditor/QmlJSEditor.pluginspec
	src/plugins/qmljsinspector/QmlJSInspector.pluginspec
	src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec
	src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
	src/plugins/regexp/RegExp.pluginspec
	src/plugins/resourceeditor/ResourceEditor.pluginspec
	src/plugins/snippets/Snippets.pluginspec
	src/plugins/subversion/Subversion.pluginspec
	src/plugins/tasklist/TaskList.pluginspec
	src/plugins/texteditor/TextEditor.pluginspec
	src/plugins/vcsbase/VCSBase.pluginspec
	src/plugins/welcome/Welcome.pluginspec
	tests/auto/cplusplus/codeformatter/tst_codeformatter.cpp
	tests/manual/fakevim/fakevim.pro
	tests/manual/ssh/errorhandling/main.cpp
2010-10-11 14:16:33 +02:00
hjk
6d0f0c7cd3 debugger: fix auto tests
Reviewed-by: Friedemann Kleint
2010-10-11 12:35:30 +02:00
hjk
373da663a4 debugger: compile fix for manual test 2010-10-08 14:56:17 +02:00