Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-08-12Bug 542488: Convert URL to path properly on WindowsJonah Graham1-2/+4
Change-Id: I63a5c3e260583b4df82e4c5bf8fbbdf3e5958e54
2019-08-12Convert new Runnable to lambda.Alexander Kurtakov115-4069/+2763
Take 2. Change-Id: I060b0e41d8c6058db0c2ba88af8454b5517105b8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12Convert new Runnable to lambda. Alexander Kurtakov113-2685/+1720
Change-Id: I8b827013a29802a3f3ae6400ddce8d8753eb6399 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-10Remove redundant superinterfaces. Alexander Kurtakov96-257/+111
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09Bug 515393 - Allow contribution to CDT CSS pref nodeJeff Johnston1-1/+1
- add pseudo attributes to allow others to extend the org-eclipse-cdt-ui preference node Change-Id: I79a7bbf80fee47988dc81e651375005640ceee1e
2019-08-09Remove unneeded suppress warnings.Alexander Kurtakov7-23/+15
Change-Id: I6b552fd94ced0cd8c0d489386d4b594ae7df8fdf Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09Do not override managed maven plugin version.Alexander Kurtakov1-2/+0
Change-Id: I18f21ef8805e7680740a13a73efb540c30ccfe5e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09Bug 549508 - Avoid calling CPPBasicType.setAssociatedNumericalValue() ↵Nathan Ridge2-14/+44
without cloning the type If we call it without cloning, we associate the value with every place that has a reference to that CPPBasicType object, which could involve completely unrelated entities. Change-Id: Icff6c32d15ee6dbc55e363b2de9a166e03440f74
2019-08-09Replace ViewerSorter with ViewerComparator.Alexander Kurtakov8-15/+15
Change-Id: I3013723be25fef063f382456166f6e5a622316d3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-08Build with CBI plugisn 1.1.7Alexander Kurtakov1-1/+1
Change-Id: I9579879757182af8354e7079169accf1b115c6f9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-08Fix vararg warning with 4.13.Alexander Kurtakov1-77/+46
While touching the class: * convert to lambda * foreach conversion * remove useless non-javadoc comments. Change-Id: I3419be135c68829bb98827683bc8fe47c1e2940e
2019-08-08Build help bundles with 4.13 too.Alexander Kurtakov1-1/+1
Change-Id: I42956ddbdd0f23fdac4fc538045787de239bede8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-07Bug 542488: JTAG debug support based on DAP remote debuggingJonah Graham31-31/+1607
Change-Id: I035ca6341b8e1dc7273f53da80eb281d7b5e59d4
2019-08-05Bug 522200: [C++17] Add support for structured binding declarationsThomas Corbat58-163/+3043
Adds support for structured bindings: - Parser updated - Semantics updated - Tests for parser and bindings added Change-Id: I1de7b760041ac4ce4601f1b5032fdb0a197212a1 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2019-08-04Bug 548902 - Fix exception in override methods refactoringMarco Stornelli1-1/+5
Change-Id: I2cde109ead8536c048bbe0a08083b36f924e4470 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-08-03Bug 543711: Provide empty enablements to suppress missing enablements ↵Jonah Graham1-0/+4
warning in log Change-Id: Ib3979f577331149eb4d712d1be6d2196f0a431d3
2019-08-03[releng] Update dependencies for 2019-09 M2Jonah Graham2-9/+9
Change-Id: I848d106ed1bcf1495c2b5f4c5a606809ca757e54
2019-07-30Bug 549653 - Fix wrapping for lambda expressionMarco Stornelli2-13/+78
Change-Id: I5b879edbcda9c5c1fb0087891391612af2c47d09 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-25Fix up some problems found against the latest API baseline.Doug Schaefer6-3/+14
Change-Id: I5679b36166385b617a96ef8180bbd27ae002e900
2019-07-25Don't add null parser ids to the list of binary parsers.Doug Schaefer1-1/+4
This started happening when I added the ErrorBuildConfiguration which returns a null id. This happens when you create a CMake project and add a new launch target. Not totally sure how we got an error config for that. Will investigate that later. Change-Id: I1a4e7c528d2cee101a432d386ad6a7505b9983b6
2019-07-24Bug 548526: Enable individual mvn projects to be builtJonah Graham1-8/+53
Although a little profile "magic" is needed, by adding -DuseSimrelRepo to the command line to enable and disable the correct profiles individual mvn projects can be built against the simrelRepo. This enables, for example, the ability to build the standalone debugger against the simrel repo without having to change how normal builds are done by using: mvn verify -DuseSimrelRepo -f debug/org.eclipse.cdt.debug.application.product A simrel p2 site can also be provided with -Dsimrel-site=<url> Change-Id: I45a636c3c1042bc2fbb6eea5129c6553027e92df
2019-07-23Bug 549035 - Constructor with reference to initializer listNathan Ridge2-0/+15
Change-Id: I83fd8d2453c36feb51bab80b5bf0943b68a1c97a
2019-07-23Bug 545959 - Added checker for assignment operatorMarco Stornelli6-7/+468
Change-Id: Ib48742cbc04679ab9e48349f4d68aea5657d38c9 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-20Bug 376395 - Fix const methods with never join wrapped linesMarco Stornelli2-1/+18
When at the same time never join wrapped lines and next line for opening function brace were selected, two tabs were added. Change-Id: I90f606bf7f8b7bb7e83f3ae85d7cbb9cd0146b97 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-15Bug 549014 - Manage CMake toolchain files by toolchainDoug Schaefer8-91/+168
Use the toolchain type and id as the key to the Map holding the toolchain files instead of the Path to the file. Also simplifies the build config since we can always figure out the toolchain file from the toolchain. Deprecate getting toolchain by path since that shouldn't be needed any more. Also took the opportunity to add javadoc to the interfaces. Change-Id: I11ae2ad8177a3f60399742c8c19576f85ea4b8c0
2019-07-12[releng] Update to 2019-09 M1 dependenciesJonah Graham2-5/+5
Change-Id: Ic5edbb2c3c435f57d1c0fa2bc2e3044e13739cc8
2019-07-11Increase PDOM version to force rebuild for bug 549028Marc-Andre Laperle1-3/+6
Change-Id: If18da2b194515c64351ed61b149593566afbc7d8 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-07-11Bug 549078 - ArrayOutOfBoundsException in ↵Nathan Ridge1-2/+2
AbstractIndexerTask.IndexFileContent.merge() Change-Id: I7ceacfc9c14e10bdecf7dda3c793a3ed26559bc2
2019-07-11Bug 549028 - Fix missing getRecordSize() leading to index corruptionMarc-Andre Laperle3-1/+12
Because of the missing getRecordSize implementations, subclasses would starting writing in records that were thought to be malloc'ed by the parent but it was instead writing in other blocks, possible used by other PDOM objects or free blocks to be used later and now not initialized to 0. This could lead to a few different exceptions like - BufferUnderflowException(Chunk.getChars) - CoreException: Corrupted database - ArrayIndexOutOfBoundsException(AbstractIndexerTask$IndexFileContent.merge) and possibly others. Change-Id: Ie6d1986a22a9fb5f5e90cb741046d098ebf10a90 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-07-10Bug 542488: Feature for DAP in CDTJonah Graham6-0/+120
Change-Id: I981660855f9f0305d0c08af5eb361cadbde9b86c
2019-07-10Bug 542488: Memory view supportJonah Graham8-2/+667
Change-Id: I8c3343f0ead46ab203d58f77370dd2dadda550ff
2019-07-10Bug 542488: Initial/rudimentary version of DAP integrationJonah Graham32-1/+1583
README: Create a C/C++ Application launch as normal, and in the Launch Configuration dialog click "Select other..." at the bottom/center and selecting GDB (DAP) Debug Process Launcher (you can't do this in the LaunchBar's dialog as it does not support changing the launcher). Then debug as you normally do (with less features so far :-) Change-Id: Ia36acedf064b3774c6ac2a863880eaf7efe9c399
2019-07-10Bug 542488: Remove duplicated codeJonah Graham13-1053/+394
When DSF was first created it was a separate project that borrowed heavily from CDT, as such (AFAICT) some code was copied from o.e.cdt.launch to DSF. This commit de-duplicates some of that code as the DAP implementation wants to reuse the code too and another copy is not wanted. Change-Id: Ie54187dabc9c32224575c0bf51bcabfab00ca340
2019-07-10Fix generic and other warningsJonah Graham5-16/+15
Change-Id: I77173712bf2b775eae5573f0abfb7f9900123438
2019-07-08Remove workaround for private methods in IDEJonah Graham5-157/+6
Now that Bug 516470 is resolved, we don't need the workaround in CDT anymore. Change-Id: I3e8b0f0ce7fc272a81d6b7437ce7a8d588e91991
2019-07-08[releng] Update to latest stable I-build of PlatformJonah Graham3-3/+4
Change-Id: Ia7320c24eb02b57c5fc7059e5a4cf1055527c84a
2019-07-07Bug 540001 - Added option to control comments formattingMarco Stornelli13-205/+387
Change-Id: I97b1813113f2c53a549b5be7d91ff834fce86bd5 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-05Bug 548980 - Track launch target connects and add error buildsDoug Schaefer10-43/+259
We need a way to alert the user that we are unable to find a toolchain that maps to the current target. An ErrorBuildConfiguration is created that simply prints out an error message at build time to handle this. We then set one of these as the active build config in the tracker with the appropriate message. We also add a target listener so that when a target becomes OK_STATUS, we run the tracker again to see if we have the right active build config for that target. Some targets can only determine some of their attributes when connected. Hook up the IToolChain matches so we're using it in the toolchain manager. This allows toolchains to do more complicated matching of the properties. Change-Id: Icaff85117e8147cd2793f2915fa75ce33673ab52
2019-07-04MSVC: Add a few more macro workarounds for missing built-insMarc-Andre Laperle2-16/+30
This change adds a few more macro to define things that are supposed to be built-in in MSVC. Eventually we might want to move some of those to the parser but it's not clear to me if we want to polute the GCC parser with all of this. Change-Id: I6672d8f14470115aa37a0d76b2b4fb086fe4494f Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-07-04MSVC: Add some type-traits supported by MSVC in the scanner configurationMarc-Andre Laperle1-1/+63
Add existing type-traits that were implemented for GCC that are relevant to MSVC. Some are missing but even with those parsing is improved with minimal effort. For the LLVM codebase, I see it go from 0.46% unresolved names (16,668) to 0.19% (6,950). This is combined with another patch that adds temporary macro hacks. Change-Id: I441dcfa4a986edef78b75c0d6db04b78fdbc97b3 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-07-04Bug 548954 - Type transformation specifier in type-idNathan Ridge2-0/+12
Change-Id: Ia8e0aaf7814cb104d296ae20cc5f43fd2ddd0792
2019-07-03[releng] Change default to be baseline compare and replace is not runJonah Graham1-12/+12
Use baseline-compare-and-replace profile to run it. Change-Id: Iaacfad8f920f28cf773763e804be90ba8c5f30cf
2019-07-02Bug 548700 - Handle prefix negative sign in FloatingPointValue.parseDouble()Nathan Ridge2-0/+14
While a literal expression itself will never be negative (the negative sign is parsed as a unary operator), we also use FloatingPointValue to represent results during value computations which can be negative. Change-Id: I16227b2d19256066b094ae60476e124b4bcea14d
2019-07-01Bug 467346 - Fix format structs/unions with attributesMarco Stornelli2-1/+59
Change-Id: I516c53978c7dea0191fc66d2820e1dbe5a664b48 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-06-29Bug 467346 - Retain attribute after struct key in CNathan Ridge2-2/+20
Change-Id: I35a25bc635039c37b66d1f1e4037e943ffcb0d39
2019-06-28Bug 488349 - Organize Includes removes an include necessary for a...Felix Morgner1-1/+1
Add missing ; to test case. Change-Id: If0224c4fc3580cbe527efe0d3a5739896a000d7e Signed-off-by: Felix Morgner <fmorgner@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2019-06-28Bug 548712 - MinGW installation is not recognizedThomas Corbat1-9/+19
Recognize MinGW installations by checking the path of gcc.exe for substring "ming". Change-Id: Ibc6d4b03ef715036176e3aea6382dd986e4caae8 Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2019-06-26Bug 547967 - MSVC Build Output parserMarc-Andre Laperle21-5/+1831
This new Language Settings Provider allows parsing MSVC (cl.exe) compilation commands, It is done similarly to the GCC Build Output Parser. It is not enabled by default but can be enabled when in the context of building with an external builder. In general, MSVC support still needs some work but this output parser greatly facilitates setup for certain types of projects. Change-Id: I3fb110ecdfbac1cabbc16239ad6667a5e628d443 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-06-26Bug 547894: Provide a way to skip baseline replace and compareJonah Graham1-2/+19
Change-Id: If8080db7374eabb7a640deba0fab1e26a785ac5c
2019-06-26Bug 548141 - Fix description of Codan project optionsMarco Stornelli2-3/+3
Description was a bit misleading. Change-Id: I8001a638468a21e5b8ae8b19070d757f28dd79df Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>

Back to the top