1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

25991 commits

Author SHA1 Message Date
Lidia Popescu
0cf1ee7fde Bug 536255 - Extension point for open call hierarchy view
Adding a new extension point that makes possible to extend content from
the Open Call Hierarchy View by adding a new node at the top of the
tree.

Change-Id: I9ac79896a4e8fffc9ed51cdb1be3c70f30d117c4
Signed-off-by: Lidia Popescu <lidia.popescu@windriver.com>
2018-09-08 03:03:00 -04:00
Simeon Andreev
8a73297c10 Bug 538785 - Select Processes dialog should remember when resized
With this change, the Select Processes dialog will remember its new size
if it was resized by the user.

Change-Id: I27161ae5b5332db87cc9876aa23cf8fd8c751a80
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2018-09-07 16:34:13 -04:00
John Dallaway
6870f55fbb Bug 538282: Set architecture for remote GDBJtag tests
Change-Id: I0e4e8a345bd5c63116efff2a6b140500f0b77328
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-09-07 16:48:37 +01:00
Jonah Graham
92bdc049a2 [releng] Update tests/build script to use newly released GDB 8.2
Change-Id: I6f67200880b9d9ed96f4cf0555d92312d1f64fff
2018-09-05 12:14:10 +01:00
Nathan Ridge
3679b7cd90 Give lsp4e-cpp access to some CDT internals
This avoids either littering lsp4e-cpp code with "restriction"
warnings, or suppressing them (which can hide useful warnings).

It seems pointless to expose the relevant internals as public APIs
since lsp4e-cpp is conceptually an internal consumer.

Change-Id: I9d8c70570682fa86b2369445a812af14de4930e6
2018-09-02 01:23:17 -04:00
Hansruedi Patzen
e69f72a488 Bug 537942: Inactive include statements have wrong offsets
Fixed the bug and added a test for confirmation.

Change-Id: I5d3c5f797d84b10b961dcfc178a5bbcc3becbd04
Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-09-02 00:00:47 -04:00
John Dallaway
dd17366239 Bug 538282: Add GDB Hardware Debugging launch test
Change-Id: I308a6a8d128704f83a5fc220c7c168f56e4fc040
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-08-27 16:22:10 +01:00
Nathan Ridge
c4ec66adf4 Bug 537534 - Support binary expressions with an initializer-list as the second operand in CPPASTBinaryExpressions.acceptWithoutRecursion()
Change-Id: Ifb37df94c9b33f7eeeca4ab041d8f0608377b8cd
2018-08-24 14:08:05 -04:00
Jonah Graham
19cbbb52d1 Bug 537176: add "update references" checkbox to resource rename
Add a wizard page for the rename of CNature resource files.

The "discouragedReference" is downgraded to "warning" because of the use
of some LTK internal classes. As a reference, most CDT plug-ins this
setting is ignore or warning. See Bug 538133 for changing LTK to make
it easier to do this.

Change-Id: I7b63b3fc97bddf364805c0b92c22ecaafbfbb6d1
Also-by: Baha El Kassaby <baha.elkassaby@gmail.com>
Signed-off-by: Baha El Kassaby <baha.elkassaby@gmail.com>
2018-08-21 13:53:52 -05:00
Jonah Graham
b7e9c8e9ff [releng] Remove outdated problem filters.
With the 9.5 release, these filters no longer apply to 9.6+

Change-Id: I2cf6b47264f308b3aaf27cd1da1b9a6324c84d2d
2018-08-20 11:42:14 +01:00
Hansruedi Patzen
cb47ef4c65 Bug 537924: Unable to build javadoc maven target
Turns off doclint for Java 1.8 and greater because the javadocs are
incomplete and won't build otherwise.

Some files also had encoding issues with some characters which caused
the javadoc build to fail, these characters have been replaced.

