Commit Graph

45323 Commits

Author SHA1 Message Date
Jochen Becher
c11e58f8f5 ModelEditor: Support auto save
Change-Id: Ifec4cf592c3fbc8cef6f6df13865a35f3e17f531
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-04-05 16:31:50 +00:00
Leena Miettinen
c77abc4230 CMake: Fix capitalization of "CMake Tool"
...to be consistent with the capitalization elsewhere.

Change-Id: I947e2a5bff3a368ee9a456261186325821870552
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-04-05 15:14:30 +00:00
Leena Miettinen
063bdd895c QML Profiler: Fix UI text capitalization
Use book style capitalization for dialog titles and
write "QML Profiler" as two words.

Change-Id: Ia7acfc83e1ef018772982b361e842360db615245
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
2016-04-05 14:32:51 +00:00
Leena Miettinen
c54ae78d7e Project Explorer: Fix message punctuation
Change-Id: I49d569d1051a4bd15bfa74349969174532661714
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
2016-04-05 14:32:24 +00:00
David Schulz
aa2c1cc51a Fix crash caused by invalid text document layout.
Task-number: QTCREATORBUG-15955
Change-Id: I917bf0cc8921fe9dd40f8f58894a5c72e80441ed
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-04-05 13:45:07 +00:00
Leena Miettinen
1b62a10a35 Valgrind: Fix UI text
- Fix typo in product name
- Fix grammar issue
- Use standard phrasing
- Fix capitalization

Change-Id: I0456c60943b51b19d5f03fb2908a7cc5af1f3595
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-04-05 13:41:20 +00:00
Leena Miettinen
e022d8025d Qt Quick Designer: Replace "puppet" with "QML Emulation Layer"
The latter term is used elsewhere in the Option dialog.
Needed to make the dialog wider for the text to fit. Another way
would be to move these options below the other debuggin options.

Change-Id: Ie4f064729acc57ab1fbbba46165e9564f3378f74
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-04-05 12:38:28 +00:00
Leena Miettinen
ca02feedc6 Image Viewer: Fix capitalization for an action
Write prepositions in lower case also in action names, when
they are not the first or last word in the name.

Change-Id: I606b10ff9a08bb8542a03fc5a8a8f19dfd96277e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2016-04-05 12:36:15 +00:00
Leena Miettinen
1ec4bbb029 Clang Static Analyzer: Fix UI text capitalization
Change-Id: I6347b455be55d34f8cd038f618326cfc6d77c582
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2016-04-05 12:04:19 +00:00
Tim Jenssen
3c9a893adc QmlJS: do file name checks with platform independent functions
this fix the polluted output while QtQuickDesigner is opened

Change-Id: Icba0d76ff25ae720b5e3b3ce8cc5cecc45181241
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
2016-04-05 11:29:27 +00:00
Leena Miettinen
4144806f23 Clang Static Analyzer: Fix capitalization of product name
Change-Id: Ia8ecf8042de2d36734cf05aa502c4d2c1b44c2b4
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2016-04-05 11:25:16 +00:00
Leena Miettinen
2954b19c8a Clang Static Analyzer: Fix label capitalization
Use sentence style capitalization for labels.

Change-Id: Ic1e160c18fc429c29003d1f27aa5100fab0752b9
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2016-04-05 11:25:05 +00:00
Thomas Hartmann
b0af88c0dd Fixing crasing Timer
A "raw" QObject (created instead of the Timer) will crash the engine later. Instead we setup
the QObject using createPrimitive().

Task-number: QTCREATORBUG-15916
Change-Id: I5f0dd9c887fd57d492222d221e54f267e12a5044
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-04-05 11:09:07 +00:00
Eike Ziller
3c2f408963 Runextensions/hasCallOperator: Fix build with MSVC2015 Update 2
Looks like MSVC has issues (internal compiler error) with the "templates
in templates" when used from within a namespace, as well as a few other
problems...

Simplify the code paths for hasCallOperator.

Change-Id: I934401a884398967ac95d7e218525cc316d9000a
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-04-05 10:46:17 +00:00
Christian Stenger
f7a1c1caa0 Squish: Disable testing QmlJS console
This has changed too much and must be rewritten.
Due to other issues this is not easily doable, so disabling this
test for now.

