Commit Graph

1485 Commits

Author SHA1 Message Date
hjk
1731911c40 debugger: implement gdb python dumper fuer std::array
Change-Id: I32d353ec332d39fa80fab9780a0b084156842666
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-04 01:02:27 +01:00
hjk
e15912d7fe debugger: implement dumper for std::complex
Change-Id: I75905e26930b02df077f6b62f837855b83b4d8d8
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 20:58:05 +01:00
Robert Loehning
0286148a14 Squish: Fix using file dialogs
Because of the proposals the file dialog makes
when typing into the line edit selectFromFileDialog()
seems to fail sometimes (in Jenkins and on my machine).

Change-Id: Iea098016075e9a8471bd85f585e473fa8dd3bf6a
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-03 16:24:21 +01:00
Christian Kandeler
24b4b0cfca SSH: Add SFTP-based remote file system model.
- Read-only for now.
- Should get features such as download(QModelIndex) etc.

Change-Id: I491674484b9dbc729b1ffc762bd8e489a613dd25
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 16:23:12 +01:00
hjk
56401457fd debugger: add semi-automated test to check return values.
Task-number: QTCREATORBUG-6894
Change-Id: I7682e27135a3cbc6011a6241fb7975d549ecd5d6
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 16:03:37 +01:00
hjk
40ace5490d debugger: add semi-automated test for pass-by-reference
Change-Id: Ib3acdef95477180da218f17d441b230c9c894f74
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 16:03:27 +01:00
Roberto Raggi
5fb624b1db Fix semantic of C++ 11 inline namespaces.
Add the declaring `inline' namespace to the `using list' of its
enclosing namespace symbol. This should be enough to ensure
the correct visibility of the symbols declarated in the inlined
namespace.

Change-Id: Id4de74577c498fe439a49709a306ef0deb145988
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-02-03 15:37:17 +01:00
Robert Loehning
1b6a3addcd Squish: Limited number of rows for task file to 100
Change-Id: I05255b3d06cf08fa2e2744105aa88c8510b0f6ef
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-03 14:56:43 +01:00
David Schulz
6d85b53f9c Revert "Editor: Highlight background for whitespaces in strings and comments"
The change brokes the Lexer.
This reverts commit e46a5579d3.

Change-Id: I3363c6eff74b53a7f2d9f417941cde07aaa92619
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-02-03 11:52:01 +01:00
hjk
1fe85174eb debugger: better manual test for std::unique_ptr dumper
Change-Id: I37a2b5ae4089931bd9f9edea8c584024c94c498d
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 19:56:19 +01:00
Erik Verbruggen
1d3dc30153 C++11: add support for static_assert.
Change-Id: I82d8d60acaa9265fd25e0a3734855b19bdef9c06
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-02-02 13:49:22 +01:00
Christian Kandeler
7c0abc29cd SSH: Add SFTP operations needed to implement remote FS traversal.
Change-Id: I3e7b52513211959a976545667e8e8372f2001c7e
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 13:23:37 +01:00
hjk
778108ebd0 debugger: add an (inactive) manual test for the std::unique_ptr dumper
Change-Id: I4876bc81514e48ee61ee17ac8933d71c6a82b545
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 13:19:49 +01:00
David Schulz
094bc85dd0 Fixes for some tests in the simple test for the debugger.
Change-Id: Ieebc1cf6673e2b2b7bffbacb2f0e4dce610b26c9
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-01 16:20:00 +01:00
David Schulz
e46a5579d3 Editor: Highlight background for whitespaces in strings and comments
The whitespaces are now highlighted with the same backgroundcolor as the characters.
Also added a test for the Lexer.

Task-number: QTCREATORBUG-5802

