Eike Ziller
6d1cc58697
Merge remote-tracking branch 'origin/3.1'
...
Conflicts:
src/plugins/clangcodemodel/test/clangcompletion_test.cpp
src/plugins/cmakeprojectmanager/cmakeopenprojectwizard.cpp
src/plugins/projectexplorer/projectexplorer.pro
src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp
src/plugins/vcsbase/vcsplugin.cpp
src/shared/qbs
Change-Id: I9e5882be79ac5e8c7dfab4a57f16509d7569636a
2014-05-16 16:54:50 +02:00
hjk
6e584b5b49
DocumentModel: Make interface static
...
Move item model implementation to private, adjust user code.
Change-Id: Ifbe94e7c7b9b1e8be1b4c531958dbd7a9413af13
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2014-05-13 11:48:30 +02:00
Tobias Hunger
4278fd0af2
Git: Return true when asked to close a editor that is not open
...
Change-Id: I645c371c0ca94cef9885475f580ed463fc643b2a
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2014-05-05 18:34:23 +02:00
Orgad Shaneh
c79413a4bd
GitPlugin: Reserve enough entries for repository actions
...
There are currently ~40 actions. Reserve some extra for future use.
Change-Id: I50284105f4f11df43ed5fb8b246b4a457f2447c1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-04-04 12:07:48 +02:00
Orgad Shaneh
17d2605951
Git: Disable "Actions on Commits" when there is no repository
...
It does nothing in this case anyway
Change-Id: I9b8ab5280375f10b3bd943855648a0a2946a4094
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-04-04 12:07:29 +02: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
Tobias Hunger
88a4421a84
DocumentManager: Refactor saveModified methods
...
Introduce methods to save a document/list of documents/all documents,
both silently and with a dialog to the DocumentManager.
All of these return a bool that signifies whether the save was
successful or not.
Detailed information on which files failed to load or whether the
save was canceled by the user are still available as optional
in/out parameters.
Change-Id: Id17798302f2a8ba6b85a07c1f0b91f03b20da03f
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-01-23 13:50:29 +01:00
Petar Perisin
b245bfc65d
Git: fix checkout in ChangeSelectionDialog
...
Change-Id: I17f9d4926bb1fc0c075aa1b706f6fb65b463ab48
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2014-01-15 21:10:37 +01:00
Orgad Shaneh
5eff132253
Git: Pop stored stash after checkout
...
Change-Id: I41eda91149c0152fd0b9f3d2c0294120153377b5
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2014-01-15 08:19:15 +01:00
Orgad Shaneh
df9299fd24
Git: Do not hang on Continue Cherry-Pick/Revert
...
...after conflicts resolving
Change-Id: I02637e19d1f5b595b2c63d8e001c0df6af94a347
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-01-14 11:11:29 +01:00
hjk
4d96fa7aba
Core: Merge Find and Locator into Core plugin
...
Change-Id: I7053310272235d854c9f409670ff52a10a7add8b
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2014-01-14 07:43:00 +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
4845dc77ee
Git: Wait with stashing on interactive rebase until user approves
...
Change-Id: Ieb8d0cd0906cdf0ea7a37e60e92a263c359c7a41
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2013-12-05 12:34:42 +01:00
Orgad Shaneh
2d415c8228
Git: Use initStyleOption instead of setting options in paint
...
Change-Id: Idc14c157478c7092fce7d688044cb0a99e47bebe
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com >
2013-12-03 09:12:46 +01:00
Petar Perisin
6c61559399
Git: Allow push after fixup
...
Direct push after fixup is really useful, especially on gerrit, because
it allows easy fixing and direct pushing commits under HEAD.
Change-Id: I83980e451c9ae86ac1ac0a55170d6d4141f27d49
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-11-08 12:42:08 +01:00
Petar Perisin
9bb93246c1
Git: Remove function pointer in changeRelatedActions
...
makes code more readable
Change-Id: I8f6369bf571144dde468546b8f47695fd4ffdf44
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-10-29 07:27:19 +01:00
Eike Ziller
4eabcdc8fd
Merge remote-tracking branch 'origin/3.0'
...
Conflicts:
qtcreator.pri
qtcreator.qbs
src/plugins/git/gitplugin.cpp
src/plugins/qt4projectmanager/qmakeproject.cpp
Change-Id: Icbd485214b1add7869233dfe0dd9c6a76bddfc7d
2013-10-22 08:40:59 +02: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
089c5dd927
Git: Open LogChangeDialog on top of the main window
...
Change-Id: I9fe92f4e1e91e7a4a80a34e802d0d6b8d92b77e4
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-10-17 16:38:07 +02:00
Tobias Hunger
741ab2cbfb
Vcs: Remove snapshot support
...
The functionality is unused.
Change-Id: I45017106509b8dbff9f3eff3aaef6de19be31ce7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-10-15 16:53:58 +02:00
Orgad Shaneh
b034b0b955
DVCS: Never prompt before committing
...
Commit is local. There's no reason to prompt.
Change-Id: I3aed5ad4931bc49c62d52f906100273739f4af89
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-10-11 16:40:56 +02:00
Nikolai Kosjar
b8dbac0b9c
Rename "[Mm]ethod(s)" to "[Ff]unction(s)"
...
Only methods as programming functions are affected. Besides renaming
some actions like "Switch Between Function Declaration/Definition" this
mostly touches (api) code comments.
This is a follow-up patch to commit 872bfb7
.
Change-Id: Icb65e8d73b59a022f8885b14df497169543a3b92
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-10 15:56:12 +02:00
Orgad Shaneh
1f0cbbc807
Git: Disallow Commit and Push if rebase is in progress
...
Change-Id: I35a6cf850bccf076d22a73b98b0422663c61b1d3
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2013-10-05 19:15:17 +02:00
Petar Perisin
6cf030d8d3
Git: Rename push enum values
...
Change-Id: I2809096774882ba1e7e98e2805ad94f03a70dbdc
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-10-02 08:42:03 +02:00
Andre Hartmann
9654df9f1f
Git: Allow direct push after commit
...
Git commit dialog: Added a drop-down menu to the commit button to
execute "git push" or open the "Push to Gerrit" dialog directly after
a commit or amend.
Task-number: QTCREATORBUG-8854
Change-Id: I00ff8f816d1768e0cdaf6929126b55826788e578
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-09-30 19:20:11 +02:00
Orgad Shaneh
e81152acd5
Git: Set default button for change-related actions by triggering action
...
Change-Id: I536618e9b80f3ed213c6c54dd6c2becbb64c709b
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-09-30 16:37:29 +02:00
hjk
267e441af4
Apply 'static' pattern to VcsManager
...
Adapt user and surrounding code.
Change-Id: Id2648f82a9cbbd0ad0bfb91f6958b8cee7ea29cc
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-09-03 12:01:24 +02:00
Tobias Hunger
d18b61b85d
Core::Id: Remove some explicit casts to Core::Id
...
Change-Id: Ibe505c8331f7d1280fdb8784a00321742f5d94cb
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-09-03 11:57:23 +02:00
hjk
a37589d431
Apply 'static' pattern to MimeDatabase
...
Also adjust and streamline using and surrounding code.
Change-Id: I6a8b05126bdcbb74ff611b21c7cb3c5902a2d5ca
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-09-03 11:41:45 +02:00
hjk
eb724f3772
EditorManager: Use interface directly instead of going through ICore
...
In the majority of cases we were doing that anyways, having two
ways is just needlessly confusing.
Change-Id: Ied362a702c23beee528368d74df1f2aabe5807f8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-08-30 11:25:51 +02:00
Orgad Shaneh
a9095ee104
VCS: Introduce message style
...
Similar to compile and app output panes
Change-Id: Ib9ac6d8be880739ae78d0a39f7051cbe616e46c2
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-08-20 12:54:17 +02:00
Orgad Shaneh
e1e1936073
Git: Add reflog
...
Change-Id: Id328492826bdcf4b7f7e6933a9dc3931174de0fb
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-08-19 11:45:02 +02:00
Orgad Shaneh
b0d14c79fe
VCS: Use correct output style
...
Change-Id: I95ea8078ae53e7339213765fbb8a79bff33f899c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-08-12 12:42:11 +02:00
Orgad Shaneh
35798d4ad6
VCS: Use a single filename for log
...
The list always contains a single entry (or none) anyway
Take 2. This time it actually compiles ;-)
Change-Id: I71a9822360a9b569ba79afa0f575e27918bb2e03
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-08-07 17:43:58 +02:00
Orgad Shaneh
7c5b19ebf4
Revert "Git: Use a single filename for log"
...
Breaks compilation
This reverts commit a05ea71133
Change-Id: I713f06a1fe1ff24f4721cda082fb732dc3f5c270
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-08-06 18:27:09 +02:00
Orgad Shaneh
a05ea71133
Git: Use a single filename for log
...
The list always contains a single entry (or none) anyway
Change-Id: I567b622efd42dd6f676bebb92fbf1c8774bd80ff
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-08-06 17:23:25 +02:00
Eike Ziller
8c2e3fd2cb
Fix usage of EditorManager::editorsForFileName
...
And move to using the corresponding method in document model.
Change-Id: I80b12ceab8a91c5393b9c0422d660a8896ae09d8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-07-18 14:51:39 +02:00
Orgad Shaneh
ad9e7ccab6
Fix coding style for else statements
...
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-07-17 11:11:25 +02:00
Eike Ziller
354cd410b0
Make document model static and add some document related methods
...
Change-Id: Ibcb863e67a2433529c9d2b6dec237f9d8b1d8d50
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-07-12 11:55:59 +02:00
Orgad Shaneh
bcf9c7621f
Git: Remove args from diff
...
They are unused
Change-Id: I6cff3c6028208f1c7c0937c53b3f5090dae719a6
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-07-11 18:05:03 +02:00
Eike Ziller
113c5600c9
Move displayName from IEditor to IDocument
...
The display name is not editor instance specific, but belongs to the
document.
Change-Id: I3c936f04a86e10e6ca30063d85036d85b4b5880e
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2013-07-10 17:26:15 +02:00
Eike Ziller
dd43d9908f
Rename IDocument::fileName --> filePath
...
That is what it actually is, wrt how Qt API calls it.
Change-Id: Ied02055debf6aad75556b0d9d22e8ba2f72be555
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-07-09 13:51:42 +02:00
Orgad Shaneh
02512e234e
Git: Use direct settings member instead of accessors
...
Change-Id: Iba2954934218bec92716a8df1c04fe9347defd17
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
2013-07-09 08:50:54 +02:00
Eike Ziller
a98fe15fe5
Merge remote-tracking branch 'origin/2.8' into HEAD
...
Conflicts:
qbs/pluginspec/pluginspec.qbs
Change-Id: Ic8e992623b9eda8913ee473c779a8df27643ccc9
2013-07-08 15:01:17 +02:00
Orgad Shaneh
aad68917b9
Git: Always allow stash before cherry-pick/revert
...
Currently done only from "Actions on Commits"
Change-Id: Ide34e198e72f554ba6fd75ef21aaaf35917b4f6a
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-07-08 13:21:41 +02:00
Orgad Shaneh
45ccd7d919
Git: Fix crash on checkout branch
...
Task-number: QTCREATORBUG-9756
Change-Id: I3bdba870737bbffde6c0e6a9046a58ba78f097be
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-07-08 11:24:03 +02:00
Petar Perisin
6312cc18e2
Git - added ability to launch git gui
...
Change-Id: I65ed3e0408e43e354a289bbbd385aec2e254746c
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-07-05 10:16:59 +02:00
Orgad Shaneh
be5133cf72
Git: Update branches dialog when repository is changed
...
and on fetch
Task-number: QTCREATORBUG-9667
Change-Id: Id2e5080502bbc28d5f7900dd0433e468dda56c82
Reviewed-by: Robert Loehning <robert.loehning@digia.com >
Reviewed-by: Petar Perisin <petar.perisin@gmail.com >
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-07-04 15:26:39 +02:00
Petar Perisin
159a7d61dd
Git - stash scope guard in submoduleUpdate
...
Change-Id: I888d4013e88fdc6977f29ef3e27d243e55a1f1a7
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-06-17 22:22:31 +02:00