Task-number: QTCREATORBUG-15831
Change-Id: If0c7866b1f68a32c0696636fc76aed9bbe2ea921
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2016-04-05 10:21:13 +00:00
Christian Stenger
40b6413201 Debugger: Fix crash on close while debugging
Task-number: QTCREATORBUG-15987
Change-Id: I510add216ec16c0c6622870f26c68c16e99769ed
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-04-05 10:21:03 +00:00
Leena Miettinen
2706348040 QMake: Write "state charts" as two words
Change-Id: I6b0473c6f1029a9a0b99ce5e1a97e84e102d7218
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
2016-04-05 09:55:31 +00:00
Leena Miettinen
838216ab5b QML Profiler: Fix capitalization of UI text
- Qml > QML
- When an icon tooltip can be considered an action name, use
  book style capitalization and no punctuation.

Change-Id: I7ea6f4976f988c462160a4cdbecf14a792f8ca3f
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
2016-04-05 09:55:20 +00:00
Christian Stenger
05c5ed2859 Core: Reset current OutputPanePlaceHolder on deletion...
...to avoid nullptr access

Task-number: QTCREATORBUG-15987
Change-Id: I98da9323d13027192b77d0ba7ac8b846849930f0
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-04-05 08:48:52 +00:00
Robert Loehning
ffac73b952 More contrast between enabled/disabled state of stop icon
Change-Id: I0096535c1cd7de6924046be62c04a4336a013b5a
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-04 14:23:15 +00:00
Christian Stenger
4c5163f675 Squish: Ensure clean state after test run...
...depending on the environment and the present terminal variations
it might be possible that QC leaves terminals with still running
qtcreator_process_stubs open.
Ensure to kill these (and automatically close their terminals).

Task-number: QTCREATORBUG-15749
Change-Id: I0cdbaf000c355443289bf827034ad9884efc2ce7
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2016-04-04 14:06:17 +00:00
Tobias Hunger
9944992345 QmakeProject: Fix crash when deleting while pro-files are being read
Change-Id: I94c069cb806285fa23fc1a702caf620be8413e0b
Task-number: QTCREATORBUG-15954
Task-number: QTCREATORBUG-15993
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-04-04 12:52:48 +00:00
Tobias Hunger
a01a0a4fed QmakeProject: Modernize a bit
Change-Id: I58ba382f5bccc1ce16f55cbd35eb84edf628d62d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-04-04 12:52:22 +00:00
Tobias Hunger
dd9d69f09e Qmake: Unify cleanup of readers in nodes
Change-Id: I2387342667d143235e2b147ba1c0971954b0beb7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-04-04 12:52:16 +00:00
Kai Koehne
dc16ca8552 Remove tcpportsgatherer
Has not been used since a while.

Change-Id: I53cf42d723c2f4d822ad63923b857f119e5cfa58
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-04-04 11:19:42 +00:00
Eike Ziller
a4d0032733 iOS: Make "skipping platform" debug message instead of warning.
Since there are WatchOS/Simulator and TVOS/Simulator nowadays, skipping
these platforms is not worth a warning.

Change-Id: I3671f8e9186dd521887acc81e5e60844bc9e9bcf
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-04-04 10:04:57 +00:00
Eike Ziller
5a2ba4d7c5 README: Update supported platform of binaries.
Change-Id: I6ca56f0bf3dfb7c0208ac85ecd5ab85c041d4c48
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-04-04 09:35:49 +00:00
Christian Stenger
215e2ae60c TextEditor: Fix URL for highlight definitions
Task-number: QTCREATORBUG-15997
Change-Id: Ibd90a8cdcf01892768b8a7fcbec7735d10d7b65c
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-04-04 08:52:16 +00:00
Alessandro Portale
9647a97c66 Default Flat Theme: Improve toolbar separator color
Make it the same as disabled icons, so that they are clearly different
from enabled icons.

Change-Id: I8b467745a91dc94cbf2db1cb9a83c927d90ce5c1
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-04 07:32:40 +00:00
Alessandro Portale
57d01156ed ProgressBar: Conditional highlight and HighDPI fix
This change makes drawing of the highlight above each progress bar
depend on the current Theme::DrawToolBarHighlights flag.

