Commit Graph

192 Commits

Author SHA1 Message Date
hjk
1e8ffa20d0 Doc: Introduce a macro \macos to adapt to upcoming renamings
Start with an initial value 'macOS' and use in uncontroversial
places in the docs. Some explicit references to older versions
are untouched in this patch.

Change-Id: Ibea4115c45fc2ff2c9a0518d92797df26fd4138f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2016-08-03 15:30:06 +00:00
hjk
39a38d5679 Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce

Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-03-30 15:20:19 +00:00
hjk
1c483b95a6 Doc: Modernize example code a bit
Use Qt 5 connects.

Change-Id: I0e8ae956258892f60a1d12222a081c0fa6577717
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2016-03-15 11:24:49 +00:00
Niels Weber
8ac1f8eb29 Correct capitalization in wizard template and example.
Change-Id: I9a42ea97407179911d1736ba1ca79402d51d24c5
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-02-16 10:59:41 +00:00
Eike Ziller
6ddd0e579f Coding style: Prefer "#pragma once" over header guards
It's not even "modern" anymore ;)

Change-Id: Id0074f58f6ae669e09168274eab4c3c4ef7359dc
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2016-01-26 09:12:17 +00:00
Tobias Hunger
43800a6aa8 Update License according to agreement with Free Qt Foundation
* Update license in documentation files. Stay at FDL, but update
  URLs as well as license for examples, etc.

Change-Id: I5e8cb5a20f0e9d52fba1d937b7c73197d69dd747
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-19 13:09:03 +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
Tobias Hunger
90d26668be Doc: Update wizard development documentation
* Remove stale examples and classes referrenced in the documentation.

Change-Id: I5141f9085b7bd5f3f237faed2ad3a4791d863022
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-07-02 08:39:31 +00:00
Tobias Hunger
ce89190f9a Doc: The Find and Locator plugins got merged into Core
Change-Id: I12a5d96749ed70e2394f1d0716256618c132067f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-07-01 15:13:48 +00:00
Tobias Hunger
66b17772a2 Doc: Polish qtcreator-api.qdoc
Reformat the text, use consistent indentation for tables, use \QC
macro where appropriate.

Change-Id: I2502176cf0a0e1cd414ca088ac5bc800728a70d1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-07-01 10:55:30 +00:00
Tobias Hunger
3bb12d01b4 Doc: Polish qtcreator-dev.qdoc
Reformat the text, fix indentation of lists, use \QC macro where
possible

Change-Id: I0e7f60686aa6b32a6ca3807cbf917cade795fa62
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-07-01 09:45:44 +00:00
Tobias Hunger
ca815c3a34 Doc: Remove section on Qt 4.7
We use Qt 5.x now, so no need to keep that.

Change-Id: I8c84ad10ce5a8b7e166babd2bc3c4ed4a7d78da3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-07-01 08:55:37 +00:00
Tobias Hunger
d7c3572a4b WS only change
Change-Id: Ic9f9b4ab36729c7a4a756892af1b98a51ad3be0a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-24 15:33:26 +00:00
Tobias Hunger
a382d5259d WS only change
Change-Id: If1c12117f79bee1e45c4b2ff64ebe14ad41f1288
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-24 15:33:09 +00:00
Tobias Hunger
637f7dc0be Doc: Polish getting-and-building.qdoc
Some more \c, some cleanups, mostly linebreaks.

No text change.

Change-Id: I16ea8985dba698461ff6cba33d6fa92daf9980ea
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-24 15:32:57 +00:00
Tobias Hunger
38104bf0d4 Doc: Polish first-plugin.qdoc
* Use \uicontrol and \c more
* Break lines
* No text change, but some formatting changes

Change-Id: Ic2d19c2dda6c239e26ce2765c63b9d3f58645485
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-24 15:32:41 +00:00
Tobias Hunger
7b401a1557 Doc: Polish qtcreator-documentation.qdoc
Add a couple of \c's in places and reformat the text where
necessary.