Change-Id: Ic1bcd8cfe30d6b8a0281b7963eaab310f972b9d2
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-02-01 11:17:56 +01:00
Robert Loehning
7dbc6014e3 Squish: Added test for command line output
Change-Id: I4a25f971d41acd5e349e753602d4ae3aaafb4e32
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-31 16:37:31 +01:00
Robert Loehning
2f27c73c8e Squish: Added warning about unusable targets
Change-Id: I2796aaf40d0ffcf89aca085afdc685f57e1b4f76
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-30 17:48:56 +01:00
Eike Ziller
9da98805dd Remove dead code.
Change-Id: Ifb5a14f587358e696eb3e199f5d223832a0c2837
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-30 14:08:19 +01:00
Denis Mingulov
142cee902b TextEditor: Fix incorrect dependency to CppEditor resources
TextEditor BaseHoverHandler::addF1ToToolTip() method has used
a resource from CppEditor (:/cppeditor/images/f1.png), despite
of the inverse official dependecy in PluginSpec file and other
classes.

As it is not used anywhere else - to fix the issue f1.png and
f1.svg are moved from CppEditor to TextEditor.

Change-Id: I14b542837d6337bd08e19ad72cf4a869be08465a
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-01-30 14:06:23 +01:00
Robert Loehning
d2f8baad67 Squish: Fixed selection of generator for CMake project
The generator must match the mkspec of qmake in PATH.

Change-Id: Ibd6d345c202719cdf2a8e8a5e2a5fce470732d5b
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-27 17:23:48 +01:00
Robert Loehning
6b1b47d83c Squish: Let CMake build in temporary directory
Change-Id: Ib2cc65378b74f662652434dd1a65d845ee3fb741
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-27 15:39:21 +01:00
Christian Stenger
591754be7e Squish: Fix minor bugs (mostly on Mac)
This avoids some timing issues as well as a problem
I only saw on Mac: Sometimes Squish fails inside
placeCursorToLine() with 'I don't know how to type on
object of type QmlJSEditor::QmlJSTextEditorWidget'.

Change-Id: Ifc192914375fb37362fa31399be4972c9ce50b92
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-27 13:33:10 +01:00
Robert Loehning
804c4c31a8 Fixed protocol in links to bugreports
Change-Id: I3ee097fbbcf904df854e212eef43f6faf71f2295
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-27 12:29:24 +01:00
Christian Stenger
85d78c2437 Squish: Reset to normal
Don't work around a bug.

Change-Id: I84bd88fa3f0b39fadd1816f39bdd8ba7b8792a90
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-27 09:52:51 +01:00
Daniel Molkentin
b44e541dca bugreports.qt.nokia.com -> bugreports.qt-project.org
Change-Id: Ifc258886f7d6e7d5b02caae8994210aeef221554
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-01-26 19:58:08 +01:00
hjk
2931a499e6 Long live the king!
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-26 19:55:36 +01:00
Tobias Hunger
0df375a08a FileName: Add method to find parent directories
Change-Id: Ia8382e3f7a9312e0878cce041723973ccf751aae
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-25 17:15:17 +01:00
Robert Loehning
c14a4756a9 Squish: Refactored openContextMenuOnTextCursorPosition()
Change-Id: Ie7a903794c11ed32cc1786c66ee0fa8d654a93f2
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-24 17:50:13 +01:00
hjk
923fca21ce debugger: add manual testcase
Task-number: QTCREATORBUG-6858
Change-Id: Ieb9d699c9f8f9db0145dfa961446b90de7a56a98
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-24 13:58:28 +01:00
Christian Stenger
2663f5d34e Squish: Improve cmake test
Change-Id: If6cdae302f29cbfe50eb1355b610e8f120bf7681
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-24 12:53:05 +01:00
hjk
79194c9ff0 debugger: remove spurious .pro message from manual test
Change-Id: Ibc2459c725fe0075e3e0d6032c6bb9f6e1e05270
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-24 11:33:27 +01:00
Kai Koehne
e8241adae3 Debugger: Add simple app to test mixed QML/CPP debugging (QQuick2)
Change-Id: Id744e3306da20bd7e2051ec4c45e3475084b64bc
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-24 10:39:53 +01:00
hjk
918131b6e7 debugger: don't use derived dumpers if already dumping in base
Task-number: QTCREATORBUG-6857
Change-Id: Ie299a98f8e3177d730efb965f31880c6d3dfee54
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-24 09:57:23 +01:00
Christian Stenger
f64a31a09d Squish: Changed fatal to warning
We still have a fallback and jenkins will
mark this as a problem (while it ignores warnings).

