Commit Graph

4400 Commits

Author SHA1 Message Date
Christian Stenger
029b83b8dc Squish: Fix suite_general
Change-Id: I4e1458555a971d21e42a071e2fc0b135b0b1e91c
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-14 11:19:54 +00:00
Robert Loehning
f1af0c4f39 Squish: Tiny update to tst_cli_output_console
Change-Id: I26409008831afb70031591a599e0fa3d47d05f38
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-14 11:04:50 +00:00
Robert Loehning
b2ba98d988 Squish: Remove BlackBerry
Change-Id: If79d09f44f682e8fa7ee7b71e265696ecc998337
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-14 10:54:50 +00:00
Robert Loehning
e34148ba75 Squish: Update tst_git_local
Change-Id: I26a0e497382a602e99811e77a7f1b5cebc57a946
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-14 08:30:39 +00:00
Andrey Pokrovskiy
9f29762d34 ANSI: Crash in AnsiEscapeCodeHandler::parseText
Qt creator crashes when capturing output from a program that can output
unfinished control sequence. For example: "\x1b".

Task-number: QTCREATORBUG-14720
Change-Id: I7535e509a192685aece63aea79234d88153fcb56
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: wonder.mice <wonder.mice@gmail.com>
2015-07-14 03:42:50 +00:00
Marco Bubke
16ab843f95 Clang: Add qt.widgets and qt.gui to unittests
Change-Id: I52d1a5dce514daaf3de1262e3368addda7588d81
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-07-13 15:55:28 +00:00
Christian Stenger
f54b7d63cc Squish: Fix tst_simple_analyze
Change-Id: Iac334d37a1cf6a85d4f85d09165503f9bca8ce91
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-13 14:43:11 +00:00
Christian Stenger
f5b9a2f4ef Squish: Fix tst_simple_debug
Change-Id: I8d90c0279d73a1902627d76388a5fa5497fb520d
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-10 14:55:29 +00:00
Christian Stenger
a32a9b3d2a Squish: Fix tst_qml_locals
Change-Id: I1667d966e2686dd3de8ef495d3db7b10d0b6aa5e
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-10 11:30:04 +00:00
Christian Stenger
67371fcd3a Squish: Remove workaround
Change-Id: I2744c44dda2ef31b7e94dc3328e40538a7a24f40
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-10 11:27:23 +00:00
Robert Loehning
f8afdf06bb Squish: Check for QML runtime errors
Change-Id: I5b5d854a8bbadfbd4076af1cfdd3e356d763da29
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-10 09:42:26 +00:00
Christian Stenger
6b471b2b04 Squish: Fix tst_qml_js_console
Change-Id: Ief0cc9622572b79eec402be5a39816f329dc1e22
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-10 04:53:45 +00:00
Christian Stenger
7901601eb0 Squish: Simplify __selectTreeItemOnBuildAndRun__()
Change-Id: If1bc3f610cd59041fb4e6ce9edd38354f73b141d
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-09 14:00:37 +00:00
Christian Stenger
9cb59772dc Squish: QmlProjectManager is re-enabled by default
Change-Id: I91e12547843053c5de5ab5bd1af88977e937f80e
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-09 13:53:32 +00:00
Christian Stenger
b78e3e7ff5 Squish: Fix suite_qtquick
Change-Id: Ibafa3d9871ba95ada52a270a018ce7a5106db312
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-09 13:53:14 +00:00
Robert Loehning
7e30a74d41 QmlDesigner: Remove unsupported testfiles
Change-Id: I236b26646752783d4956f3c290d1e6463bef5efa
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2015-07-09 09:56:11 +00:00
hjk
5b583ad67e Debugger: Add dumper for QUuid
Change-Id: I171ac0130009b9610c766deaa2d85aa095e33d6f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-07-09 06:54:01 +00:00
Marco Bubke
dd89d731cf Clang: Extract and test action sequence
Change-Id: I66f8f29d7b17be67a55560bdcc0b0a3aeb1ce480
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-07-08 12:29:20 +00:00
hjk
094b49281c Debugger: Adjust one more test to new base class sorting
Change-Id: I0e073f2474bd9f182b2e5c86ecb121aa350fb92d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-08 09:25:25 +00:00
Christian Kandeler
153bfbba0e qbs project files: Do not use "base" inside groups.
Change-Id: Ifd3df06840b9bcf06ca8c21b62e67a9decd88bee
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-07-07 14:53:38 +00:00
hjk
e2b0641f28 Debugger: Adjust tests after change to member sort order
Change-Id: Iff3b9781ad9842b325d346a77514aa7a935d4570
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-07 14:12:28 +00:00
hjk
68a707458b Debugger: Remove workaround for older LLDB
... that breaks QHash display for keys with value 0.

