Commit Graph

32962 Commits

Author SHA1 Message Date
Orgad Shaneh
6c9ce2b243 Mercurial: Show full commit message on describe
Change-Id: I6631655f2795d887070f5e621ae5e25d72644578
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-11-05 08:33:13 +01:00
Orgad Shaneh
451610ec33 Mercurial: Remove invalid TODOs
Change-Id: I7a4f4aef7d673d784ba7390fb9857a72b61a3799
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-11-05 08:18:55 +01:00
Orgad Shaneh
48b9e10009 Mercurial: Remove unused function
There is still createRepositoryManagementActions, but it can
be used for reference of missing functionality...

Change-Id: I5d4cf71c8bec8034890215a77a8ff9d136475837
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-11-05 08:10:59 +01:00
Christian Stenger
37fe58d9b5 Fix endless loop while executing Core plugin unit test
Change-Id: I6e35bbb7e48594e75e2fa8eadd11ae4b8490f34e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-11-05 08:10:37 +01:00
Orgad Shaneh
499d7219e0 Mercurial: Use explicit namespace in cpp files
Change-Id: Ic6aaa88dfdc33966e0e8007a9420461811ae48c2
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-11-05 08:10:28 +01:00
Robert Loehning
4161e7f9d9 qmljsscopebuilder: avoid warning from clang
Change-Id: I7ea4b8cd971bee1368dec3ce92ef27bf45d4c88b
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
2014-11-04 16:46:45 +01:00
Fawzi Mohamed
826c43a337 xcodeparser: detect replacing signature warning
The “replacing signature” warning of codesign is interpreted by the
LdParser as an error. Handle it in the xcodeparser.

Change-Id: Ic7e654d7d60a5030be309509d27080ab7cb3bd4f
Task-number: QTCREATORBUG-13256
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2014-11-04 16:45:40 +01:00
Orgad Shaneh
75987e1b72 Valgrind: Do not reset events on pause
Change-Id: I28c5e1ab63f4af8d5474d889efc6fcbed9513bb9
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2014-11-04 16:29:36 +01:00
lemelisk
b72a9dd239 CppTools: Fix auto-indent for break in switch statement
Change-Id: I954acb3acc1d7848517a079ffdd254b50052b67d
Task-number: QTCREATORBUG-13155
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2014-11-04 16:18:31 +01:00
Adam Strzelecki
390afc104d CMakeProject: Set file target with most includes
This fixes regression 65c113bcbc that caused
files to be likely assigned to "all" target when all CMake targets were having
sources residing in same directory using Ninja generator. As "all" came first
then it became best match in such case.

This introduces slight modification, so target with most include paths is
chosen from these having best file system proximity to source file. Doing so we
select likely real target and get all #include preprocessor directives resolved
properly in the editor.

Change-Id: Ifb85bb5954b4cf5618a6d8444c993c69ebab2259
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Stephen Kelly <steveire@gmail.com>
2014-11-04 15:36:59 +01:00
Daniel Teske
f0251e7e4f Make Utils::transform more generic
- Works for all container types now, defaulting to
  the same container type for input and output

- Enables specifying the result container type,
  e.g. QSet<X> x = Utils::transform<QSet>(list, function);

- Use our own inserter instead of std::back_inserter,
  to enable usage with QSet<>

Change-Id: I7256e51430bfc1409456c68b6ee270778b95e9d5
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-11-04 15:21:59 +01:00
hjk
55ade84132 Debugger: Do not directly call Engine::notify() functions from other threads
We call updateViews() and similar and therefore need to be in the gui thread.

Change-Id: Ia0e9be59dbcc529341449ba7f64a93cda320ff5b
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
2014-11-04 13:40:18 +01:00
Nikolai Kosjar
334ccfec3e CppEditor: Add tests for FollowSymbol on function calls
Change-Id: I5eeab0415c2f73f698188e91ec553b74c8779eae
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-11-04 13:05:44 +01:00
David Schulz
92b4b64048 Always show title of floating dockwidget.
Task-number:QTCREATORBUG-13325
Change-Id: I07ca3c6061855dcef31071ad3c143413d370b3aa
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-11-04 12:43:09 +01:00
Tobias Hunger
74ce5fff52 Subversion: Improve detection of svn directories
* Subversion was not found when calling the managesDirectory method
  in subversion's top level directory
* Subversion was not found for non-existing directories. This broke
  the wizard's version control support.

