summaryrefslogtreecommitdiffstats
path: root/plugins/fossil/fossilplugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update to upstream FilePath changesHEADtemp/fossilmasterhjk2023-01-201-1/+1
| | | | | Change-Id: I151fc9cb369bafd943dbfcfa17a301e09cd897df Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Fossil: Adapt to upstream changesJarek Kobus2022-12-111-2/+2
| | | | | | | Follow up 32e824c76257c21ee4a5d036ecb7bfcbf6664448 Change-Id: I2d8c9f1b9424bfc2db2abbc25ed272c093a6ed63 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream changeChristian Stenger2022-11-111-1/+1
| | | | | Change-Id: I78dc0a6a300857cadeb770ad43dc06beca32351b Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream changeChristian Stenger2022-10-281-14/+2
| | | | | Change-Id: I486cae994d432acafb7a882688933e7e85b51a2e Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream changesChristian Stenger2022-10-201-13/+1
| | | | | Change-Id: I1432be3be2b5f5795587fd4263fcb1389966dff0 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Do some cleanupJarek Kobus2022-10-071-11/+2
| | | | | Change-Id: Ia63ed85397a4a86f8037797aa899253e9bcf3913 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Avoid returning value by referenceJarek Kobus2022-10-061-2/+1
| | | | | Change-Id: Id094d6f70a0e3eb8ef9cb6336880f6ff9187d7df Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Replace foreach with ranged for loopJarek Kobus2022-10-061-2/+3
| | | | | Change-Id: I6238651d0b6ea8b932195711d3da7442158d2456 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Simplify data structuresJarek Kobus2022-10-061-7/+9
| | | | | | | Do some cleanup. Change-Id: If40fefbdb646f0eb434539f8306421a40e47a3ee Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream changesChristian Stenger2022-08-021-9/+9
| | | | | Change-Id: Iae091f1dedb3ea944c4e65ad6a2d67c2f327a939 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Adapt to upstream changesChristian Stenger2022-07-271-1/+1
| | | | | Change-Id: If876d7f91172ddd3398c6a37ad8f14b73a3e55ee Reviewed-by: hjk <hjk@qt.io>
* Adapt to upstream changesJarek Kobus2022-07-141-3/+3
| | | | | Change-Id: I0ec67b57432ac03b3cf3f93802686effdfce78c7 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream changesJarek Kobus2022-07-131-8/+9
| | | | | Change-Id: Idbe054570ef3af558d1c9cb2a18a1824502fe265 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Adapt to upstream changesChristian Stenger2022-03-091-0/+1
| | | | | Change-Id: Iaa94ecf5614aa1fa86f288b7db9141efbb06318d Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Adapt to upstream changeChristian Stenger2021-11-031-2/+1
| | | | | Change-Id: I382253de65d1accf9693348f361924eb58d0bed0 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream changeChristian Stenger2021-08-241-1/+1
| | | | | Change-Id: If64379f70be8b241be1d671a470c5da6f3febc10 Reviewed-by: hjk <hjk@qt.io>
* Adapt to upstream changesChristian Stenger2021-08-061-28/+22
| | | | | | | | * FilePathification * SynchronousProcess -> QtcProcess Change-Id: I973ff68585788c8742652f69a7c057e28aafbaf4 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream findTopLevelForFile changehjk2021-07-301-4/+3
| | | | | Change-Id: I699d524c7b9317ac74f3f2ca3027271923ab982b Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to IVersionControl FilePath changeshjk2021-07-301-38/+40
| | | | | Change-Id: I26e95992b69d8b38f107234fd47e04f02eae8436 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream changesChristian Stenger2021-05-211-1/+2
| | | | | Change-Id: Ib6b36e98229e0f14d07a10ac35f66ff1e7f6379a Reviewed-by: David Schulz <david.schulz@qt.io>
* Fossil: Aspectify settingshjk2021-03-241-10/+7
| | | | | Change-Id: I090cf3c63cd705220abb09e5d58eef89e9b55147 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Fix compilation with upstream changesEike Ziller2020-10-211-1/+1
| | | | | Change-Id: Ic0b6731339b84005c8d13ffa09793c5786ab1038 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Do not include Core::IdEike Ziller2020-09-221-1/+1
| | | | | | | It moved to Utils. Change-Id: I8bfbda0857e79577d02d4a9bad518f46769a8c07 Reviewed-by: hjk <hjk@qt.io>
* Use Utils::SkipEmptyParts instead of the deprecated one in QStringArtur Shepilko2020-07-191-1/+2
| | | | | | | | | | | | - Qt 5.14 introduced Qt::Keep/SkipEmptyParts and deprecated these in QString namespace. - Qt Creator defined Utils::SkipEmptyParts conditional on the Qt version, so we use that for flexibility. - Remove any explicit references to QString::KeepEmptyParts, as it's a default value. Change-Id: I72c65e4901ebc4c5422d4835e63fe23fb6ef28ff Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Fix build after upstream changeEike Ziller2020-07-071-3/+3
| | | | | | | | Use Utils::Id. The upstream files no longer automatically include the Core::Id wrapper. Change-Id: I7b4d6ef865df44b47e07248bb653a913ba68c494 Reviewed-by: hjk <hjk@qt.io>
* Adapt to upstream changesOrgad Shaneh2020-06-181-7/+6
| | | | | Change-Id: I964746d7c34cdf6a23cb027cbf6987b21a6b079f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Push/pull: Fix the handling of the Default URLArtur Shepilko2020-06-161-40/+37
| | | | | | | | | | | | | | | | | On a successful push/pull operation, Fossil allows user to save the used remote URL, such that the next time it would be used by default. With Fossil plugin, the user is allowed to choose the saved Default location, also it's pre-filled in Remote URL field. A choice is offered to save the newly entered Remote URL, otherwise the entered URL is used only once without saving. To use the Default URL, Fossil push/pull command should be called without specifying any URL explicitly. Otherwise, Fossil client displays a prompt asking whether to save it, even when it matches the currently stored one. Change-Id: I3f517be4b60bef5bf1f5bca19345078ef6d6dda2 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to 4.12Orgad Shaneh2020-02-141-2/+2
| | | | | Change-Id: Ie49d91582dac4b130c8fcd7db2ce19249ed3f057 Reviewed-by: hjk <hjk@qt.io>
* Adapt to recent VCS base changeshjk2020-02-101-99/+223
| | | | | Change-Id: Ia55808cb0e0959ab77333120dabd5401ec51d2a3 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream changesOrgad Shaneh2020-02-061-2/+2
| | | | | Change-Id: Ib8884f1d62129d8275f4036bfd8880137733217c Reviewed-by: hjk <hjk@qt.io>
* Fix crash on startupOrgad Shaneh2020-01-311-1/+3
| | | | | | | FossilPluginPrivate::instance() was called before dd was assigned. Change-Id: Id6bb6a0134ffa80e18c9c9cc144fb25ca6a2be6b Reviewed-by: hjk <hjk@qt.io>
* Adapt to upstream changesOrgad Shaneh2020-01-311-13/+265
| | | | | Change-Id: I3c55a84419b22d02bf275729220572c10ca11e35 Reviewed-by: hjk <hjk@qt.io>
* Adapt to upstream changesOrgad Shaneh2020-01-311-60/+70
| | | | | Change-Id: Ibdbd3abcfd65b091744451830625e2135c6573d9 Reviewed-by: hjk <hjk@qt.io>
* Adapt to changes in 4.114.11Eike Ziller2019-10-231-1/+1
| | | | | Change-Id: Ie02d61ecdb1a636ca4d21b1e5b09bde530c1fdca Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to upstream FileName changesEike Ziller2019-05-291-1/+1
| | | | | | Change-Id: I5b2a3ec17024fdc569df0c65f8d48564d5a3afea Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to masterOrgad Shaneh2019-05-141-1/+1
| | | | | Change-Id: Ie1b9f937fe2daaaa2a181d28aec8ba065aff9e3f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Adapt to 4.94.9Eike Ziller2019-05-131-4/+2
| | | | | Change-Id: I9c413eaf6d70eaf09640aed349c876c040ef55ba Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to master4.8Orgad Shaneh2018-09-211-1/+1
| | | | | Change-Id: Iee445c716469a4cc257c7eccc986a5e1d50411ff Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Adapt to upstream VCS changeOrgad Shaneh2018-08-281-23/+0
| | | | | Change-Id: I4097fb789a887e656d510a3fff67f5bf396a9a0a Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Add support for annotation of any given revision4.7Artur Shepilko2018-08-081-2/+3
| | | | | | | | | - 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>
* Adapt to QtCreator 4.7Artur Shepilko2018-07-131-12/+14
| | | | | | Change-Id: I9eb8d740e1ef33622a8ba15e4e832755f0141a94 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Adapt to change in VCS registrationEike Ziller2017-10-061-2/+1
| | | | | | | Was changed in qt-creator/19c9194b117bf4d5a4d5ef19e6f9d84d92c67620 Change-Id: I1b6449d3435a418f7fdd1cc3b94c2e752c062672 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Vcs: Jump to the current source line in Fossil Annotate editorv4.3.04.3Artur Shepilko2017-04-261-1/+2
| | | | | | | | | | | | | | | | * 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>
* Doc: Add a doc project for the Fossil pluginEike Ziller2017-03-091-0/+4
| | | | | Change-Id: Ic465b8838f090688fab2fc966fa3fbf7409c13a2 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
* Vcs: Add Fossil SCM integration pluginArtur Shepilko2017-02-091-0/+819
* 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>