summaryrefslogtreecommitdiffstats
path: root/plugins/fossil/fossilclient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for annotation of any given revision4.7Artur Shepilko2018-08-081-17/+45
| | | | | | | | | - Parent commits are also accessible from Annotate context menu - The client functionality was added in `fossil v2.4` Change-Id: Ia6096432cb1151388b5aebca30a6d25c1c6079f4 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Update copyright yearArtur Shepilko2018-07-161-1/+1
| | | | | Change-Id: I2b1db2013cad9d25d2a54439866aae63a62623f0 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Fix isVcsFileOrDirectory4.5Eike Ziller2017-10-171-3/+4
| | | | | | | | | | The method should return if the given path is a file or directory that contains the version control system specific data (like .git, .svn), so it only should return true for the fossil db file. Change-Id: I0211b117f43fbeda2c44e782927dbed6b5a19a21 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Adapt to changes in VcsBase4.4Eike Ziller2017-10-061-9/+9
| | | | | | | | | The VCS editors now directly keep a pointer to their editor config. Changed in qt-creator/a36536813f9aa00944fd8fcab2e2689a385d5387 Change-Id: Icd1c8b0628677b3b6da305ca294b2d67810c7992 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Vcs: Jump to the current source line in Fossil Annotate editorv4.3.04.3Artur Shepilko2017-04-261-28/+68
| | | | | | | | | | | | | | | | * Keep track of the current source line number and pass it to Annotate action. * Add a 'List Versions' toggle in Annotate editor to prepend a list of commits that make up the annotated source. * By default do not show the version list so that annotated line number could be matched to the source line. NOTE: VcsBaseEditorWidget::configurationWidget() query is no longer available, yet Fossil client needs it in order to process the effective arguments. So we re-implement it in FossilEditorWidget sub-class. Change-Id: Idc4c21d074ccf4e1c6d041cce2abceb78665c8f2 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Vcs: Re-implement Fossil's topic indicator using a TopicCache sub-classArtur Shepilko2017-04-211-20/+1
| | | | | | | | | The functionality for tracking project's current topic/branch has long been folded into a base class Core::IVersionControl::TopicCache. Fossil plugin should just sub-class it and pass the instance to the base. Change-Id: I1b6c1631f5fc10987d8a608d573defeecbc31b37 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Vcs: Add Fossil SCM integration pluginArtur Shepilko2017-02-091-0/+1201
* Qt Creator base-commit: f77af5e3362cc6c4360ea1d197fb834cd5b072fa * Stand-alone plugin source tree for integration into qtc super-project * Original release: https://github.com/nomadbyte/qtcreator-plugin-fossil * Adapted from Bazaar plugin implementation Configuring Fossil ------------------ 1. Download the [Fossil SCM client](http://fossil-scm.org) and install `fossil` executable file in your `PATH`. 2. Create or designate a directory to store local Fossil repositories and remote clones. For example: `~/fossils/qt`. 3. Configure Version Control Options for the Fossil plugin to use the designated directory as `Local Repositories Default path`. Now Fossil should become available as a VCS choice to create new local repositories, as well as a choice in `New File or Project` to clone a remote Fossil repository. Change-Id: I630184c1b344184d9e08ae2fc24a5e4766f834b9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>