summaryrefslogtreecommitdiff
path: root/src/plugins/cvs/cvscontrol.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* VCS: Notify project wizard about config changesTobias Hunger2011-04-151-0/+5
| | | | | | ... and have the project wizard update the available VCS. Task-number: QTCREATORBUG-4423
* VCS: Do not claim to support any operation if unconfiguredTobias Hunger2011-04-151-1/+11
| | | | | | | Make sure none of the VCS systems claims it does support any VCS operation while unconfigured. This stops the specific VCS from showing up in wizards, etc. till they can actually be used.
* CVS: Remove useless virtual keywords and membersTobias Hunger2011-04-151-1/+0
|
* Update license.hjk2011-04-131-14/+13
|
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* License headers.con2010-12-171-7/+11
|
* Fixup formating of mr2178Tobias Hunger2010-09-291-1/+1
| | | | | Merge-request: 2178 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Added few new functions to IVersionControl, VCSManager and GeneratedFile to ↵Tuomas Puranen2010-09-291-0/+12
| | | | | | | | | | | | support the funcationality needed by the trac plugin. All the version control plugins updated to have implementations according to the interface changes. Merge-request: 2178 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Merge-request: 2178 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* VCS[CVS]: Complement menu options, support 'edit'.Friedemann Kleint2010-08-061-4/+4
| | | | | | | | | | | | | Add missing menu options for project/repository actions. Add support for 'edit' (current file) and 'unedit' (current file/repository, with prompt). Note: Unediting modified files will only work with cvsnt, since it uses the '-y' option to force a 'yes' to CVS asking to revert changes. Implement IVersionControl::vcsOpen() by using 'edit', causing it to prompt for read-only as it does for Perforce. Task-number: QTCREATORBUG-1971 Task-number: QTCREATORBUG-1864
* Version control: Improve detection.Friedemann Kleint2010-05-201-7/+2
| | | | | | | | | | | | Merge managesDirectory() and findTopLevelForDirectory() into one giving managesDirectory() an optional topLevel parameter. This removes the need to go up the directory hierarchy twice when checking for Merurial or git and also saves some checks for CVS/Subversion. VCSManager: Check cache in reverse order starting out with the full path first to improve handling of nested repositories. Rubber-stamped-by: con Acked-by: dt
* Fix warning about unused parametersdt2010-05-171-0/+2
|
* File renamingdt2010-05-121-0/+6
| | | | | | | | | | | | | | | | | | | | Reviewed-By: con Reviewed-By: Friedemann Kleint We now support renaming files. The version control system tries first to rename, if that doesn't support or can't rename the file we do a normal rename. (Note: git, hg, perforce > 2009.02 support renaming, cvs not. (perforce untested)). We correctly notify all editors of the renamed file and tell the project manager to rename the file in the project. Note: Only the qt4projectmanager knows how to rename files. Note: renaming folders, moving files to different folders, renaming .pro/.pri files is not supported. Those things can be later added after this has proven to work correctly in the simple case. Also we don't do any actions based on the renaming like renaming classes, changing include guards or #include lines.
* VCS: Add 'Annotate' context menu entry to build issues task window.Friedemann Kleint2010-03-191-0/+7
|
* Long live the king!hjk2010-03-051-1/+1
|
* VCS[git]: Add support for stashes.Friedemann Kleint2010-01-151-0/+21
| | | | | | | | | | | Add non-modal stash management dialog and additional menu option "Stash snapshot..." to stash away changes prompting for a description, which will immediately replay the stash (take snapshot and continue working). Add interface to IVersionControl for creating/restoring/deleting snapshots for backup/complex undo operations (currently supported by git only). Add test options to VCSBasePlugin. Clean up and extend git client accordingly.
* VCS[hg, git]: Add support for repository creation.Friedemann Kleint2010-01-121-0/+6
| | | | | | | | | | | | | Add repository creation operation to IVersionControl, implement for hg and git, add convenience slot with prompts to VCSBasePlugin. Add respective menu options and make menus are visible in case no VCS is active. Change project wizards extension page to list VCS that are capable of repository creation in a QComboBox in case the directory is not managed by another VCS (in which case it lists that one for operation 'add'). On that occasion, polish the Project selection to use a QComboBox as well and add some smartness to find the most suitable project to add via path matching.
* Make method naming more consistent.Tobias Hunger2010-01-071-1/+1
| | | | | | | | | | | | * Use id() for methods returning a string used to represent some type of object. * Use displayName() for strings that are meant to be user visible. * Quieten some warnings while touching the files anyway. * Move Factories to their products in the plugins where that was not done before. Reviewed-by: dt
* CVS: Use new VCSBasePlugin-class.Friedemann Kleint2009-12-091-3/+6
| | | | | Make the diff-base directory a property of VCSBaseEditor and use everywhere.
* VCS: Introduce Base class for VCS plugins, use in git.Friedemann Kleint2009-12-081-13/+0
| | | | | | | | | | | | | | | | | | | | Fixes: - Cannot diff a file that does not belong to a project - Cannot commit when a temporary diff/log view is open due to the current file pointing to a temporary directory - git's project-related actions not passing the correct relative path. Implementation: - Centralize code to listen for Qt Creator's relevant state changes in VCSBasePlugin, dispatching the changes to the instances affected. (avoiding multiple invocations of searches/QFileInfo on current). - Do the same for the corelistener catching closing SubmitEditors. - Introduce VCSBasePluginState representing the relevant state (current file/project). - Call git with working directory set and relative arguments - Remove setEnabled/isEnabled() logic of IVersionControl - Pass toplevel from VCSManager to avoid duplicate searches.
* Code model: Update on changes from the versioning system.Friedemann Kleint2009-11-111-0/+11
| | | | | | | | | Add changed signals to IVersionControl and VCSManager and wire them to the update methods. Add a menu action for manually updating. Improved version of reverted 7aa24116935249a840e1350a6f8de73bc794fb09. Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Revert "Code model: Update on changes from the versioning system."con2009-11-101-11/+0
| | | | | | | | This reverts commit 7aa24116935249a840e1350a6f8de73bc794fb09. It breaks the code model updates completely. So reverting this change until we have the right thing. Reviewed-by: Roberto Raggi
* Code model: Update on changes from the versioning system.Friedemann Kleint2009-11-091-0/+11
| | | | | | | | | | | Add state logic to CppCodeModelManagerInterface, making it aware whether an indexer is running, protect the update methods from another invocation while running. Add changed signals to IVersionControl and VCSManager and wire them to the update methods. Add a menu action for manually updating. Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: con <qtc-committer@nokia.com>
* long live the kinghjk2009-08-141-1/+1
|
* Add a CVS plugin for use with UNIX cvs or Tortoise CVS.Friedemann Kleint2009-07-151-0/+98