Change-Id: Ib4083af1e9deadcc1c12e94f6ccb77c0432d7ff5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-24 14:20:33 +00:00
Tobias Hunger
649acd35f5 WS only change
Change-Id: I35fb56a500ed6694514c092ed46ab11ef5d8e0df
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-24 08:45:24 +00:00
Tobias Hunger
94756d42c2 WS only change
Change-Id: I922969db94e005fdbcdae74f0b6c78b1707f85e6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-23 13:47:06 +00:00
Tobias Hunger
f8bc493860 Doc: Polish creating plugins
Change-Id: If0692c978e566797391b1a553a76343e605cd2b8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-23 13:47:02 +00:00
Tobias Hunger
d8cd6145c5 WS only change
Change-Id: I3d2992e73e5625a227d8a78a52fb9e9f786a40a1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-23 13:15:42 +00:00
Nikita Baryshnikov
562f305e6a Coding style: note for static declarations
Change-Id: I2736f017e412459270c632a6e021db2edb3b6ab7
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-06-11 10:18:48 +00:00
Christian Kandeler
046fb9a000 API docs: Fix copy/paste artifact.
Change-Id: Ia9b3ba12c8fdd6864ffc2e44fda584bf06ef549f
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-06-10 14:03:42 +00:00
Nikita Baryshnikov
9a40d3c477 Coding style: mention inlined virtual dtors
in exported classes

Change-Id: I9ff274f05e26baa9d4377f69b0ba441606893357
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-06-08 08:44:28 +00:00
Nikita Baryshnikov
b46cf9aaf5 Coding style: update advice
to do not use unique_ptr instead of auto_ptr which was deprecated

Change-Id: If6e5bd25c62184a5d34c0cdedf0206138e32bf28
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-05-27 10:49:12 +00:00
Tobias Hunger
d19c4b6b62 Doc: Update class names in wizard documentation
Change-Id: I82b136d37e6b3b9c9e74aafc105fb0291c605b55
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-26 10:25:08 +00:00
Tobias Hunger
9c1f96d47a IWizardFactory: Remove class wizard kind
Map existing class wizards to file wizards. The separation has never
been clean anyway. Now "file" wizards create one or more files,
"project" wizards create a complete project (something that can be
opened as a project in Qt Creator).

Change-Id: I0562f26019b54a59d46814a13a0b2fa8995c3e0f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-26 10:17:30 +00:00
Daniel Teske
c2a2c4c819 Coding guidelines: Add various C++11 features
Change-Id: I9d3ca28bf8d5d04e04464757420a3c8e30f5dac0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-04-10 14:21:02 +00:00
Eike Ziller
9790d8aa00 Merge remote-tracking branch 'origin/3.4' 2015-03-24 07:40:21 +01:00
Orgad Shaneh
044eeacde5 Load only tested plugins when invoked with -test
By default, a clean settings path is used for test environment.

All the default plugins are loaded, although they're not needed.

This change significantly improves loading time for tests.

Change-Id: I24254f3e538e3f0e6d233d0989738dc1ce238209
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-24 06:22:03 +00:00
Daniel Teske
90e52a4763 Coding Style Lambda: Relax rules on return type
Every compiler we use already implements C++14 behavior.

Change-Id: I524df4955953e0d2c6de270c3d68915025c331ba
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-23 13:24:44 +00:00
Daniel Teske
81ce88cfd0 Coding Style: Update to MSVC 2013, g++ 4.7, clang 3.1
And add stub texts for scoped enums, initializer list and delegating
constructors.

Change-Id: Ic1f9b97b09fa62b890ea3b7be4f2315ea1a72576
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-20 12:23:59 +00:00
Daniel Teske
318e1ca422 Coding Style: Minor tweaks due to scoped enums
- Clarify that int constants should be unscoped enums.
- Require enum values to duplicate the enum's type only
  for unscoped enums.