Task-number: QTCREATORBUG-7763
Change-Id: Iefbd8e179c48b188e4f079fce8f72ae8b3ec0236
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-11-04 11:55:47 +01:00
Orgad Shaneh
5f5204558e Core: Remove Qt4 compatibility styles
Change-Id: I56195042a49af05833c1ddcf40a91efb569b48b1
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-11-04 10:40:52 +01:00
Thomas Hartmann
bc42628fe7 QmlDesigner: Followup on name change
Change-Id: I805a15c4a6bd95442c48956f8d37e2d00457ca36
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2014-11-04 09:19:53 +01:00
Orgad Shaneh
541762a1a1 C++: Remove unused file
Change-Id: I5e4f03f9a5f80b2697ac1e7a952a8c5b5765aae2
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2014-11-04 08:37:06 +01:00
Eike Ziller
cd5e00034d Help: Fix highlighting of search terms.
It was using the wrong search help engine to get the search terms.
Instead let the search widget itself figure out the search terms, and
pass it directly on to the help widget when activating links.

Change-Id: Ib72220eafca69e92894fe7584b1e4dfd9a42cc7e
Task-number: QTCREATORBUG-13239
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-11-04 07:57:08 +01:00
hjk
d6a7287fb4 FakeVim: Fix line selection for wrapped lines
Task-number: QTCREATORBUG-13102
Change-Id: I0845d98cdbca9a172a3ccda7b5730a7a2d5392b3
Reviewed-by: Lukas Holecek <hluk@email.cz>
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-11-03 20:36:16 +01:00
Tobias Hunger
2c91b3b744 Subversion: Clean up commit message file after failed commit attempts
This prevents creator from claiming there is a ongoing commit when
trying to commit the next time.

Task-number: QTCREATORBUG-13236
Change-Id: Iaeb27db2cbebdeaf97cd410c05cf88c5d437046b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-11-03 15:40:45 +01:00
Tobias Hunger
aca3892b85 Subversion: Force deletion of files
vcsDelete(...) is used after a file is already deleted from the
filesystem (and after asking the user), so it is safe to --force
the removal in svn.

Task-number: QTCREATORBUG-13271
Change-Id: Id3c076987f6518efb186a04d31855b189cfd52ab
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-11-03 15:39:54 +01:00
Tobias Hunger
553ac29f33 Svn: Cosmetics
Change-Id: I6490fda0cdf94c88a6dd6561b65021ee95252736
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2014-11-03 15:37:48 +01:00
Eike Ziller
dcc8b5ea7f Widget Designer: Fix modified state indicator
It failed to update internal state when saving.

Change-Id: I0b260e55dc50fa39958914a0d4fa3f5e73fe1c27
Task-number: QTCREATORBUG-12279
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2014-11-03 14:12:24 +01:00
Eike Ziller
f1c6163e6c TreeViewComboBox: Fix home and end keys in presence of unselectable items
Change-Id: I33ba7677571c4b813c9dc7779f61ad7287826733
Task-number: QTCREATORBUG-13314
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-11-03 12:13:28 +01:00
Nikolai Kosjar
bf3c55be42 ClangCodeModel: Make use of QLoggingCategory
Change-Id: I28d50e224803096c032ae6e387bf1346db4cc216
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
2014-11-03 12:11:04 +01:00
Nikolai Kosjar
9cddeef036 CppTools: Make use of QLoggingCategory
...for document processing and highlighting.

Change-Id: I31d42a5a5010260643ec76688080fd14a486f7e3
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
2014-11-03 12:11:01 +01:00
Nikita Baryshnikov
8d6b43bc2a BinEditor remove m_widget member
As it is stored in IContext, done similar to BaseTextEditor

Change-Id: I858c75f38d55edf9b13e9c04ca2ff1586e06670e
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-11-03 11:26:20 +01:00
Lukas Holecek
de33b3affa FakeVim: Properly replay macro with command line
Change-Id: I40617a1f6d28052e3593c186afb6db1d14222076
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-11-03 11:19:39 +01:00
Eike Ziller
417f8a7caf OS X: Add system requirement OS X 10.7 to Info.plist
Since 10.6 is no longer supported (C++11).
With the explicit system requirement, the user gets a nice message
about minimum system requirements, instead of a comment-less crash at
startup.

Change-Id: I909796ce8c5a303162b7a778311b95ed06a28108
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
2014-11-03 11:19:32 +01:00
Christian Kandeler
d2160e5bce Update qbs submodule.
To HEAD of 1.3 branch.

Change-Id: I4822fd3613eba0be302f1190b5ea2ba05a210b1f
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2014-11-03 10:50:49 +01:00
hjk
9477ed0a3f Introduce and use FileName::exists()
This can use the faster route through QFileInfo::exist now.