Change-Id: I04690644bec6d7c3219cb0438cb3db6593fefd3a
Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-08-14 18:09:17 +02:00
Manish Khurana
1983d41afb Bug 535428. Add indentation and bracket completion support in LSP4E-CPP
Change-Id: Ib9187a3ad28796305c47fe8e9543e1aed6a7bf58
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-08-11 17:14:41 -04:00
Jeff Johnston
ac81db720c Bug 537632 - Meson Property Pages missing some fields after configure
- fix MesonPropertyPage logic concerning a configured meson project
- for possible values, add "-" and "/" as valid characters
- in state flow, don't just wait for blank lines, an option
  header can occur in the middle of a group or a new option group
  name can also occur

Change-Id: I2c6c8f9fb15db0425f03e422b20b58ace5234fd4
2018-08-02 17:45:36 -04:00
François Godin
0b2053dcb2 Bug 537118 - CMake and Meson integration now working on Windows.
- The commands are launched directly instead of using the shell
(/bin/sh) which is not available on Windows.

Change-Id: I5f8d99a04da1c860bcd37d138103a1bd4e501547
Signed-off-by: François Godin <copelnug@gmail.com>
2018-08-01 19:05:24 -04:00
Manish Khurana
02344726c8 Bug 537306 - Add implementation for "$cquery/publishSemanticHighlights"
Change-Id: I598cda18678f7b268a72e4aa5dfe9563d33727bd
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-08-01 15:19:57 +05:30
Nathan Ridge
09d4a1121c Bug 537357 - [lsp4e-cpp] Set the document partitioner in a document setup participant
Change-Id: I2d672cac5bb924a91457bf2e4cc552d596ae5d0d
2018-08-01 02:54:59 -04:00
Jonah Graham
17c79ab310 Update GDB versions in download-build-gdb.sh for GDB 8.1.1
Change-Id: Id4bddb10ad00a0b1d52bd0cc7f9a232cd6ec453e
2018-07-31 20:23:42 +01:00
Manish Khurana
c00975241d Bug 537385. Add initialization options for inactive regions and semantic highlights
Change-Id: I79ef622fa3ae48f055a55d9347a53eddc4fc6b8b
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-25 21:20:39 -04:00
Felix Morgner
52fab3d8af Bug 537272 - Offer "Create local variable" based on compiler errors
This patch introduces an additional message pattern for the
CreateLocalVariable QuickFix that matches GCC's C++ error message for
undefined entities.

Change-Id: I44d6579d41d9c93dc23366907fa52caf1c6f3b21
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2018-07-25 11:24:24 -04:00
Jonah Graham
9853ba09d9 Bug 433329: Fix comment in code
Change-Id: Ie661ab193a0b081240ba4c7dd7a9fe65ed59b6c9
2018-07-25 13:31:49 +01:00
Nathan Ridge
0127ad7c93 Remove lsp4e-cpp code related to the unused 'reindex' command
This code was mostly commented out and non-functional anyways.

Change-Id: Ib0713a1c419438c0973bac49d4bb1786517914ff
2018-07-25 01:49:30 -04:00
Marc-Andre Laperle
4cf155d79f Fix some @since tags because of new baseline and plugin version
Some changes in the cdt.core plug-ins happened without increasing the version
number. With commit 00df140, the version was increased but now the @since tags
do not match the version.

Change-Id: I51bab190aa4be05e678487a6be0b5122cba8146a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2018-07-24 11:14:38 -04:00
Felix Morgner
2dd5e7193d 537217: [C++17] Add support for typename keyword for template template parameters
This patch allows for the 'typename' keyword to be used in
template-template template parameter declarations. Additionally, this
patch also fixes an issue in the writer, which caused the ellipsis in
variadic template-template template parameter declaration to be dropped.

Change-Id: I8f68e6053b2b8848b35d1cf6d25d7f4b5b9d396d
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=537217
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2018-07-24 02:10:59 -04:00
Marc-Andre Laperle
1f89361032 Bug 481753 - LanguageSettingsProvidersSerializer does not "Check Out"
shared language.settings.xml file before writing to it

Change-Id: Ic256e95f17f070c763bdaef8b63583bd915c7eb0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2018-07-23 13:04:13 -04:00
Marc-Andre Laperle
00df140228 Bug 535911: Better error in the presence of compressed ELF section
This doesn't implement reading compressed ELF section, but at least it gives
a more useful error instead of a simple "IllegalArgumentException" with no clue.