Change-Id: Ibf63ada3a925c0fe0a364fd408cedc9638cf4708
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-18 16:40:52 +00:00
Eike Ziller
1eeca66c29 Get rid of Gitorious links
That service is discontinued, and we have our own mirror anyhow.

Change-Id: I8a45401e2c0c889d87c675a79ae16684d7c69a7a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-03-10 13:50:48 +00:00
Eike Ziller
86378da3be Merge remote-tracking branch 'origin/3.3' into 3.4
Conflicts:
	src/plugins/debugger/debuggeroptionspage.cpp

Change-Id: I0282d66b16c14877d0131cccbe03573102b48bc3
2015-03-05 13:28:15 +01:00
Leena Miettinen
53a29f5b83 Doc: fix remaining links to Qt wiki in docs
Change-Id: Ia9193cf1870241104bf099ad2e47e3ead4eb43fd
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-03-04 10:49:37 +00:00
Sergio Ahumada
3af3fe7ad3 Replace old qt-project.org wiki with wiki.qt.io
Change-Id: Ie7518d57b62e3f0b9dc6c559fe4a8f5b0212bb43
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-03-03 09:35:41 +00:00
Eike Ziller
767f0ef58b Merge remote-tracking branch 'origin/3.3' into 3.4
Conflicts:
	doc/api/coding-style.qdoc

Change-Id: Id40eb253a2e3e2357276ee76085127da10597bdb
2015-02-25 10:15:28 +01:00
hjk
4699a33837 Coding style: Allow empty lambda parameter lists to be omitted
Change-Id: I6d4e53c5e16b1f25db62a4996fcc3b0298abd720
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-02-24 17:26:12 +00:00
Sergio Ahumada
e84770b794 Adapt documentation URL
Change-Id: I74963a9d4a729450341f4f7a4ae5b3583654ffb8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-02-18 12:38:23 +00:00
Eike Ziller
56aadc407d Merge remote-tracking branch 'origin/3.3'
Conflicts:
	src/plugins/debugger/watchhandler.cpp
	src/plugins/projectexplorer/kitmodel.cpp
	src/plugins/qbsprojectmanager/qbsprojectmanager.cpp
	src/shared/qbs

Change-Id: I6a68090993a264e93ac7850858cc24ba6bdb5602
2015-02-12 17:36:29 +01:00
Eike Ziller
9926fc2ab1 Merge commit '3c85058694ee2e41658d17f524fb48f0b187d2fe'
Conflicts:
	src/libs/utils/tooltip/tipcontents.cpp
	src/libs/utils/tooltip/tipcontents.h
	src/plugins/android/androiddeployqtstep.cpp
	src/plugins/baremetal/baremetalconstants.h
	src/plugins/baremetal/baremetaldevice.cpp
	src/plugins/baremetal/baremetaldevice.h
	src/plugins/baremetal/baremetaldeviceconfigurationwidget.cpp
	src/plugins/baremetal/baremetaldeviceconfigurationwidget.h
	src/plugins/baremetal/baremetaldeviceconfigurationwizard.cpp
	src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.cpp
	src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.h
	src/plugins/baremetal/baremetalplugin.cpp
	src/plugins/baremetal/baremetalplugin.h
	src/plugins/baremetal/baremetalruncontrolfactory.cpp
	src/plugins/baremetal/baremetalruncontrolfactory.h
	src/plugins/cppeditor/cppcodemodelinspectordialog.cpp
	src/plugins/cppeditor/cppdoxygen_test.cpp
	src/plugins/cppeditor/cppdoxygen_test.h
	src/plugins/debugger/breakpointmarker.cpp
	src/plugins/debugger/debuggeritemmodel.cpp
	src/plugins/debugger/debuggeritemmodel.h
	src/plugins/debugger/loadcoredialog.cpp
	src/plugins/genericprojectmanager/cppmodelmanagerhelper.cpp
	src/plugins/projectexplorer/addnewmodel.cpp
	src/plugins/projectexplorer/addnewmodel.h
	src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp
	src/plugins/qmlprofiler/abstracttimelinemodel.cpp
	src/plugins/qmlprofiler/abstracttimelinemodel.h
	src/plugins/qmlprofiler/notesmodel.cpp
	src/plugins/qmlprofiler/qml/CategoryLabel.qml
	src/plugins/qmlprofiler/qml/MainView.qml
	src/plugins/qmlprofiler/qml/Overview.js
	src/plugins/qmlprofiler/qml/Overview.qml
	src/plugins/qmlprofiler/qml/TimeDisplay.qml
	src/plugins/qmlprofiler/qml/TimeMarks.qml
	src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp
	src/plugins/qmlprofiler/sortedtimelinemodel.cpp
	src/plugins/qmlprofiler/sortedtimelinemodel.h
	src/plugins/qmlprofiler/timelinemodelaggregator.cpp
	src/plugins/qmlprofiler/timelinemodelaggregator.h
	src/plugins/qmlprofiler/timelinerenderer.cpp
	src/plugins/qmlprofiler/timelinerenderer.h
	src/plugins/qmlprojectmanager/QmlProjectManager.json.in
	src/plugins/texteditor/findinfiles.cpp
	src/plugins/vcsbase/vcsconfigurationpage.cpp
	src/shared/qbs
	src/shared/scriptwrapper/interface_wrap_helpers.h
	src/shared/scriptwrapper/wrap_helpers.h
	tests/auto/qmlprofiler/abstracttimelinemodel/tst_abstracttimelinemodel.cpp
	tests/system/suite_debugger/tst_debug_empty_main/test.py
	tests/system/suite_debugger/tst_qml_js_console/test.py
	tests/system/suite_debugger/tst_qml_locals/test.py

