Orgad Shaneh
003e25d488
VCS: Abort previous command for the same editor
...
It is very common to have output from a previous (longer) command appear
instead of the newly created one.
For example: Open a log. Check "Show Diff" and immediately uncheck it.
If this is done fast enough (or with a high Log Count limit) the output
with the diff will appear instead of the normal log.
Change-Id: Ie64cc4a383a261f5328a4d0486eec93f73766679
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-09-30 16:36:00 +02:00
Francois Ferrand
367cfc8419
Git: Support staging a single chunk.
...
Add context menu in diff editor to stage/unstage a single chunk from the diff.
Task-number: QTCREATORBUG-5875
Change-Id: Ic244a0d84b5ed5f66b90d7fe8784fc1b8041d183
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-09-26 23:10:59 +02:00
Orgad Shaneh
9df379e0dc
Git: Fix crash on diff
...
Task-number: QTCREATORBUG-10138
Change-Id: I7c7f054e6253c677b52a3ea24d7ace562f1ad4af
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com >
2013-09-12 13:02:55 +02:00
jkobus
e8801167aa
Add common interface for text formats inside syntax highlighter
...
Change-Id: I87f64446161a57aea0896f68e4eafacef791969b
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com >
2013-08-26 13:39:40 +02:00
Orgad Shaneh
0c50c5a1d3
VCS: Consolidate codec handling
...
Change-Id: I2c9a5031b63f0bc3e884739be680d051d7cf1ab4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-07-19 13:56:34 +02:00
Orgad Shaneh
20e9b33741
VCS: Use relative path for apply/revert chunk
...
Task-number: QTCREATORBUG-9715
Change-Id: I3bfaea3922ace396230ef5e215712a9f3459808b
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-07-03 13:34:38 +02:00
Orgad Shaneh
05a6fc48ba
Git: Support change links on commit editor
...
Useful for commit messages with "reverts <hash>" for example.
Can later be extended for interactive rebase
Change-Id: Ibf77433ecddfacbd8d443636ddbc406bda474aa7
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-31 14:53:02 +02:00
Orgad Shaneh
7bfaf7a946
Git: Provide a commit editor for files opened externally
...
Change-Id: I52fccf36cca032dda36102d4be2654eb7461de64
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-24 12:29:49 +02:00
Orgad Shaneh
a9d9d44494
VCS: Rename RegularCommandOutput to OtherContent
...
Change-Id: I37d47c79f0efaf51eb5afd1fe529aacfadff8ee1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-24 12:29:34 +02:00
Orgad Shaneh
fd48f081c6
VCS: Remove unused extension parameter from editors
...
Change-Id: I17e73e269698af0d515f668d3c272a748cdca3bb
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-24 12:21:26 +02: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
Tobias Hunger
83d6e81d94
Vcs: Remove "waiting for data" when process fails
...
Task-number: QTCREATORBUG-7946
Change-Id: Ic3c3ceddd3b4bf115a1da78a5b5e5b640dbbd1f1
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-02-13 12:53:21 +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
7fb9f7b802
VCS: Devirtualize diff-related functions
...
They are not overridden anywhere, nor such an override seems useful
Change-Id: I1f255b90280d1df37c734789b14086467a469806
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-30 10:26:40 +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
bd31f2ad38
VCSBaseEditor: Make diffFileBrowse more generic
...
Log entries can also be displayed in this combo box...
Change-Id: Ibd75f436013f58d18963a675ce01a20385cc7dfd
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-24 10:44:27 +01:00
Orgad Shaneh
b53d398e2c
Git: Add context-menu actions for cherry-pick and revert
...
Change-Id: Ic266fe039423a37df2fc347ead7530322ac47bb8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-23 18:50:45 +01:00
Orgad Shaneh
64018aed8a
VCS: Highlight log with diff
...
Change-Id: I46abd51e5764571138c54df81cc3adbeadb26840
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-23 14:55:02 +01:00
Orgad Shaneh
66985fa8d6
VCS: Use #ifdef WITH_TESTS instead of #if
...
Change-Id: I8e2003111d620c0f1708c97e6a02cbc921b031d9
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-01-22 21:56:18 +01:00
Orgad Shaneh
3b66b11ac4
VCS: Add diff pattern tests for CVS and Mercurial
...
* Fix Mercurial pattern
* Make fileNameFromDiffSpecification protected again (it was made
public for running tests, but they are now run from VCSBaseEditor)
* Remove DiffHighlighter::filePattern(). Not used anymore.
Change-Id: Ifc99f761f0ab96cc79f1d018e3f3c8cf4603da10
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-22 13:38:01 +01:00
Orgad Shaneh
7b39f41c05
VCS: Refactor fileNameFromDiffSpecification
...
Use diff file pattern to match file name. Avoid duplication.
Include unit tests for Git
Change-Id: Ib68a08368270a27976a3e16bdd1cb219a52b8889
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-21 12:19:55 +01:00
Orgad Shaneh
725ecc5f91
VCS: Refactor createDiffHighlighter
...
All plugins do the same...
Change-Id: I21e5a1d7507292add91199a3db75df74165b63b1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-01-18 12:43:22 +01:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Orgad Shaneh
12a99d476c
Git: Do not display invalid commit as blame candidate
...
Change-Id: Ia08775b2e4364f405d223a9b49971ae70c04965a
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-07-26 20:57:45 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
Orgad Shaneh
671bfb9250
VCS: Always allow "Revert Chunk"
...
Remove revertDiffChunkEnabled property
Any diff view might relate to previous changes, so it makes sense
to always allow reverting them
Change-Id: I8da0fb2d8625ac98140d1bde0296a4478bc6a0b7
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-06-04 11:35:07 +02:00
Orgad Shaneh
3c342a49dc
VCS: Add 'Blame current revision' in blame context menu
...
Internal change: added decorateVersion() function for decorating
a revision. This is called for both the current version and previous ones
Change-Id: I8b23fd628c9db01b005c19d46580979c5a21c687
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-06-04 11:34:24 +02:00
Tobias Hunger
8cb78687bb
VCS: Fix indention
...
Change-Id: Ie1d042325f2b1423f9b01ccc1df3c83ba92e0734
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-03-06 15:10:56 +01:00
Tobias Hunger
4b366303e6
VCS: Make dark color schemes work with annotation highlighter
...
Task-number: QTCREATORBUG-6257
Change-Id: Ied01cf6773b5114100afccbac33f359cc72c0889
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-03-06 14:34:01 +01:00
Erik Verbruggen
3fa55b7ab9
Removed module names from #include directives.
...
Getting the #include directives ready for Qt5. This includes the
new-project wizards.
Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-15 16:24:46 +01:00
Eike Ziller
f916d38dce
Make IFile::isReadOnly consistent.
...
It is supposed to refer to the property of the file on disk (if there is
any).
Task-number: QTCREATORBUG-4998
Change-Id: Iaed62c17d124b364aecec4d1f910046bade42d40
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-14 12:58:11 +01:00
Tobias Hunger
ca4efa4a34
Git: Speed up diff/show output
...
* Avoid calling git --version repeatedly
* Use VcsManager to find toplevel directory which does caching.
Task-number: QTCREATORBUG-6906
Change-Id: Ib9ba94751bbecac686a0e116baeded9b2f6f3d90
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-02-03 15:23:36 +01:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
Hugues Delorme
b6a06105c5
VcsBase: URL and email support in log editors
...
URL and email addresses are recognized in log and annotate
editors so the user can interact with as it is usually done
with VCS change identifiers.
The design of "text cursor handlers" opens the path for
further support of other contents like bug id of the
form "QTCREATORBUG-XXXX".
Change-Id: I88f553cf8ac90678ace52144ba0b43604279a234
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-01-20 09:36:39 +01:00
hjk
6681d3edee
vcs: s/VCS/Vcs/
...
According to style guide.
Change-Id: I05c1d4f50ddbf2876ab7e0835f4abec95fd573b2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com >
2012-01-09 10:55:41 +01:00
hjk
2eadc22023
vcsbase: style
...
Change-Id: I139d9d46605383f03215c80bd9e9fd965021b435
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2012-01-09 10:38:55 +01:00
Tobias Hunger
f696312368
Use internal namespace in VCSBase more consistently
...
Change-Id: I61de9796aaeb9484b44029c5f1d46e69834a04c3
Reviewed-by: Hugues Delorme <delorme.hugues@fougsys.fr >
2011-12-08 14:44:04 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Friedemann Kleint
4d81efda31
VCS: Add a 'Apply patch chunk' pairing 'Revert chunk' to VCS editor.
...
Fix "Open With" editor-by-mimetype search to return all (diff) editors.
Change-Id: I8d9d3cee9e5fcee5555d6e301818ed22ad4390ac
Reviewed-on: http://codereview.qt.nokia.com/2912
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-08-12 13:45:25 +02:00
Friedemann Kleint
ddf4b613f3
Krazy fixes (spelling, single char strings, char constants).
2011-05-10 15:21:41 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Friedemann Kleint
5001aec7ce
CodePaster: Provide service for soft-dependent plugins.
...
Offer 'Paste' in VCSBase-Diff-Editor context menu.
Make new protocol the default one if user changes it
in view/paste dialogs.
2011-04-21 15:21:50 +02:00
Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
Conflicts:
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
src/plugins/qt4projectmanager/qt4target.cpp
src/plugins/qt4projectmanager/qt4target.h
src/plugins/qt4projectmanager/qtoptionspage.h
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Friedemann Kleint
4ed14a1f2c
VCS[perforce,svn,vcs]: Use convenience to tag editors for reuse.
...
Introduce convenience to determine editor tags to avoid
crashes on empty files arguments, etc (VCSBaseEditor).
Add diff-whitespace handling and 'Revert chunk' to Perforce.
Task-number: QTCREATORBUG-4305
2011-03-31 10:57:33 +02:00
Friedemann Kleint
58111b2df2
API Documentation: Add VCSBase.
2011-03-28 14:19:17 +02:00
Friedemann Kleint
491a27163a
VCS[git]: Add 'Revert this chunk' context menu option to diff view.
...
Implement in git. Add infrastructure to revert single chhunks
by using patch -R. Currently only implemented in git since
only that has functionality to re-run diff.
Rubber-stamped-by: hunger <tobias.hunger@nokia.com >
2011-03-24 15:46:09 +01:00