Also some off-by-ones issues in HighDPI are fixed.

Change-Id: I80bb21d001784a8622fff795f3751d7b1697ddf1
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-03 19:55:53 +00:00
Alessandro Portale
3e1c7f6fd5 Flat themes: remove the shadow from pressed manhattan toolbuttons
That's flatter and more consistent with the flat pressed buttons in the
mode bar and status bar.

Change-Id: I29edd2b184b8468005bffe8fe8c9f2e275355df1
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-02 18:25:15 +00:00
Alessandro Portale
14af79932a Core: Dedicated lock/unlock icons for toolbar and documents view
This change enables us to have a variation of the lock icon for toolbars
and for non-toolbars. This gives removes the need for an outlined locked
icon which would work on dark and light backgrounds.

Change-Id: I5b825b11e892928515112f6f49b1b0639862bc42
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-01 23:47:34 +00:00
Alessandro Portale
051ac9dd0e Core: New and themable locked/unlocked icon
This change replaces the existing locked/unlocked icons with Diana's
icons and makes them themable. Now, they fit much better into the UI.
Especially in the dark theme.

Change-Id: I51beb3be202af8f2f467e81701cd5f27a6837d1c
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-01 18:27:42 +00:00
Alessandro Portale
ea1f5d2b6c Icons: Move debug run/interrupt/continue/exit from core to elsewhere
Core contains the small variants of debug run/interrupt/continue/exit
while the bigger icon variants are in projectexplorer or debugger. That
does not seem to have aany reason, at least in today's state of Qt
Creator architecture.

But above all, it stands in the way when changing debugger icons as
planned due to user feedback.

This change moves:

   Core::Icons::DEBUG_START_SMALL
to ProjectExplorer::Icons::DEBUG_START_SMALL

   Core::Icons::DEBUG_EXIT_SMALL
to Debugger::Icons::DEBUG_EXIT_SMALL

   Core::Icons::DEBUG_INTERRUPT_SMALL
to Debugger::Icons::DEBUG_INTERRUPT_SMALL

   Core::Icons::DEBUG_CONTINUE_SMALL
to Debugger::Icons::DEBUG_CONTINUE_SMALL

This change just moves icons across modules but does not change anything
in the UI.

Change-Id: I859b901c312d4d16b6c2f687395a7b48c90aab84
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-01 14:26:03 +00:00
Robert Loehning
59c260d60a Squish: Update Readme
Change-Id: I0588e18ac23a72c596a24e5144c8f531dabbfc8b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-04-01 09:56:29 +00:00
Tobias Hunger
6ea1b07ceb CMake: Simplify reparsing code
This still fixes the parsing issue when switching build configurations,
but the code is simpler.

Change-Id: I5748788224c5b49399550c33bcef592f193cfa8a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-04-01 09:56:27 +00:00
Christian Stenger
c976054fa7 AutoTest: Enable parsing for tests by default
If one enables the plugin it would be most likely to have the
parsing (and related short cuts) enabled as well without the
need to open the navigation widget or results pane.

Change-Id: Ie0624713677bcae67492ac99d25519cc5cfab4a9
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-04-01 09:14:46 +00:00
Christian Stenger
0b37c09270 AutoTest: Increase timeout for progress indicator
This avoids displaying the progress indicator if reparsing the
current document while editing in _most_ cases.

Change-Id: I6b6181e5bda1644367b8dc7576c152d5d6962a71
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-04-01 09:14:41 +00:00
Orgad Shaneh
3805512156 ProjectExplorer: Rename RunConfiguration:Name -> CurrentRun:Name
Similar variables don't contain "Configuration" in their names. For
example: CurrentBuild:Name.

+ make it available globally.

