Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-24Bug 527709 - [Checker] Test suite fails on WindowsHansruedi Patzen3-2/+8
Change-Id: I70cf18245dc8dba14493f212c932ea08ae85a6cf Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2017-11-23Bug 444054 - Always enable the build actions.Doug Schaefer1-0/+6
If you select a non-CDT project then select a CDT one, the Build Project menu item wouldn't enable. If you select the CDT project again, it does. Big question is why isn't it enabled when selected. This fix just enables it all the time. Much easier for users to understand. Change-Id: I674740f2c6998686cade1f910a269a4e9d935d39
2017-11-22Hook up the old Include Paths and Symbols page to Makefile projs.Doug Schaefer29-152/+155
Makefile projects depend on build output parsing to pick up compiler options to use while indexing. Sometimes, that just doesn't work. As a back up we've always allowed users to manually add them to the project. Long ago when we had pure make projects we had UI for this. This change hooks that old UI up. It was a time before build configs so they get applied to them all but it serves it's role as a backup when users run into problems. Unmarked everything I use here from deprecated until we decide how to replace these with Core build config aware settings. Change-Id: I6fc4d48e5315df3c60c7591b026ae0a53a1f505e
2017-11-21Bug 526669 - Use the Matcher API correctly in ↵Nathan Ridge1-0/+2
CodanProblemMarkerResolutionGenerator Change-Id: Ia47cabea736fe2965f60117ae2074b6e2212d917
2017-11-21Releng fixes, ensuring legal files are there. Removing projects.Doug Schaefer37-340/+257
Removed the empty debug.core.tests project. Also removed the utils-feature and remote-feature projects since these shouldn't be features. Change-Id: Ib5d297c626de5328e3421a1fc9346330d9907750
2017-11-21Add the Launch over Serial Flash feature to the repo.Doug Schaefer1-0/+6
Change-Id: I76283cb28ef48f8bc777c91decf1e8289e878a83
2017-11-21Undo the fix I did for creating the build container.Doug Schaefer1-18/+7
It cause more problems than it solved. Will need to revisit later. Change-Id: Ifbbb2a29c41f24ff08e1debb03ee5f4739d0223b
2017-11-20Set CC and CXX variables to toolchain compileCommands in std build.Doug Schaefer5-18/+75
Also set BUILD_MODE to the launch mode so the makefile can do different things based on the mode. Change template to add -g option for debug. Also fix a deadlock I detected due to side affect build folder creation. Change-Id: Ic7b13ba3238e6ef201cccb1b2bfc8dcc6956ea3a
2017-11-20Fix MSYS2 so that it's provider overrides the path provider.Doug Schaefer2-2/+13
Also handle case when launchMode is null when creating a build config. Change-Id: Ie70de785168c2e24c842d517c64a297ba44e24f4
2017-11-19Expose org.eclipse.cdt.docker.launch directory as publicJeff Johnston6-4/+9
- move ContainerCommandLauncher to org.eclipse.cdt.docker - update DockerLaunchUIPlugin to be noextend - update users of ContainerCommandLauncher appropriately Change-Id: I32ea6de3b3df12b6579249583303111bf6b7b957
2017-11-18Bug 527419: Process async output with no variableJohn Dallaway1-8/+12
Change-Id: I4deb2b9db4421016b27e01353b0ae4745b139361 Signed-off-by: John Dallaway <john@dallaway.org.uk>
2017-11-17Forgot to add the makefile templates to the build.Doug Schaefer1-1/+2
Change-Id: I538e8610f9e31963a2c8224079de1a2f19c565c3
2017-11-16Fix missing recording of launch mode for core build configs.Doug Schaefer1-0/+1
Was causing new build configs to be created for non "run" mode configs. Change-Id: I6b939ac1da9fcf6678bf28b0bbad201fc723b371
2017-11-15Fix up leftover toolchain provider id usage.Doug Schaefer2-2/+2
The CMake toolchain file editor was not recording the correct toolchain. The same was also true for the toolchain selection in the build settings tab. Change-Id: I62e4c7ae0175da7c1b5ffb7f89e321a371a6e8e0
2017-11-15Bug 526975 - Deduce return type correctly in the presence of multiple return ↵Nathan Ridge3-46/+93
statements The previous implementation deviated from the C++ standard by checking that the types of the return expressions are the same, rather than the return types after deduction against the placeholder type. There was also a bug in the return type deduction code for lambdas, where for a lambda without an explicit placeholder in the trailing- return-type, the deduction process wouldn't be performed. Change-Id: I2f0b9f1c7778aef60e4cd7ada9386b99be52669a
2017-11-15Bug 500988: better handle race condition in SourceContainerJonah Graham1-1/+31
Instead of an indiscriminate NPE at termination of a launch, handle it more cleanly with a friendly error message. Change-Id: Ie37e675c3f5e4883c0b160bfe86c4848f1983fa7
2017-11-15Bug 527179: ExpressionWriter removes nested noexcept expressionsHansruedi Patzen2-2/+32
Change-Id: I7c032e9327756704690760f3207c73f1645deb19 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2017-11-15Bug 526857 - Diagnose member access into pointer type in C codeNathan Ridge3-1/+21
Change-Id: Ib6fc6be443d59facacde3c290e0f974e5cbe6f1b
2017-11-14Bug 519533: Fix scroll lock on build consoleJonah Graham1-1/+3
Change-Id: Ib7826de6ed26dbd05f2568d097deb52cf3dc4768
2017-11-14Bug 525675: Fix dependency versionJonah Graham1-1/+1
The o.e.c.debug.ui uses some internals in o.e.ui.ide that only existed in Oxygen and greater. Bug 516470, which should be fixed for Photon will mean these internals can be removed. Change-Id: If0fbd186a8d6b77a6cb6b8a9d231c784b45cb88d
2017-11-14Bug 525675: Delegate opening unknown file types to unknownEditorStrategyJonah Graham4-27/+43
This code enables the Debug view in CDT to take advantage of: https://www.eclipse.org/eclipse/news/4.6/platform.php#text-editor-selection-strategy Change-Id: I35e0453ce7ee772aac33ffbce6e66926bbb475e3
2017-11-13Serial Flash Target and Launch. Clean up Generic Launch.Doug Schaefer46-162/+2052
Adds target, launch classes, and launch bar support for targets intended to upload their code to flash using a Serial Port. The port is co-ordinated with the Serial Terminal so that the terminal is paused during the upload. Also cleaned up the Generic Launch so it's not using the External Tools launch which has a number of UX issues. This simplifies the settings and gives us more control. And it's made reusable for the Serial Flash launch. Change-Id: I31e9970243fbf1cf22d027bbdb892fde104dbefe
2017-11-13Bug 514363 - Fix constexpr evaluation of assignment into array elementNathan Ridge2-1/+26
The computation had a bug where the array decayed to a pointer, and we tried to use the pointer's value as a composite value, instead of the underlying array's value. Change-Id: I9510d28e04deb0b8ef835e2857f8b513d11d1d72
2017-11-13Bug 522010 - Completion of non-type template parameter in ambiguous template ↵Nathan Ridge6-11/+111
argument This works around the fact that the optimization introduced in bug 316704 inteferes with the mechanism for offering completions for both alternatives in an ambiguous context. Change-Id: Ibe14c1b4f2f9c9b3394d4635c87424a25fbd7a53
2017-11-13Bug 520580: Implement new-console support on WindowsJonah Graham13-38/+258
A new checkbox on Windows only that starts inferiors in new window. Change-Id: If3efbe5e6b037e3b1c9528eed67068088702b0fe
2017-11-10Fixes for scanner info for Makefile projects.Doug Schaefer7-24/+162
Using ESP-IDF (the ESP32 FreeRTOS SDK) on MSYS2 as a test bed. Making sure the indexer picks up as much as it can. Removed -j since that messes up build output parsing. Add UI so you can put it back if you want. Change-Id: I767c739dce1412c75fb56d0bb1efceb913883a5f
2017-11-10Add settings to Makefile build configs to build at project root.Doug Schaefer9-18/+280
Often Makefile projects are intended to be built from the project root directory, such as ESP32 IDF projects. This adds a setting to control that. Change-Id: I151ebf60a7609461d24e192a9d6418fccb737055
2017-11-09Bug 527090: fix bad whitespace on windowsJonah Graham1-2/+2
Change-Id: Iba9d1ff94cc1ffa2bc53944256b4562a50f10c5a
2017-11-09Update Oomph's setup's API baseline to 9.3Jonah Graham1-2/+2
Change-Id: Ie711add7a26120d335384e7430d5e38e973b19bf
2017-11-09Bug 522367: prevent hang of -target-attach on Ubuntu 16.04 / GDB 7.11Jonah Graham7-12/+114
-target-attach on Ubuntu 16.04 / GDB 7.11 does not flush its error response, leaving CDT hanging in final launch sequence. Sending a newline to GDB after the target-attach causes GDB to flush the buffer so CDT sees the error. Change-Id: I8816ac6c88eeaffc6d243ebdae9eb347cfdc5cf0
2017-11-09Bug 527019 - Build not running in Container for Managed Make projectJeff Johnston1-9/+4
- the CommandLauncherManager.CommandLauncherWrapper class is designed to figure out what launcher to use after being created and a project is set, but it is not built for reuse - change the CommandLauncherWrapper class to reset the launcher back to null when the project gets set so that any reuse will be sure to get the correct internal launcher after resetting the project Change-Id: I2c0758ca53f7164d4bbd4a6f738acd7c7c042370
2017-11-09Bug 378302 - Only bring build console to top on problem output.Christian Walther4-10/+32
When the "Bring console to top when building (if present)" was enabled (which it is by default as of bug 447703), the console would come to the top on every line of output, i.e. constantly during a busy build. That made it impossible to reach other views in the same part, in particular the Progress view in order to stop the build. Instead, only bring the console to the top at the start of the build and when output arrives that is associated with a problem marker (error, warning, info). Change-Id: Iabda4858b443c330e9209c27ea3635b0485c7d98 Signed-off-by: Christian Walther <walther@indel.ch>
2017-11-09Bug 242705: Fix misaligned breakpoint iconJesper Eskilson6-3/+3
This commit fixes the "misalignment" of the breakpoint icon by replacing it with the same icon as JDT uses. Change-Id: I5a205a095dd37f61774adbf0fc61378ad29fe2bf Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2017-11-08Bug 512550 - Hide C and C++ Project Wizards and fix canFinish().Doug Schaefer3-23/+10
Hides the C Project and C++ Project wizards in the wizard shortcuts for the CPerspective. Also removes them from the shortcut list in the project navigator. Adds the C/C++ wizard that was missing from the project navigator. Also makes sure we pass along the call to canFinish from the new wizards to the old ones. Change-Id: I0a5505542fcf9d0eb34fb5fef790fd1e777524b5
2017-11-08Bug 520340: Fix @since versionsJonah Graham2-2/+2
Change-Id: Ifced09a4376952c8eb2e90d68e8bb35f87b003ef
2017-11-08Add Makefile Projects to collection of core build project types.Doug Schaefer22-354/+672
Reuses the old makeNature. Reuses the StandardBuildConfiguration. Generates a pretty simple project for now. Also handles the case where you don't want to generate anything, just create an empty or on an existing source tree. Change-Id: I2f3cddc85d55792a2c537e37d4bc236a3073d930
2017-11-08Bump cdt-baseline sequence numberJonah Graham1-1/+1
When the baseline was changed to CDT 9.3, the sequence number was not changed. That means that Eclipse PDE does not "see" the change to the content and therefore while it appears that the baseline is 9.3, it will continue to actually be 9.2, leading to lots of API errors. Change-Id: Ie4103f24fe28afcadd8722b0da463febe372bdd8
2017-11-07Adjust Arduino to new GCCToolChain API and add type and id/name.Doug Schaefer9-33/+49
Change-Id: Ia089985425c7f1a6fe347c41a6a01e5ab16d8208
2017-11-07Hook up the clang toolchain now split out from GCC.Doug Schaefer10-237/+348
Change-Id: I6edba9e689d903546be3a65060c4ac1b9871167f
2017-11-07Bug 526684 - Use InstantiationContext.setExpandPack() in ↵Nathan Ridge2-1/+28
CPPTemplates.instantiateTypes() if appropriate InstantiationContext.setExpandPack() and related methods were introduced in bug 486971 to ensure that when instantiating a type list that contains a pack expansion, with a parameter map that maps the template parameter pack that appears in the expansion to another parameter pack (which can happen when e.g. instantiating an alias template with dependent arguments), the pack is expanded in the correct place. However, bug 486971 only added use of this machinery to CPPTemplates. instantiateArguments(). We can also instantiate a type list in instantiateTypes() (used e.g. when instantiating the parameter types of a function type), so the machinery needs to be used there as well. Change-Id: Iabb458e8e3166c15ed922656fc0729a4a8cf8bbf
2017-11-07Implement ordering of toolchains.Doug Schaefer15-342/+501
Introduce toolchain types independent of providers. Change-Id: I2cf3145920fcf4e7132468b6e653d7ea3e211127
2017-11-07Bug 526724: corrected deduced type for string literals with u8 prefixMarco Syfrig2-9/+50
Change-Id: Ibc55f6cbd8f425149598b397a4d2fb90b7ed6b8b Signed-off-by: Marco Syfrig <marco.syfrig@gmail.com>
2017-11-05CMake - check for build files, clean up some UX.Doug Schaefer3-9/+16
Starting for Ninja, check for build.ninja file on whether to run CMake again. Need to do same for makefiles. Change default to run cmake --build instead of hardcoding ninja or make. Added message to the end of the build to know when it's done. Change-Id: Ibbb352ef7c64f6e1fcbe122ef0b73f2c91bb1aa7
2017-11-05Add the core build gcc ui plugin to the gcc build feature.Doug Schaefer2-36/+44
Change-Id: I309bf8c785107ad8edd68664d175c7e94a900ea4
2017-11-03Hook up the error parser properly in the build configuration.Doug Schaefer6-24/+66
So we can have the error partitions that work with double clicking in the build console. Change-Id: I357f4efb8fd16232b78b18958c9863071feeebcc
2017-11-02CDT.setup fixesJesper Eskilson1-6/+3
* Remove unnecessary version range on bouncycastle * Replaced http://download.eclipse.org/eclipse/updates/4.7milestones with http://download.eclipse.org/eclipse/updates/4.7 to match cdt.target. Change-Id: I5b15768d1478666f89d7cbd0ae6c8828674fe6f1 Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2017-11-02Fix API error in lsp4e.cpp plugin.Doug Schaefer1-117/+117
Not sure we have the right dependency in the cdt target file but I get a compile error when I use it. Change-Id: Ie357ea76da82ac552b6c95662d725fb660434ff6
2017-11-02Bug 526730 - Autotools should not run autotool commands in the ContainerJeff Johnston3-47/+55
- modify runCommand and runScript methods in AutotoolsNewMakeGenerator class to take an ICommandLauncher to use - modify AutotoolsNewMakeGenerator regenerateMakefile method to pass a local CommandLauncher when running autotool commands, but using one from the CommandLauncherManager when running configure or config.status to do the configuration - modify RemoteCommandLauncher to add a constructor that includes the ICommandLauncher to use if the project is not remote - fix AbstractAutotoolsHandler to use local CommandLauncher Change-Id: Ib3f0deff3cca4b7b40459b5dd691d73dcbf2a87c Signed-off-by: Jeff Johnston <jjohnstn@redhat.com>
2017-11-02Bug 520340: enable CLI to CDT's code formatterMustafa Yücel9-0/+607
example usage: eclipse -nosplash -application org.eclipse.cdt.core.CodeFormatter -consoleLog \ -verbose -config .settings/org.eclipse.cdt.core.prefs src/ imported CodeFormatterApplication from eclipse.jdt.core: org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java revision 823698366b88fe7e6c1438813d7dd191ff9aa71f org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/messages.properties revision c2646812d22906feca88c2f52911ca7c4eae2299 Change-Id: Id934c8958c66f562bd2402dcbd8b7c60e39cc7a5 Signed-off-by: Mustafa Yücel <mustafa.yuecel@siemens.com>
2017-11-01Bug 361881: Test for undefined reset/delay/halt commandJohn Dallaway3-7/+33
Change-Id: I55c7edf41fa8b1d1cef73254d98e596b04c30b51 Signed-off-by: John Dallaway <john@dallaway.org.uk>

Back to the top