- 12 Dec, 2017 2 commits
-
-
Nikita Baryshnikov authored
Change-Id: Iadfa3e74794b7a4a17b77b1b212894a4b2830c7d Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Jaroslaw Kobus authored
Rename it into HighlightScrollBarController. Don't derive it anymore from QScrollBar. Make it based on QObject and decorate the existing instance of QAbstractScrollArea as needed. Fix the highlight of the shared scrollbar of the SideBySideDiffEditor. Both left and right diff editors have their own HighlightScrollBarController and their own separate overlays, but both overlays are created as children of the same right editor instance. Synchronize also the cursor between left and right editors. Make highlight current line working. Make the overlay transparent for mouse events - this fixes issues on macOS when scolling over invisible scrollbar. Change-Id: Iab05c360173e09d8748658c59785da86438a7189 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
- 11 Dec, 2017 4 commits
-
-
Ivan Donchevskii authored
Add token name, usr, isDefinition and isDeclaration. Change-Id: If67bf78c999cb9edd397d0b553b33e5f5f378f8a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
Ivan Donchevskii authored
Before adding additional members into that class it makes sense to rename it to better represent its content. Other classes serving the same purpose are also renamed to keep the names consistent. Change-Id: I3c8517e42aae29779d71ec9c85b713cff581a473 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
Marco Bubke authored
You have to include them for all translationunits because otherwise default print function are generated. So you get to different implementations for the same symbol. Change-Id: I732d2e1f1774f72acdbb49cbe1848d31ca3f5c98 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
Ivan Donchevskii authored
Backup member was never set to true. Change-Id: I21dc889813820e2a463c5ba812b18b57766e03c4 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
- 09 Dec, 2017 2 commits
-
-
Andre Hartmann authored
Change-Id: I0f92993aa6152836237f7429c66761c22692075d Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Andre Hartmann authored
* Use member init * Use nullptr * Use range-for * omit QLatin1{String|Char} where possible Change-Id: Ib231b747cdd9073b3d4fc6779b8e0afb2b404a31 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
André Hartmann <aha_1980@gmx.de>
-
- 08 Dec, 2017 6 commits
-
-
hjk authored
This follow the rough pattern of recent *RunConfigurationFactory changes for build and deploy configurations. - Collapse the two lines of constructors similar to what 890c1906 did for RunConfigurations * Deploy* was purely mechanical * Build* ctors are split in connects() in the ctor body to create "empty shell for clone" etc and build step additions in initialize() functions which are only used in the create() case. -- Allows to collapse the shared 'ctor()' functions, too. - Move FooBuildConfigurationFactory::create() implementations to FooBuildConfiguration() constructor. That was a strange and unneeded ping-pong between factories and objects, and furthermore allows one level less of indirection (and for a later, left out here, some reduction of the FooBuildConfiguration interfaces that were only used to accommodate the *Factory::create() functions. - Most {Build,Deploy}Configuration{,Factory} classes had a canHandle(), but there wasn't one in the base classses. Have one there. - Most canHandle() functions were checking simple restrictions on e.g. project or target types, specify those by setters in the constructors instead and check them in the base canHandle() - clone() is generally replaced by a creation of a "shell object" and a fromMap(source->toMap()), implemented in the base, there are two cases left for Android and Qbs that needed(?) some extra polish - generally use canHandle() in base implementation, instead of doing that in all Derived::canFoo() - as a result, canCreate/create/canClone/clone reimplementations are not needed anymore, keep the base implementation for now (could be inlined into their only users later), but de-virtualize them. - Combine Ios{Preset,DSym}BuildStepFactory. There was only one 'dsym' build step they could create. - Split the 'mangled' id into the ProjectConfiguration subtype specific constant identifier, and a QString extraId() bit. Only maintain the mangled id in saved settings. - Make ProjectConfiguration::m_id a constant member, adapt all constructors of derived classe. Not done in this patch: - Finish possible cosmetic changes on top - Add a way to specify restrictions to supported Qt versions (used in Android/Ios), as the base implementation does not depend on the qtsupport plugin - Combine the QList<X> availableFoo() + createFoo(X) function pairs to somthing like a direct QList<struct { X; std::function<X()>; }> fooCreators() to avoid e.g. the baseId.withSuffix() <-> id.suffixAfter(base) pingpong - Remove the *Factories from the global object pool - Do something about priority(). Falling back to plain qmake in android+qmake setup is not helpful. Change-Id: I2be7d88d554c5aa8b7db8edf5b93278e1ae0112a Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Tobias Hunger authored
Use Project::isKnownFile instead. Change-Id: If69e413e4603fe6d7dc359ecd55d6233d9a3a642 Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Tobias Hunger authored
Make the project responsible to provide information on which files belong to it instead. Change-Id: I80accf9104af33eaffc6b8f3e6024e9725697d37 Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Tobias Hunger authored
Make Project::files take a standard function to match files with instead of an enum (and a std::function). Change-Id: I6a24e40dba0e972ff96c0a57e775d2377e2545e0 Reviewed-by:
hjk <hjk@qt.io> Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Tobias Hunger authored
Change-Id: I75ceb22ac65b8288d824f229d44089cba6fc8ea3 Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Ulf Hermann authored
device factories will generally QTC_ASSERT when asked for IDs they don't support. When asked for IDs they do support they should provide a non-empty display name, though. Change-Id: I1439fa7bec1791979dfdf28a6ee70e2e77ec8381 Reviewed-by:
hjk <hjk@qt.io> Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
- 07 Dec, 2017 8 commits
-
-
Ivan Donchevskii authored
Make tidy/clazy switch more intuitive. Change-Id: I13d17376bdace039ae371693e28f6fcb0b493244 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
Alessandro Portale <alessandro.portale@qt.io>
-
Eike Ziller authored
Create a LineColumnLabel class that aggregates the functionality that was before spread through the editor widget and factory classes. Change-Id: I6ba316174b2f690a0b146bdd606c6f8ed985ec20 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Eike Ziller authored
Change-Id: I906e00628365073527a2b8ab1e5bb4e61c8225d0 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Eike Ziller authored
It is not only used for line and column. Change-Id: I544244dbca0b9f084e45ff2d7e4f28f79d2cae09 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Eike Ziller authored
Change-Id: I4413841adc00156a4c8877c00ba6929262ae8e8f Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Eike Ziller authored
Change-Id: Ib75cfcc7741be686c0117fbb27df869e14db4f69 Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Ulf Hermann authored
This rids us of the "Issues" about various wizard files when opening qtcreator.pro Change-Id: Ib49e87ded791bcc9155e65a77cac523c1f67de56 Reviewed-by:
Marco Benelli <marco.benelli@qt.io>
-
Eike Ziller authored
Change-Id: Ic7c16091268083c0426cf29f0691a7ee458f2bd9
-
- 06 Dec, 2017 9 commits
-
-
hjk authored
It was needed in the past to trigger e.g. gdbserver setup in remote cases which is nowadays handled by separate RunWorkers. Change-Id: I30bce071dab0779cce2e7abef7b31550d8539461 Reviewed-by:
Christian Stenger <christian.stenger@qt.io> Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Robert Loehning authored
Change-Id: Ibbabacc7a5e357ac765ef8629e74ca2e05505078 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
Ulf Hermann authored
Change-Id: Iec1c2108f5e0fd9028cf00f8c18eb7590fd2e76b Reviewed-by:
hjk <hjk@qt.io>
-
hjk authored
Change-Id: I006fb9ae57610d2be65c1d6b83fa38660a5326aa Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
Christian Stenger authored
Task-number: QTCREATORBUG-19414 Change-Id: Ia93863a6127f4b670113cf6d9159defa4adb6ec4 Reviewed-by:
hjk <hjk@qt.io>
-
Robert Loehning authored
Change-Id: I6eec438e5c881da8e6946b3d167e1e71f49ba574 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Tobias Hunger authored
Change-Id: I5ae57744171c84c4cc36b3b643ad11092d89884b Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
Tobias Hunger authored
Sort includes to shut up codemodel. Change-Id: I03b980b8cd0a7c9da21f4e730558256548cb8a8a Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
Ivan Donchevskii authored
Plugins make code model slower. So do not enable them until you need them. Change-Id: Idaba0509417d70b41b88b5d66d731a1dae0e9c2f Reviewed-by:
Alessandro Portale <alessandro.portale@qt.io>
-
- 05 Dec, 2017 9 commits
-
-
Alessandro Portale authored
This change replaces the outdated CrumblePathButton graphics with new, themable and high-DPI-able variants. The new graphics need to be drawn in a different way, which reduces the required code in CrumblePath a bit. Change-Id: Ie006199c7f307ae7528b5c951c95cfa2a1c4308d Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
Alessandro Portale authored
We need disabled state of the Icon as pixmap, e.g. in the CrumblePath. Change-Id: I3dfea5145c2c12f436e2dca73f1ac96839139236 Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
Marco Bubke authored
Change-Id: Ib07b16bf60c56027814cc5f0d7be1cacd15e96bb Reviewed-by:
Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Robert Loehning authored
Change-Id: I8f7b5f90bfa7389df55b42910ba245ad78ef5bc6 Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Tobias Hunger authored
When adding Qt to the PATH in the qmake desktop runconfiguration, creator added the INSTALL_LIBS on windows. This is not correct, use INSTALL_BINS instead. Change-Id: Idf3644085657f871870119126d2ab28721ff85d8 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Thomas Hartmann authored
Change-Id: Ie7e05c78c2d817da9dd91c345f1949daa640c6bc Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
Change-Id: I39b30a73932a6fac67cdb6b07225a4f675346fec Reviewed-by:
hjk <hjk@qt.io> Reviewed-by:
Alessandro Portale <alessandro.portale@qt.io>
-
Christian Stenger authored
Verification of URLs used for "link labels" on the Welcome page is now possible again. Change-Id: Id48ab40201a9c2a60dc3c991052f45bee93707bc Reviewed-by:
Robert Loehning <robert.loehning@qt.io>
-
Marco Bubke authored
Change-Id: Ieb4fe43c7b5cd27cc270f3c5d269c2d4812a0131 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-