Tim Jenssen
2631ffabd5
Remove spaces in initializer lists
...
Format initializer lists code style like.
Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013
Reviewed-by: hjk <hjk@qt.io >
2017-02-22 16:25:09 +00:00
Orgad Shaneh
e366e135b7
Git: Eradicate Q_FOREACH loops
...
Change-Id: I29b6071ea244d1b3ae0701d36c90b1e93cf21fbb
Reviewed-by: André Hartmann <aha_1980@gmx.de >
Reviewed-by: hjk <hjk@qt.io >
2017-02-06 09:37:44 +00:00
Orgad Shaneh
7cfbcb41b9
Git: Persist topic per branch on Push to Gerrit
...
Change-Id: I5a4056f562bb3264a8bd35d73fb16860eb0984e7
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2017-01-23 11:53:12 +00:00
Alessandro Portale
9c830a1619
Git: Use Utils::Icon for IconItemDelegate constructor
...
Use our icon abstraction instead of file names, because themed icons are
coming.
Change-Id: I0f4e44caf96aeab0c354d2166b111d59b7b29149
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2016-10-11 13:29:30 +00:00
Orgad Shaneh
7f0b371c11
Git: Fix initially disabled OK button in Push to Gerrit
...
Change-Id: I7223ef113781eb9adae59dba58036c19a96a11b0
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io >
2016-10-05 16:04:14 +00:00
Orgad Shaneh
8d14f76c10
Gerrit: Support pushing initial commit for review
...
Enable manual selection of target branch on this case.
Task-number: QTCREATORBUG-16780
Change-Id: I925ceef52ec56ebf77abcee58065c7b8afcc0854
Reviewed-by: André Hartmann <aha_1980@gmx.de >
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io >
2016-09-12 14:21:07 +00:00
Orgad Shaneh
516161c875
Git: De-noise
...
* Remove QLatin1{String|Char} where possible
* Use initializer lists for QStringList
Change-Id: I8479f87f4fc909b5d74d854956885564209538e4
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io >
2016-07-22 10:12:59 +00:00
Orgad Shaneh
5834769cbf
Git: Hide obsolete branches by default in branches dialog
...
Task-number: QTCREATORBUG-15544
Change-Id: I411c7eacd2c154cad08234c0bd22e16dfecb961c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com >
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2016-03-10 10:24:50 +00:00
Tobias Hunger
b4195d5174
Git: Modernize
...
* pragma once
* member initialization
* s/struct/class/
* Introduce a static GitPlugin::client() method and use it
Change-Id: Ifdcac86dd16f3cdba11d564d03e9a15f00a6afdb
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2016-02-10 15:01:57 +00:00
Friedemann Kleint
97af238656
Preferably use QStringRef::toInt().
...
Avoid allocations for converting to int.
Change-Id: Id8c79334f4809ec075ffe7e6b7635be4873eafd8
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com >
2016-02-04 07:56:58 +00:00
Tobias Hunger
397e7f4843
Update License according to agreement with Free Qt Foundation
...
* Update files in src/plugins
Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2016-01-19 15:57:01 +00:00
Orgad Shaneh
4eb2224f47
Git: Add override
...
Change-Id: Iae0779c1efa8b3b46cf504f7bda00d614a4a157e
Reviewed-by: André Hartmann <aha_1980@gmx.de >
2015-04-12 20:03:04 +00:00
Tobias Hunger
4f7844d6f5
Git: s/GitPlugin::gitClient/GitPlugin::client/
...
... same name as with almost all other plugins.
Change-Id: I964159044d86685735e8b1e816a0bf67e0576fd8
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2015-04-08 09:52:25 +00:00
Orgad Shaneh
a260afe004
Gerrit: Place gerrit and origin remotes first
...
Change-Id: Icf74210934b92c3f794ccc764b8e526d51eafc2b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com >
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2015-02-16 15:29:39 +00:00
Orgad Shaneh
7471187404
Gerrit: List remote branches also for non-fetched remotes
...
Task-number: QTCREATORBUG-13718
Change-Id: I0259d06f4f06b68af459d747176dc46b14a55008
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2015-02-16 15:29:25 +00:00
Orgad Shaneh
bd5afaf4c6
Gerrit: Gracefully handle error retrieving branch distance
...
Change-Id: If4f6babe654a6f667c36ac3afb851b078439d3b6
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2015-02-16 15:29:21 +00:00
Orgad Shaneh
9fd5c44f4b
Gerrit: Simplify loop in setRemoteBranches
...
Change-Id: I9f32080c15ca48a2eb9feb1693eabcc1d8f20dd5
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2015-02-16 15:23:24 +00:00
Tobias Hunger
4caee9fcbf
Gerrit: Polish push to gerrit dialog
...
Make the UI a bit nicer and simplify the code to find remotes.
Task-number: QTCREATORBUG-13718
Change-Id: I3b973fee30061232188c9aed3ad95abc8f8f095d
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2015-02-16 13:31:05 +00: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
Tobias Hunger
2998d33562
Gerrit: Rename member
...
This is more in line with what we do elsewhere.
Change-Id: If5fb57a498c021c2c2f830d9aaa375bc13afeb19
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2015-02-04 15:12:25 +00: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
8295b503be
License update
...
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2014-10-09 11:41:44 +02:00
Orgad Shaneh
e5b2c079ca
PushToGerrit: Do not allow spaces in the reviewers edit
...
Task-number: QTCREATORBUG-11930
Change-Id: I0566fe2ef1d6e5ad9d99256d8a57a8e876a2e0c1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com >
2014-08-14 18:17:44 +02:00
Orgad Shaneh
48a5fb4b13
PushToGerrit: Do not calculate number of commits for empty input
...
Change-Id: Ib2e5305dd47b486a963edf5bb04e6d16d76d5e68
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-02-14 10:38:34 +01:00
Orgad Shaneh
5a562e9239
PushToGerrit: Pass local branch to determineRemoteBranch
...
Simpler
Change-Id: Ice180200a1b78e57b8ff6b246db7b2e8f3b39eb1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-02-14 10:38:30 +01:00
Orgad Shaneh
0c6ee31684
Git: Fix target branch auto-detection in Push to Gerrit
...
Initialization order is important.
* updateCommits populates the LogChangeWidget.
* determineRemoteBranch looks up by earliest commit (for which the
LogChangeWidget must already by populated)
* Assignment to m_suggestedRemoteBranch must come before calling
setRemoteBranches
* remoteComboBox was wrongfully used instead of targetBranchComboBox
Change-Id: Ib0db057313c8fd65910b0ec7394b6b8c7d997dab
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-02-14 10:38:24 +01:00
Orgad Shaneh
635a355f97
Git: Suppress "No local commits" error message in Push to Gerrit
...
Change-Id: Ib0cf79acf48d24848fda92a8b7b06efe62b46dbc
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-02-12 12:42:45 +01:00
Orgad Shaneh
1ed9f6bbca
Git: Enable local branch selection in Push to Gerrit
...
Show dialog even if there are no local commits in current branch
Change-Id: I11e0c6505981712df51bb33694a6cba9704d7324
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-02-11 12:06:29 +01:00
Orgad Shaneh
292e4599aa
Git: Rename branch -> targetBranch in Push to Gerrit
...
Change-Id: I725a7e9ece2bf1e8854dc077cb93a1f7cc1eb90c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-02-11 12:06:24 +01:00
Orgad Shaneh
517c357770
Git: Factorize ctor of Push to Gerrit
...
Change-Id: Ib668d0e29bac25bc2f78d8885b4dfa89c292b489
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-02-11 12:06:19 +01:00
Orgad Shaneh
aa6dd83e08
Git: Replace bool argument with flags
...
For a start, it's a single flag. Will be extended.
Also change the default for includeRemotes to false (most callers pass false)
Change-Id: I969f89a06b85a42c134c0232d2947d58fe19ea0d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-01-29 11:05:13 +01:00
Orgad Shaneh
25ddacc238
Git: Add using Git::Internal to GerritPushDialog
...
Change-Id: I7b2dab05809040397c7221ed830730bc1c5a019d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-01-29 11:05:04 +01:00
Eike Ziller
236ea9efb9
Merge remote-tracking branch 'origin/3.0'
...
Conflicts:
share/qtcreator/debugger/dumper.cpp
share/qtcreator/debugger/dumper_p.h
share/qtcreator/debugger/test/main.cpp
src/plugins/debugger/gdb/classicgdbengine.cpp
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/debugger/lldblib/guest/lldbengineguest.cpp
src/plugins/debugger/lldblib/guest/lldbengineguest.h
src/plugins/debugger/lldblib/guest/main.cpp
src/plugins/debugger/lldblib/ipcengineguest.cpp
src/plugins/debugger/lldblib/ipcengineguest.h
src/plugins/debugger/lldblib/ipcenginehost.cpp
src/plugins/debugger/lldblib/ipcenginehost.h
src/plugins/debugger/lldblib/lldbenginehost.cpp
src/plugins/debugger/lldblib/lldboptionspage.cpp
src/plugins/qbsprojectmanager/qbsstep.cpp
src/plugins/qbsprojectmanager/qbsstep.h
src/plugins/qmlprofiler/canvas/qdeclarativecanvas.cpp
src/plugins/qmlprofiler/canvas/qdeclarativecanvas_p.h
src/plugins/qmlprofiler/canvas/qdeclarativecontext2d.cpp
src/plugins/qmlprofiler/canvas/qdeclarativecontext2d_p.h
src/plugins/qmlprofiler/canvas/qmlprofilercanvas.cpp
src/plugins/qnx/blackberrycheckdevmodestep.cpp
src/plugins/qtsupport/debugginghelper.cpp
Change-Id: Ie9fd0a885fb6264a6a8a72daee071b75bcbd2e9d
2014-01-08 11:01:06 +01:00
Robert Loehning
746c5d8863
Incremented year in copyright info
...
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2014-01-08 08:29:47 +01:00
Orgad Shaneh
7073f7daed
Git: Fix draft ref for gerrit
...
Change-Id: I884bcab46a7e11cbc3ea6c453bddd8b9d599e4cc
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2013-12-31 15:10:08 +01:00
Orgad Shaneh
f93d76294a
Git: Improve Push to Gerrit icon
...
Change-Id: I5ee6d308409eef60a240b89bb10ef35e2d5f1f62
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-12-06 12:12:56 +01:00
Eike Ziller
49b7e95e7f
Merge remote-tracking branch 'origin/3.0'
...
Conflicts:
qtcreator.pri
qtcreator.qbs
Change-Id: I91b9ceba836d01086e9ccdb4499436d17195b729
2013-11-06 14:02:08 +01:00
Orgad Shaneh
6bdb402f31
Git: Prefer first match on Push to Gerrit with detached head
...
Following matches are likely to be merges, and not the branch that the
first commit originated from.
Change-Id: I80a442bf9f7bc7f5859a1f4c3d3e167d55b28241
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2013-11-05 11:57:07 +01:00
Eike Ziller
242b7bd209
Merge remote-tracking branch 'origin/3.0'
2013-10-29 08:17:05 +01:00
Orgad Shaneh
ba4473aa45
Git: Disallow whitespace in topic on Push to Gerrit dialog
...
Change-Id: I02416c8a55fcdfdea1cbe349f7e78204c0200fd9
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2013-10-28 22:29:29 +01:00
Orgad Shaneh
9ef8d71e2c
Git: Indicate affected commits for range operations
...
* Reset: Strikethrough discarded commits
* Interactive Rebase: Mark included commits
* Push to Gerrit: Mark pushed commits
Change-Id: I5599a72055fd94b88c55b74b3a1116c07e35c113
Reviewed-by: André Hartmann <aha_1980@gmx.de >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-10-17 16:39:08 +02:00
Orgad Shaneh
aa981f4066
PushToGerrit: Filter out stale branches
...
Change-Id: Ib4f1d7ead2c40f27be28fa45e042c3694c0444fd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2013-07-12 17:52:38 +02:00
Orgad Shaneh
050d13726a
Gerrit: Replace --remotes with -r for "git branch"
...
--remotes was added in 1.7.7
Change-Id: I691bfada8e0b4d2f00924caa76271ee256edf62c
Reviewed-by: André Hartmann <aha_1980@gmx.de >
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-06-10 10:31:23 +02:00
Orgad Shaneh
1f447715b0
Git: Remove double warning for gerrit push
...
Change-Id: I5581521753fa525c6bb9f53725c28f947c8bbd44
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-06-04 10:43:54 +02:00
Orgad Shaneh
566d3d9d9b
Git: Enable commit selection in Push to Gerrit dialog
...
Change-Id: Ie0ca8322858ac75d4bacf8b3efe66fa40577e3a2
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
2013-05-07 11:50:51 +02:00
Orgad Shaneh
cd2722b1a0
Git: Fix changing remote in GerritPushDialog
...
Change-Id: I881a0402b4ba2fd887e62e02cf64406324bd9dbe
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-07 11:49:50 +02:00
Orgad Shaneh
e836cd082c
Git: Prefer remote tracking branch in GerritPushDialog
...
In case it contains the latest remote commit
Change-Id: Id9e4cc40b7d1aa9daac3a9a2cf9ba41f589da7eb
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-07 11:01:08 +02:00
Orgad Shaneh
1f38110dad
Git: Preserve reviewers list in GerritPushDialog
...
Not stored in settings (it is not important enough), but usually
the same reviewers are required for consequent changes
Change-Id: I28564791419ac441478db65e51b09189b9f2f196
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-07 11:01:00 +02:00
Orgad Shaneh
838ce020a8
Git: Some cleanup in GerritPushDialog
...
Change-Id: I452f7d929d9abc1224fa9f694c106345dcc96caa
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-07 11:00:47 +02:00
Orgad Shaneh
002fa92a34
Git: Fix validation in GerritPushDialog
...
Change-Id: I1764ccd4950d5d5fee3cbd00515716ef5f524bf0
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-07 11:00:40 +02:00