Change-Id: Ie33085c844c7ffbe1985a6b867aef00c7ae8c920
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-23 11:59:41 +01:00
Christian Stenger
14a8ad256e Squish: Make QMLViewer test stable on Jenkins
Change-Id: I175d10e1a5c23616801ac2c9be298198c89541b2
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-23 11:58:21 +01:00
Orgad Shaneh
aee8a3ac88 debugger: fix copy-and-pasteo
Change-Id: I99923f9c2a06e8ef3bdb070419b4a19af0ddfa90
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-23 10:23:58 +01:00
Kai Koehne
f7c9b4eeb2 Debugger: Add simple app to test mixed QML/CPP debugging (QQuick1)
Change-Id: I7b7983a795c3c72e611bd6531c84cf498fb15c9f
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 16:18:01 +01:00
Christian Stenger
26796f6024 Squish: Try to make this run on Jenkins
I'm not sure for this - but LD_LIBRARY_PATH is always empty for
me. But inside Jenkins it's set and could mess up the hook into
sub application.

Change-Id: I2f3283f67d60a94083a5eb589abed01b05e66b29
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-20 14:41:10 +01:00
hjk
c828c363b1 debugger: new dumpers for boost::posix_time::{ptime,time_duration}
Task-number: QTCREATORBUG-6834
Change-Id: I494868dd4e8819284dbc7439cff89ffe07f6a958
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 14:38:05 +01:00
Christian Kandeler
b46cdd3729 SSH: Adapt test to an earlier change.
Change-Id: I67504abe9b32443667497c29fb27b555cf5419fc
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-01-20 13:58:55 +01:00
Robert Loehning
36573eda7b Squish: Running tst_build_new_project on more build configs
Change-Id: I413f5393bb8d56842d8132e26123ebe21d89c57a
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-17 16:24:23 +01:00
Robert Loehning
c51a128efb Squish: Fixed typo
Change-Id: I4b694b0ba007ba7f7d6af37857fca57ceecdc4f0
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-17 15:45:05 +01:00
Robert Loehning
73005e6bca Squish: Added functions for switching build configurations
Change-Id: I03eb8987ec28bac7db99395ed91952d8a3a0d038
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-17 15:44:47 +01:00
hjk
3d39451b15 debugger: show address of the target object when auto-dereferencing
Task-number: QTCREATORBUG-6813
Change-Id: Iaf1436a41cd22f46e8a8c369f942a3dba127cc6e
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-16 18:53:40 +01:00
Robert Loehning
ed51dde28b Squish: Fixed and simplified function
Change-Id: I5177202b366f8373dda05cbe8f4b1ae2e529cc5c
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-13 15:20:34 +01:00
Christian Stenger
7524fff3c5 Squish: Fix timing issue on Linux
Change-Id: Ie9ca285bf2ca364db6e56b4aff244b9253d11e67
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-01-13 14:50:02 +01:00
Leandro Melo
c287d90604 C++: Rename source/setSource to utf8Source/setUtf8Source
Continuinng a previous commit... This is in order to make
the interface clearer.

Change-Id: Ic1b05217f878578bc84a064927507b75981c47d6
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-01-13 11:22:28 +01:00
Robert Loehning
dac69143af Squish: Added helper function for opening files
Change-Id: I756822299e591010eb926ee46600f4b5231d9318
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-01-12 12:16:04 +01:00
Christian Stenger
595f4ce2d5 Squish: Don't use expected paths if non-existent
Change-Id: I8685a91f2e821134347ab693d415a7c26cc6c8f6
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-11 11:11:02 +01:00
Christian Stenger
6571e01725 Squish: Only log compile if failed or debug mode
Change-Id: I266fb9b7796d810c98e642d3c7a3f682eb05bf6b
Reviewed-by: Bill King <bill.king@nokia.com>
2012-01-10 17:25:54 +01:00