Petar Perisin
6e677a97fb
Git - use appropriate working directory in ChangeSelectionDialog
...
In case Working Directory is changed in dialog, use new one for command.
Change-Id: Iea2e71d3695fff49a6375d19d723f4d62a092c2f
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-05-07 08:59:20 +02:00
Orgad Shaneh
c45e4e614a
Git: Do not return empty string for top commit in LogChangeDialog
...
Change-Id: I26cff005974102c037bbbff04b7606e7f8a07b84
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-06 10:54:45 +02:00
Orgad Shaneh
325c0beda5
Git: Show commit on double-click in fixup editor
...
Change-Id: I8cb08b0fcba3ddac7223b39b3762ff71e8d61f8c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-06 10:25:10 +02:00
Orgad Shaneh
ec84dd058a
Fix indentation
...
Mostly 3 leading spaces converted to 4
A few other indentation issues
Change-Id: Ib0db5925cac4d2999faf5699cd570884cbcd4863
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-05-06 08:38:50 +02:00
Orgad Shaneh
aa5b049561
Git: Improve LogChangeWidget
...
* Enable display of local-only commits
* Enable specifying a top commit
Change-Id: I0688ba9ac670f709d2044ae2b7bff081fd86c860
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-04 20:01:23 +02:00
Orgad Shaneh
8695fe6d7c
Git: Implement "Fixup previous commit"
...
Change-Id: Ia2584ff975ed0db614dc878a70ce4adbd5c3ba67
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-04 20:01:04 +02:00
Orgad Shaneh
5d325f6b1a
Git: Use StashGuard inside RebaseManager
...
If the rebase succeeds without conflicts, pop
Change-Id: I4f0c6ad3061f4f69f7e5c9450f972cce5c15227d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-04 20:00:39 +02:00
Orgad Shaneh
20f1208e0f
Git: Pass CommitData by reference
...
It is used for both input and output, the pointer is assumed
to be valid
Change-Id: Iad9a82dfb5ea4850584d4da848076699cddd23c2
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-02 16:52:55 +02:00
Orgad Shaneh
06da25f610
Git: Add commit type to CommitData
...
Change-Id: I900f3dd89eeeac61e29604ac459d36ecc6c0aa8f
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-02 16:52:10 +02:00
Orgad Shaneh
7b851602cc
Git: Use an enum for simple/amend commit
...
Change-Id: Ibea0a1f2826c67796a56414326fe6afdee654576
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-04-30 14:38:00 +02:00
Orgad Shaneh
a5962841cf
Git: Support graph log for all log types (file, project, repo)
...
* Added a Graph toggle button for log editor
* Hide diff parameters when Diff is off
* Remove GitClient::graphLog
Change-Id: Ib87560bc4d6d7dbe866f0e58db8743a95df0622b
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-04-29 11:01:05 +02:00
Petar Perisin
3ce2b605d9
Git: Fix canceling interactive rebase
...
If the LogChangeDialog is closed without selecting any
commit, interactive rebase started with '^' as the commit.
Change-Id: I6292c700f61e5d075953ecc371d0916342096801
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-04-29 00:33:17 +02:00
Petar Perisin
d425d6485e
Git - move ensureStash inside StashGuard
...
this is where stash popup question belongs
Change-Id: Ib3435f12eacd0b932ba2a67ecd728e5a41c0c64a
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-04-26 14:13:12 +02:00
Petar Perisin
6f4f47c8d8
Git - topLeveldir in ChangeSelectionDialog
...
So ChangeSelectionDialog does not show full path of current file, but
just path to top level dir
Change-Id: I4960009216afc0564b009bbf4f89b676cb92c4df
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-04-26 07:13:17 +02:00
Orgad Shaneh
83b57eda89
VCS: Remove redundant calls to default constructor
...
Change-Id: I4521e26e72c85e896e58e4d9d129f92b2d80f869
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-04-22 09:29:12 +02:00
Petar Perisin
311ca8cd01
Git - added continue and abort
...
Change-Id: I3dd274ad827c7cbd94d849b991cc518eff7f18ae
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-04-21 23:07:46 +02:00
Eike Ziller
e31575a493
VCS: Clean up submit editor handling
...
It was not possible to simultaneously open two commit editors for
different version control systems, also there was no reason to scan all
open editors for the submit editor, since the plugins can just remember
the editor that they opened.
Change-Id: I1bea6ece3cd6faa1ecc0566bdd6f5fb10c816963
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-04-19 16:21:06 +02:00
Orgad Shaneh
e6da908321
Git: Refactor reset
...
Remove enum, provide the associated flag in the combobox.
Change-Id: I1c4751c75f59312904fe7c175678f965ac16741d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-04-19 14:12:25 +02:00
Petar Perisin
93e51c186a
Git: make ensureStash dialog more clear.
...
Change-Id: I19ecde462d7a8a5fb00caa0414a9833ecab5057b
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-04-19 07:48:27 +02:00
Petar Perisin
4a45c1c165
Interactive rebase - make selected commit available too
...
Since we select final commit for interactive rebase in a listed dialog,
it is IMO expected and more user-frendly to also have selected commit in
the interactive rebase list.
Change-Id: I56febd024cc174bcd046b1f02bccfe990043aae4
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-04-10 12:04:41 +02:00
Petar Perisin
c49fe8350d
Git: Add a function for getting current local branch
...
Change-Id: Ibda70cb896633cc7afa3a845b99aac523246c558
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-04-08 19:23:47 +02:00
Friedemann Kleint
9393335c1d
Clean headers in Git.
...
Ran script to remove inludes on a trial-and-error basis and
manually corrected it.
Change-Id: Ib2afbc530760684db96888b927c5153b29fe24aa
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-04-05 15:10:02 +02:00
Petar Perisin
fe1f7e4bf6
Gerrit: Added pushToGerrit dialog
...
Change-Id: Ic16eae2def11343ef7be5ce8378d24b5fd11a386
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-04-05 11:28:05 +02:00
Petar Perisin
5d4c4a6968
Git: Added submodule update
...
Change-Id: If8a4b0c572b0ca2d57f80f1304c7ebf141a40148
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-04-04 19:18:23 +02:00
Petar Perisin
b1c9d0eb37
Git: Added Checkout Commit
...
Change-Id: I9446060b9a8ee1717b832f1f7b7dbcaf8e739ad3
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-04-04 19:16:50 +02:00
Petar Perisin
09b1cf78fd
Git: refactoring ChangeSelectionDialog
...
> Dialog now combines show, cherry-pick and revert
> has fixed path, and no way to change it
> not created on stack
Change-Id: I7cee0b2e775a80941b51a4ca023064baf0d6575c
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-04-04 19:15:59 +02:00
Eike Ziller
599be01a67
Merge remote-tracking branch 'origin/2.7'
...
Conflicts:
qtcreator.pri
qtcreator.qbs
share/qtcreator/qml/qmlpuppet/interfaces/interfaces.pri
share/qtcreator/qml/qmlpuppet/qml2puppet/instances/nodeinstancesignalspy.cpp
share/qtcreator/qml/qmlpuppet/qml2puppet/instances/objectnodeinstance.h
share/qtcreator/qml/qmlpuppet/qmlpuppet/instances/objectnodeinstance.h
src/plugins/debugger/debuggerplugin.cpp
src/plugins/qmldesigner/components/componentcore/modelnodecontextmenu_helper.cpp
src/plugins/qmldesigner/components/debugview/debugview.cpp
src/plugins/qmldesigner/components/formeditor/abstractcustomtool.cpp
src/plugins/qmldesigner/components/formeditor/abstractcustomtool.h
src/plugins/qmldesigner/components/formeditor/formeditorview.cpp
src/plugins/qmldesigner/components/integration/stackedutilitypanelcontroller.h
src/plugins/qmldesigner/components/itemlibrary/itemlibraryview.cpp
src/plugins/qmldesigner/components/navigator/navigatorview.cpp
src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
src/plugins/qmldesigner/components/stateseditor/stateseditorview.cpp
src/plugins/qmldesigner/designercore/include/abstractview.h
src/plugins/qmldesigner/designercore/include/qmldesignercorelib_global.h
src/plugins/qmldesigner/designercore/include/rewriterview.h
src/plugins/qmldesigner/designercore/metainfo/metainforeader.cpp
src/plugins/qmldesigner/designercore/metainfo/subcomponentmanager.cpp
src/plugins/qmldesigner/designercore/model/abstractview.cpp
src/plugins/qmldesigner/designmodewidget.cpp
Change-Id: I9d8126e88397c02a87b5e4ab4da44e2bc7089134
2013-03-26 13:09:43 +01:00
hjk
2cea4c6f80
Vcs: Construct Core::Id directly for submit editor
...
Change-Id: I21ca57fa6b73887dfc88b31240096b0851d53cae
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-03-21 13:13:35 +01:00
Orgad Shaneh
9b22c8ed62
Revert "Git: Undo changes on pull with rebase when user chooses not to stash"
...
The dialog text doesn't state that the changes will be
discarded. This is likely to be an unexpected behavior.
Will improve the dialog on master
This reverts commit cf41cd5e2a9b1927fd533789a30cfd80a4e0791e
Task-number: QTCREATORBUG-7031
Change-Id: I52eaf3cdef1b10b261ee9d2e9e14aa98e6e32bdd
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-03-20 12:15:40 +01:00
hjk
543ab54f41
Git: Simplify use of Core::Id
...
Change-Id: Ib7d68fa0627eda28865e2fa7baf61e9ed40914c9
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-03-19 13:16:41 +01:00
Orgad Shaneh
56881e3179
Git: Interactive rebase
...
Change-Id: I3d106ce5b071df4a7a3d77be43e7c24bd7c91dfa
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-03-15 12:49:39 +01:00
Orgad Shaneh
db29090b05
Git: Test if an operation is in progress on commit
...
Suggest to continue
Change-Id: I7d8d22d976efe446c2f60e2ba18bf08a123cca36
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2013-03-15 12:49:19 +01:00
Friedemann Kleint
281b2332d2
Fix Krazy warnings about includes/header guards in version control.
...
Change-Id: I75f2040e9b3dd5d9786faf2e829ec808af7f1304
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-03-12 13:56:47 +01:00
Eike Ziller
7545ce072f
Merge remote-tracking branch 'origin/2.7'
...
Conflicts:
src/plugins/projectexplorer/devicesupport/devicemanager.cpp
Change-Id: I1d46128f530428315e7ab5d52c8115036371487f
2013-03-04 15:07:19 +01:00
Orgad Shaneh
6275308f63
Git: Externally set dialog title for LogChangeDialog
...
Change-Id: I5869e17145f9974eb274d4300bbb23ebdc0990f0
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-03-01 15:24:28 +01:00
Orgad Shaneh
15374275a1
Git: Rename ResetDialog -> LogChangeDialog
...
Required for interactive rebase
Change-Id: I024505bbde1c58a7ccb4ce931322e0f5b467552b
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-03-01 15:24:07 +01:00
Orgad Shaneh
e427eab068
Git: Close submit editor if all changes were committed externally
...
Change-Id: Iae4e9d52aed333def0e5f0c56bca9c68a38430a4
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-03-01 11:25:22 +01:00
Oswald Buddenhagen
6bbdeec812
Merge remote-tracking branch 'origin/2.7'
...
Conflicts:
src/plugins/qnx/blackberrydeployconfiguration.cpp
Change-Id: I16d1c7717f4bc25ba7e8dbdd5be6580fafe3f33d
2013-02-28 12:02:40 +01:00
Orgad Shaneh
7a7117cd33
Git: Undo changes on pull with rebase when user chooses not to stash
...
Task-number: QTCREATORBUG-7031
Change-Id: I10bee004482bf8f066f1ddfcf720797e8005ebec
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-02-27 15:27:10 +01:00
Orgad Shaneh
cdcc8256a0
Git: Require 1.7.2
...
Remove legacy code
Change-Id: I0ce03f7a34c92b48ceb705a0feec43e0ba89ef5c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
2013-02-20 13:29:11 +01:00
Oswald Buddenhagen
1ffe15a471
Merge remote-tracking branch 'origin/2.7'
...
Conflicts:
qtcreator.pri
qtcreator.qbs
Change-Id: I84145b02bf4f80848c0c1d762de34738f08bb78f
2013-02-18 14:16:53 +01:00
Tobias Hunger
6f0294b03d
Git: pull --rebase when appropriate
...
Task-number: QTCREATORBUG-8732
Change-Id: I510ac93b118e93cba591c4717cb6779d64869be1
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-02-14 15:36:30 +01:00
Orgad Shaneh
ae58073080
Git: Add test-case for untracked file
...
Change-Id: I29e0e470c926d1051cc892fbd39874d8b071268c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-02-11 11:10:05 +01:00
Daniel Teske
d7b76a47d3
Git Locator: Add "git show"
...
Change-Id: Id42c285ed4f31a5a1ad0288166fecff4ac630561
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-02-05 15:04:44 +01:00
Oswald Buddenhagen
1fda2111d4
Merge remote-tracking branch 'origin/2.6'
...
Conflicts:
src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
src/plugins/debugger/qtmessageloghandler.cpp
src/plugins/debugger/qtmessagelogwindow.cpp
src/plugins/madde/maemodeployconfigurationwidget.cpp
src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp
src/plugins/qmldesigner/designercore/include/widgetqueryview.h
src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h
src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
src/plugins/qnx/bardescriptormagicmatcher.h
src/plugins/qt4projectmanager/profilekeywords.cpp
src/plugins/remotelinux/deployablefilesperprofile.cpp
src/plugins/remotelinux/deployablefilesperprofile.h
src/plugins/remotelinux/deploymentinfo.cpp
src/plugins/remotelinux/deploymentsettingsassistant.cpp
src/plugins/remotelinux/profilesupdatedialog.cpp
tests/auto/icheckbuild/ichecklib.cpp
tests/auto/icheckbuild/parsemanager.cpp
tests/auto/icheckbuild/parsemanager.h
Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
2013-01-31 16:25:33 +01:00
Orgad Shaneh
8f4817152c
Git: Add subject to log combobox
...
Change-Id: Icb76ad1c0783615172d929e8cf402feaffaddbdd
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-30 10:26:58 +01:00
Orgad Shaneh
7cb80f0e16
VCS: Use entries combobox for log
...
Tests included
Change-Id: Ibe2f6ece207128f8467b0cbca9dc38f2bcd5ced6
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-30 10:26:31 +01:00
Orgad Shaneh
ea33bed564
VCS: Un-static testDiffFileResolving
...
Change-Id: I43c40585e5ac50369422d78f74240d7249be95ae
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-30 10:26:07 +01:00
Robert Loehning
298531e370
Incremented year in copyright info
...
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2013-01-29 16:27:03 +01:00
Orgad Shaneh
5551c1e906
Git: Introduce StashGuard
...
Offers the user to stash changes (if relevant), stores
the results and pops the stash when it goes out of scope
(unless disabled)
Change-Id: Ibc0d2a5d3e3c953062fb17ecba903ca814524837
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-24 12:32:26 +01:00