Task-number: QTCREATORBUG-14451
Change-Id: I8578d9f1d14c367beaccabc5373bd75860ee454b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-07 13:44:54 +00:00
Tobias Hunger
2e6855249f PNG: Run pngcrush on images with iCCP or sRGB profiles
This quietens warnings from libPNG during startup and shrinks the
image sizes.

Change-Id: Ieb4cb5e8ba30b99653896e283c2fb2cc267257f2
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-07-03 09:50:46 +00:00
Christian Stenger
cf52ab6bac Squish: First fix for createNewNonQtProject()
Change-Id: I0c6d76f0740e8abaf7980b67156fd52388aba3eb
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-02 13:30:29 +00:00
Nikolai Kosjar
9e4a4586f9 Clang: Tests: Fix unit tests compilation on Windows
Change-Id: Id9e51de3b2bcb273fd2268ba7f7192f80dee1f53
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-07-02 13:16:16 +00:00
hjk
fdde69a5a5 Debugger: Add dumper for various QJson* classes
Needed to debug the QmlDebugger.

Change-Id: Ia0b50dac2146fcc81990b78eb8de30c8e763bba2
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-02 06:58:04 +00:00
Christian Stenger
1f1e0e3b83 Squish: Fix suite_CSUP
Change-Id: I0fecbb1ea1853fca231b68de7bc28aceb4289065
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-01 10:12:19 +00:00
Robert Loehning
df35fe0fd9 Squish: Shorten tst_qml_indent
Change-Id: I30dadda017415440609b03e97b45b03f4bac9bbf
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-07-01 10:07:53 +00:00
Christian Stenger
7f687783f3 Squish: Fix tst_qml_indent
Change-Id: I386312967e760017623b2f3d48f69ad38d9ff0d7
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-01 04:41:48 +00:00
Christian Stenger
e2adf9b7bb Squish: Fix tst_HELP05
Additionally move Qt5Path helper class into classes.py as it's now
used in more than one test suite.

Change-Id: I0a1faed7fa8c082316c5568e4150091812af8979
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-07-01 04:41:26 +00:00
Robert Loehning
f0602e4ddd Squish: Don't check for Resolution of "Invalid" bug report
Change-Id: Iae6f066cf52f1e520a8f0dc3a24261387ae2ec10
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-06-30 12:07:47 +00:00
Christian Stenger
d710e73084 Squish: Fix tst_APTW03
Change-Id: I88383be83b518de6363a53bb6102f1f302fac1cf
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-06-30 04:53:47 +00:00
Christian Stenger
48fd79cb0b Squish: Fix suite_QMLS
Change-Id: I2e9fffd35571c4aef62dc27330425f4bf6ac9a68
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-06-29 13:55:56 +00:00
Orgad Shaneh
a77e32800c C++: Ignore explicit template instantiations
Defined in section 14.7.2 of the standard.

Fixes completion for std::string.

The following explicit instantiation appears in bits/basic_string.tcc:
  extern template class basic_string<char>;

This is wrongfully considered a specialization for a forward declaration
(like `template<> class basic_string<char>` is).

Introduce a new Symbol type for explicit instantiations.

Use-case:
template<class T>
struct Foo { T bar; };

template class Foo<int>;

void func()
{
    Foo<int> foo;
    foo.bar; // bar not highlighted
}

Change-Id: I9e35c8c32f6b78fc87b4f4f1fc903b42cfbd2c2b
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-06-29 09:22:08 +00:00
Christian Kandeler
28e163de97 SSH: Fix exit code of tests.
The test apps now return != 0 in case of an error.