Change-Id: Idb41b5d5185d7f02eacba498fb01f483d95e8d57
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-11-03 10:23:09 +01:00
Lukas Holecek
36f94d3661 FakeVim: Properly replay macro with insert mode
Task-number: QTCREATORBUG-13266
Change-Id: Id73e6e561bfa93f43c6839974d6d767164b4dbd8
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-11-03 10:05:07 +01:00
Fawzi Mohamed
c348c8c80d iossim: give also SDK version in verbose mode
Change-Id: If9536e34d7199dde0e2b0f2628062ed500ff6f9c
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-11-03 10:01:25 +01:00
Lukas Holecek
3ebdcdc7bf FakeVim: Simpler handling for command synonyms
Change-Id: Ia0ad19ddd3fcc0aa0c2012b5e7086d40c59c01c3
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-11-03 09:54:15 +01:00
Lukas Holecek
7043706212 FakeVim: Yank wrapped lines with 'Y' an 'yy'
Task-number: QTCREATORBUG-13102
Change-Id: I632dd5113ca8021f67364b92f8f0840e0f15772c
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-11-03 09:53:24 +01:00
Tobias Hunger
2c985096a5 QtVersion: Mark system Qt as autodetectionSource "PATH"
... and use that to retrieve that version again.

This avoids trying to run qmake to make sure it is actually a qmake
and not just some binary with the same name in the PATH.

Change-Id: I7a2c3c85e81c77cc3b56dde088a73e065d03760c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-11-03 09:45:06 +01:00
Tobias Hunger
86d7a980ff JsonWizard: Replace EmptyProjectWizard with a JsonWizard
Change-Id: Ia199a04b535535722a3b47a9651b16635b019cbf
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-11-03 09:44:24 +01:00
Tobias Hunger
b360e73f6a JsonWizard: Use up-to-date file information
This avoids a new project being opened if you are trying to add a new
subproject to some existing project.

Change-Id: Ic5a2f4b0dedbfd6994c59e4944fc32b11d648871
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-11-03 09:44:20 +01:00
Tobias Hunger
e42eb66f1f JsonProjectPage: Pick right directory
Pick the correct directory when the wizard is started via the context
menu of an project node.

Change-Id: Ib2ebba5f796381217673c9030a7b279b6d764a59
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-11-03 09:42:16 +01:00
Tobias Hunger
b9d2fd8eac JsonWizard: Allow enableing/disableing of pages from the Json file
Change-Id: Ic21f0f176f2a82577eaf4a72fbb01c011e1ada2b
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-11-03 09:42:07 +01:00
hjk
a439483d70 Use QFileInfo::exist(f) instead of QFileInfo(f).exists() if possible
Faster.

Change-Id: I91aa67462e11ff3258600d7f158de79942d0dc81
Reviewed-by: Marc Reilly <marc.reilly@gmail.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-11-03 09:31:28 +01:00
Leena Miettinen
1e9b561cae ThemeEditor: fixed some UI strings
Make the strings more consistent.

Use book style capitalization for dialog titles,
button labels, and options in lists.

Change-Id: If6b1df918630d12b677e25ddf0cd314722556e5f
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2014-11-03 09:27:47 +01:00
Orgad Shaneh
9dbc785a80 DiffEditor: Fix parsing of dirty submodule diff
It has no index.

Change-Id: Ifbc06045f3b39245288d15bdf44f8053fe443bc8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2014-11-03 09:23:57 +01:00
Orgad Shaneh
2259aa12f5 Valgrind: Avoid passing empty argument
Change-Id: Id0915718cb6b76c227ded0f418bf3c5aadcb9f35
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-11-03 08:17:36 +01:00
Oliver Wolff
2bfa76120d WinRT: be more verbose about deployment issues
Change-Id: I5a507b2f541e779cd6bcb7ec4f8378013bef82f2
Reviewed-by: Andrew Knight <andrew.knight@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2014-11-03 07:40:25 +01:00
Oliver Wolff
d260f36543 WinRT: Create mapping file for deployment when build is finished
Task-number: QTCREATORBUG-13275
Change-Id: I1fb8b951468793bd6edc0e10e53d708a876c0bf3
Reviewed-by: Andrew Knight <andrew.knight@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2014-11-03 07:40:18 +01:00
Oliver Wolff
9287229d07 WinRT: Remove support for Windows Phone 8.0
Change-Id: I0e738ff7c8e9ef53d4a9a4c1a2105b1a4e974255
Reviewed-by: Andrew Knight <andrew.knight@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2014-11-03 07:40:05 +01:00
Tasuku Suzuki
44606a7c0e change vcs submit editor layout
make it two column layout
left column: VCS widgets and Description
right column: Files

Change-Id: Id9fb7e30d214d2bfad013d385ecfb7c9698fc046
Reviewed-by: Tasuku Suzuki <stasuku@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2014-11-01 22:30:32 +01:00
Fawzi Mohamed
3c84693907 clangparser: remove duplicate LdParser
The superclass GccParser already adds one.

Change-Id: Ib57f9206ab9c7ea3ce0fbd434c828d974392d01b
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2014-10-31 18:08:42 +01:00