Change-Id: Ib0ee1ab9e3aed7aeba184f13262b59ef21afcd32
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2018-07-23 11:36:19 -04:00
Nathan Ridge
836db69fb8 Bug 537031 - Test case for cursor position after completing zero-argument function
Change-Id: I55a4580c0746534c391300346df53ad2d0784abe
2018-07-21 01:24:55 -04:00
Michael Keppler
c7ddddc339 Bug 537211 - Error running Builtin Specs Detector (closed project)
Just check for the resource being accessible immediately before trying
to delete markers of it.

Change-Id: Ic359dc5a5a865a981847c6da1dd2e8cc312b3bd9
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-07-20 07:47:33 +02:00
Manish Khurana
9b2de3ca06 Bug 537030. Add implementation for "$cquery/setInactiveRegions" notification message
Change-Id: Ieda3a95d0ea427425a6c7c08047e05e211cd74fd
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-18 21:39:39 -04:00
Michael Keppler
c47158b2fa Bug 537139 - Checkbox label should not end with a dot
Remove the dot from the checkbox label.

Change-Id: Ic224f7e14bbd82cbeb734edd639db84063b6c5a2
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-07-18 11:48:57 +02:00
Jeff Johnston
e0c656d2e0 Bug 536413 - ConcurrentModificationException when indexing
- apply patch submitted by duh-sa-sekirom@hotmail.com
- in GCCToolChain join the threads that do include path and macro
  searches before waiting for process so as to prevent a
  ConcurrentModificationException

Change-Id: Iefe6f013007b7bbf00117b5295b5e27489a72834
2018-07-17 14:45:21 -04:00
Nathan Ridge
3ed176d0c2 Bug 536805 - NPE in CPPEvaluation.maybeApplyConversion()
Change-Id: I42e780f90aacf9383b722a8b82e441d4032d14e7
2018-07-16 11:03:56 -04:00
Thomas Corbat
adbaa608cb Bug 537013 - Comment is replaced along with node
Provide functionality to remove a specific comment from ASTRewrite.

Change-Id: I5e0b3c521616d2dd900f59b0863e45fb01f34df8
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-07-16 13:16:49 +02:00
Jeff Johnston
1a8f399b8b Bug 536884 - Removing header cache should cause ScannerInfo refresh
- add a new IToolChain property "cdt.needScannerRefresh" that is
  set if scanner info needs to be refreshed
- for a Container build, turn the property on in ContainerGCCToolChain
  startBuildProcess() if the Container headers for the toolchain's
  have been deleted
- in CBuildConfiguration processLine(), look for the toolchain
  property when looking to see if scannerinfo should be calculated
- in CBuildConfiguration, turn the toolchain property off in
  shutdown()

Change-Id: I67a3537d1e2967dc15b66a1c37abda1ae8f78bff
2018-07-12 13:53:05 -04:00
Jeff Johnston
a394557c60 Bug 533363 - Indexer spending a lot of time in CommandLauncherManager
- it seems that fetching the active configuration for a project
  using an ICConfigurationDescription is time-consuming
- the active configuration is sought in ContainerCommandLauncherFactory
  to get the optional build properties and thus we can figure out
  if the active configuration has enabled container build or not
- see if we are given a CConfigurationDescriptionCache and it
  contains a BuildConfigurationData element which allows us to
  get an IConfiguration without creating a new one, serializing
  it etc.. which is adding to the time taken