Change-Id: I2380bc4b8e0c85e68d79f90ccc39ad9419851b04
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-06-29 08:59:09 +00:00
Christian Kandeler
eb848eb89f Valgrind: Introduce Frame::filePath().
Change-Id: I40d1b7f739ea905bbcca1a388bada3e077b7c137
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-06-26 13:29:38 +00:00
Nikolai Kosjar
2eb3bda5a8 Clang: Indicate lines from ClangBackEnd
...with a prefix.

Change-Id: I6e23e00254d7b7316057514d1234cde66ab44a0d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-06-26 07:56:44 +00:00
Robert Loehning
96f03dc09d Squish: Update suite_SCOM
Change-Id: I341efe4dc6440f8d8773a27a3dcc754c1151241c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-06-19 12:37:07 +00:00
Robert Loehning
fe34bf5c1c Squish: Update tst_git_clone
Change-Id: I5af8398893ac89f56245d67978ca4c1df6fce009
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-06-19 12:14:56 +00:00
Robert Loehning
aa0d68ec3e Squish: Remove compatibility code for Qt 5.3
Creator 3.5 needs Qt 5.4 at least.

Change-Id: Ie37447ff612cc7294cbd8dcca17e81997e4f9328
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-06-19 08:49:34 +00:00
Eike Ziller
4dd95aa5d4 Merge remote-tracking branch 'origin/3.4'
Change-Id: Id13cbdf2f7047366e543c91fbe7c21a9c4759e56
2015-06-17 12:04:21 +02:00
Robert Loehning
13daaaac67 Squish: Update tst_git_first_commit and tst_git_local
Change-Id: I5e7a1c3be4fe7fab848c98abdf52d3b9af318047
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-06-16 16:15:23 +00:00
Robert Loehning
50c6343615 Squish: Remove outdated kit handling code
Change-Id: I69f1b6d0d27e9330ff23de0b9d5a09ef02f353ac
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-06-16 14:44:25 +00:00
Marco Bubke
2b84d7611b Clang: Reorder includes
Change-Id: I324e88c0d295114390c1fac2745c0d2d47637ece
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-06-16 13:53:30 +00:00
Marco Bubke
1402c067b1 Clang: Rename CodeModelBackEnd in ClangBackEnd
Change-Id: I13e8a458634110456375956d4d4da7239c86957f
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-06-16 13:29:27 +00:00
Marco Bubke
9f2ed3b9da CmbIpc: Add unit tests for partial commands
Change-Id: Id5b073d6d3ba89eb4949137336e7648b709909a8
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-06-15 12:38:20 +00:00
Marco Bubke
29b96af1cb Cmb: Remove white spaces around operators
Change-Id: Icad10f930a5e67b90fc2addcf9625116069ff7a6
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-06-10 14:41:13 +00:00
hjk
0c4e8328c9 Valgrind: Modernize test connections
Change-Id: I945bee28f04c1bba225a8c6a6f785b6cc5c9ac95
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-06-10 06:09:40 +00:00
Orgad Shaneh
3fe1b92566 CppTools: Fix highlighting and follow for template using argument
Use-case:
template<class T>
using Foo = Bar<T>; // T not highlighted

Task-number: QTCREATORBUG-9944
Change-Id: I04cb62ea6a21f158f7fb4fb7ac79ccd6eb1bbfbb
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-06-09 11:31:40 +00:00
Marco Bubke
e2f8a9883b Introduce codemodelbackend process and library
This is a partial result of wip/clang-oop. More will follow.

This allows us to invoke the completion out of the Qt Creator process
and thus safes us as against libclang crashes.

At this point only the completion use case is supported.

Some notes on the individual components:

 src/libs/codemodelbackendipc
  * library encapsulating the inter process communication handling
  * used by the backend application and in a follow-up change by the
    creator integration

 src/libs/3rdparty/sqlite
  * version 3.8.10.2
  * dependency of codemodelbackendipc, will be used to storage indexing
    data, among others

 src/tools/codemodelbackend
  * the backend application

 tests/unit:
  * unit tests

Change-Id: I91a48e27467581a22fb760a18d8eb926008fea60
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-06-03 14:22:09 +00:00