Change-Id: Ie094e2f7afc449d678cf0afec1548350f03ead77
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-04-01 08:35:59 +00:00
David Schulz
1d0e1633c2 cdbext version bump
Change-Id: Ia7d0731cfcab545a7280dc1d5317d64a2e773893
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-04-01 07:33:44 +00:00
Lorenz Haas
72f3f2f45b Beautifier: Fix hidden menu on Linux
Task-number: QTCREATORBUG-15936
Change-Id: Id9387495a8c770167292fa526727f969b7408b2c
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-03-31 15:44:14 +00:00
Robert Loehning
483fcb6ab7 Squish: Update object in tst_session_handling
Change-Id: Ia1f327cf2a69e74d242bf4ad7d7ed8cfd7cd3a34
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-03-31 13:35:15 +00:00
Robert Loehning
d0ad71bb18 Squish: Sort objects
Change-Id: Iff9e700d1c4f392a019803efc407709dd7ccf181
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2016-03-31 13:31:50 +00:00
Christian Stenger
01504e41b8 AutoTest: Avoid invalid parse results
If the document gets updated while typing we can get different
results when fetching the content and using positions inside the
content which might have updated milliseconds later.
Beside fetching only once ensure valid parse results by adding an
additional check for the used visitor.

Change-Id: Id1ba4a139a4dc497be0fbb5cf1f81004f3f8676c
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-03-31 13:21:54 +00:00
Ulf Hermann
2ce3bf8ed4 Help: Disambiguate the HelpPage classes from QtWebKit and WebEngine
This way the help viewers can coexist and the building against a
version of Qt that has both webkit and webengine available doesn't
fail anymore.

Change-Id: I2de00b03fc7b127899cbf90b91fc2cfb090a47a5
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2016-03-31 12:04:43 +00:00
Alessandro Portale
4707fc4945 StyleHelper: Silence warning about wrong format string
Change-Id: Ic31f3ed15a9039098d0e1467fc51487bd0201113
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2016-03-31 11:58:26 +00:00
Alessandro Portale
52a6e03942 Valgrind: Fix callgrind's "Cost format" button
Broke after 0a89b89065

Correct fix seems to me to avoid the whole menu.

Change-Id: I59f1eb859c9045fc5ae9ac1b377b7e69b29af7ae
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-31 11:47:28 +00:00
Nikolai Kosjar
eeb566ef74 CppTools: Update known doxygen commands
...from https://www.stack.nl/~dimitri/doxygen/manual/commands.html

/*!
 * New doxygen that are highlighted and completed:
 * \authors
 * \callergraph
 * \category
 * \cite
 * \copybrief
 * \copydetails
 * \copyright
 * \details
 * \diafile
 * \dir
 * \docbookonly
 * \enddocbookonly
 * \endinternal
 * \endmsc
 * \endparblock
 * \endrtfonly
 * \endsecreflist
 * \enduml
 * \extends
 * \hidecallergraph
 * \hidecallgraph
 * \idlexcept
 * \implements
 * \includelineno
 * \latexinclude
 * \memberof
 * \msc
 * \mscfile
 * \parblock
 * \private
 * \privatesection
 * \protected
 * \protectedsection
 * \protocol
 * \public
 * \publicsection
 * \pure
 * \refitem
 * \related
 * \relatedalso
 * \remark
 * \result
 * \rtfonly
 * \secreflist
 * \startuml
 * \subpage
 * \tparam
 * \vhdlflow
 */

Task-number: QTCREATORBUG-10145
Change-Id: I7cc3ff0d6d58bbd188ca8056302fda790dcbf0ce
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-31 11:46:01 +00:00
Nikolai Kosjar
ed168b2e05 CppTools: Update known qdoc commands
...from http://doc-snapshots.qt.io/qt5-5.7/27-qdoc-commands-alphabetical.html

/*!
 * New qdoc that are highlighted and completed:
 * \annotatedlist
 * \default
 * \div
 * \inherits
 * \inqmlmodule
 * \instantiates
 * \noautolist
 * \qmlabstract
 * \qmlattachedproperty
 * \qmlattachedsignal
 * \qmlbasictype
 * \qmlclass
 * \qmlmethod
 * \qmlmodule
 * \qmlproperty
 * \qmlsignal
 * \qmltype
 * \span
 * \uicontrol
 */

Change-Id: I55b8e83814a6008b6580a6e50ca780b257d4197b
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-31 11:45:53 +00:00
Nikolai Kosjar
24640a6e4e CppTools: Sort doxygen commands
We will update them, so having them sorted is better for finding
duplicates.

Change-Id: I1159ed1f1fce1275d630935a297e85787947ba61
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-31 11:45:46 +00:00