Change-Id: I8973f1707a602a73fc5ac751f12a1e8dbd549aab
2018-07-11 14:58:32 -04:00
Manish Khurana
79331d755a Bug 536797. Add implement for "$cquery/progress" notification message from cquery
Change-Id: I1e49023262facab821b2278c38b82076c2bf21f9
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-08 17:06:59 -04:00
Nathan Ridge
52e1ccf3bc Bug 535777 - Disallow class body in trailing return type
Change-Id: I6e4d015cb3e1b12486f336db94ed71c234142b60
2018-07-08 14:28:34 -04:00
Nathan Ridge
7f5ed929a9 Bug 536380 - Open files with CEditor (specifically, rather than the default editor) in UI test suites
Change-Id: I4f9e94b51956ef72888c5dfb9cb10b39f93a9d38
2018-07-07 20:17:59 -04:00
Nathan Ridge
fa50ca7bc0 Bug 536268 - Find uses of overloaded operators when checking for unused symbols
Change-Id: I4445b62d4419ffa12d505bcc8265492c22f49bb6
2018-07-07 20:17:13 -04:00
Alexander Kurtakov
9b2a2c206d autotools: Use mylyn docs 3.0.25 to build docs.
Change-Id: I5aaf00d2b6299f8da57522a6ad86370f4c7d3717
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-06 17:20:15 +03:00
Jeff Johnston
a5ed8ea2a4 Bug 536363 - Meson project include paths wrong when using ccache
- fix GCCToolChain and ContainerGCCToolChain to not blindly
  take the first token in the command string when processing
  scannerinfo; if it is "ccache", take the second token instead

Change-Id: I4b2b7dfaccae6f3ec968bbe4217c57994ad71963
2018-07-04 17:03:29 -04:00
Manish Khurana
33e15fae72 Bug 536381. Add propertyChange() method to Preference Page
Change-Id: Ib0631251feaa1f0c33eac523e3c203713e9443fb
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-04 11:27:00 -04:00
Jeff Johnston
2bcd06f097 Bug 536317 - Deadlock at start with launchbar and docker tooling enabled
- fix ContainerTargetTypeProvider changeEvent() to start a Job and
  return immediately so it will not cause a DockerConnection
  to be held in multi-threading
- move the DockerConnectionManager addConnectionListener call
  to end of init() method so the fetching of images won't cause
  a notification event to occur
- at end of init(), call CBuildConfigurationManager.recheckConfigs()
  to make sure any disabled configuration due to a missing
  IDockerConnection is now put in the configs master list and
  removed from the noconfigs list
- make similar changes to ContainerGCCToolChainProvider

Change-Id: Idc120d613b99ec365522f5e7bf5da82d1b362425
2018-07-03 15:22:58 -04:00
Nathan Ridge
147335653f Bug 535548 - Infinite recursion loading function whose return type refers to a parameter from the index
Change-Id: Ibff680983cc8ac0bd9d33d8f2247a9f0ca2fe2f3
2018-07-01 13:28:42 -04:00
Nathan Ridge
7b7dac44e0 Bug 535559 - Index search for entity inside toplevel anonymous namespace
Change-Id: I9fdc268819b2298d0b3aeb9db9c29f1a0158d2bb
2018-07-01 13:27:56 -04:00
Manish Khurana
4215a26612 Bug 535631. Cquery is now able to find compile_commands.json
Change-Id: I06515bf1ee9a210dc5ac4ff15fcc1f15d185b2f3
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-01 01:54:32 -04:00
Jiří Engelthaler
af4a9223c3 Bug 536470: Fix NPE for includes outside workspace
Change-Id: I487823cf627680f61cf19d1228a84a3da68ce420
Signed-off-by: Jiří Engelthaler <engycz@gmail.com>
2018-06-29 13:07:59 +02:00
Nathan Ridge
9eb262a192 Bug 535427 - Add the lsp4e-cpp plugins to the build
To build and run only lsp4e-cpp tests do:
   mvn verify -P skip-tests-except-lsp4e-cpp

Also-by: Jonah Graham <jonah@kichwacoders.com>
Change-Id: Id6f3cd8ae291283c0cad7f1e63fbcdce683f4d2d
2018-06-28 13:47:07 +01:00
Jonah Graham
8d415fd900 [releng] Proper URL for platform with milestones being removed
Change-Id: I3a46159e5cd6f298f85fee148517f90521dfe602
2018-06-27 17:47:40 +01:00
Jonah Graham
af9cbcb284 [releng] set update site location to properly match version of code
Change-Id: I3a1de710b6cfbbe969eed16ffb90563affea3405
2018-06-27 09:25:03 -04:00
Jonah Graham
a7db5c7fd2 [releng] Update CDT Baseline to CDT 9.5
Change-Id: Icb762d8a4ac56153f7d7637a258fedfcd5b774f0
2018-06-27 09:25:03 -04:00