Change-Id: I67540b648f8b162496f4aa606b04d50c7c9125c6
2015-02-12 17:29:21 +01:00
Leena Miettinen
110392ad18 Doc: fix bug in doc building instructions
And add a note about the new online style.

Change-Id: I4d16ea45dd121a27c5c8d8c0fe5e5b971f8c2d05
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-29 13:15:59 +00:00
Tobias Hunger
3956fab1dd Coding style: Fix broken characters
Somebody inserted a fancy version of '"':-)

Change-Id: Ic96d5e821f4c5ad58cec80c6a5225ae24454239a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-01-22 14:19:40 +01:00
Eike Ziller
3c85058694 Update License
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2015-01-16 12:37:56 +01:00
Eike Ziller
b5b47f7df2 Merge remote-tracking branch 'origin/3.3'
Conflicts:
	src/plugins/cppeditor/cppdocumentationcommenthelper.cpp

Change-Id: I2cf25eba1de149765a6c44ad354d606ce9de512d
2015-01-08 10:38:20 +01:00
hjk
0d9fa1c714 Coding Style: Clarify the use of the Q_OBJECT macro
The old definition sounded like strong but was qualified by an big
'if' at the end, resulting in stating the obvious for a single case
("use it when you need it for qobject_cast").

Having the reminder there is ok, if it is a common thing to forget,
but it should be recognizable as such, and can include "the other
case" where it is typically used.

Change-Id: I0183a12d14c414db9ff8b19598cb9dd22cedda8e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-06 11:35:01 +01:00
hjk
ab1ae75ba7 Coding Style: Mention preference for Qt5-style connects
Change-Id: I7bcae5c87a6588b1817a1f8038471eebeb5ba2b9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-01-05 17:03:03 +01:00
Leena Miettinen
4243c24754 Doc: replace remaining \gui commands with \uicontrol
Missed the Extending Qt Creator Manual the last time I did this.

Change-Id: I33b9b59ef204d0f7c6a5f98665c4839c6646c9b1
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-12-18 09:31:51 +01:00
Leena Miettinen
ce8ad44692 Doc: fix changed UI string in docs and update screenshot
Change-Id: I1edd879e7389467fbeee0cb0c78c65900a7fa1dd
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2014-12-17 17:11:33 +01:00