Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-16Revert "Bug 534286. Made read(byte[],int,int) blocking"CDT_9_5_0Doug Schaefer1-26/+9
This reverts commit e5c7bb64f7ea88b517281d8ed312115c3123f322. Change-Id: I565f9eb2728d0ff0199e61f3f25df4aa0b64f17b
2018-06-16Bug 535972 deal with relative include paths in GCC scanner infoDoug Schaefer1-0/+3
We weren't dealting with relative include paths returned from the call to gcc -E properly. Resolves them against the build directory before checking if their a directory. Results in them added. Tested with ESP-IDF's feature/cmake branch. Change-Id: I1e2583e03cce6380ee4382146b177978c9c81806
2018-06-11Bug 531701 - ClassCastException inNathan Ridge2-8/+39
AttributeWriter.writeGCCAttributeSpecifier() * Added test to reproduce initial issue. Change-Id: I72e60fb2244b7d40492bfcdeaa58a8707c39e277 Signed-off-by: Thomas Corbat <tcorbat@hsr.ch> (cherry picked from commit 4e4e010e3353372d0d38a3b1f5fcd957ed3fefae)
2018-06-09[releng] Use Photon specific locations for target platformJonah Graham2-8/+8
Change-Id: Ifeda1a0256cbfa9c87acd9a9bc8bb755b533fed3
2018-06-05[releng] Set paths to 9.5 on the branchJonah Graham1-2/+2
Change-Id: I7df8191b469bfc0f0d241229563c26a1d85fda4b
2018-06-05[releng] Update to Tycho 1.2.0Jonah Graham2-5/+3
Includes reverting 851295e821660a7522b8c1b6337ddb6a94697f2d: [releng] work around Tycho issues of obtaining *.jre.javase [10.0.0] Change-Id: I1d49b519ba111e48545ef37c991859dfa68960cd
2018-06-03Bug 532120: Catch by const reference ignores const placement settingFelix Morgner3-51/+138
The original implementation used plain-text string manipulation of the IDocument. This changeset changes the implementation to make use of the ASTRewrite infrastructure, which automatically honors the const placement setting. Change-Id: Ib5ae9381b93ca8ab4d1ad3e16b1c3c8b1ec62d78 Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2018-06-03Bug 534813 - ASTWriter swaps noexcept and pure virtual specifierHansruedi Patzen3-4/+32
Fix and test Change-Id: I14088e69aed829940fb1e9f5197dedf18d9bb7a5 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-03Bug532849 Inline namespace not recognized by formatterHansruedi Patzen4-0/+30
Change-Id: Ie7f13884967685fcc93c8af3955d90825d6f9879 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-06-02Bug 535473 - Run/Debug buttons for Container target don't run/debugJeff Johnston2-5/+69
- Launch bar is usually expecting a LaunchConfigurationTargeted Delegate which calculates the binary but Container build uses the ContainerLaunchConfigurationDelegate which expects the program name, working dir, connection, and image id set up as ILaunchConfiguration attributes - modify ContainerLaunchConfigurationDelegate to add finalLaunchCheck method which can verify if the launch config attributes are set up and if not, set them from the build config (since this is post-build) - fix getImageName() in CoreBuildContainerLaunchConfigProvider to use toolchain attributes Change-Id: Iad6cc26928c33e964650b99844e065df8653858f
2018-06-01[releng] Update to Orbit R build for PhotonJonah Graham2-3/+3
Change-Id: I86791fcfe8e14259bf15976ae99ba4189eaa1530
2018-06-01Bug 534808 - static_assert without message not recognized (C++17)Hansruedi Patzen8-11/+67
Fix and test Change-Id: I785ecfd0715f1fa8ff86b87bd01d16ac6d5d5da2 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2018-05-30Bug 511161: Early fail on non-absolute URIs when looking for files in workspaceJonah Graham1-0/+5
Change-Id: Idefa850b3d43e13d878d5a19bd89bd42ee1c534f
2018-05-29Bug 534309: NPE in breakpoint filteringJohn Moule1-1/+4
Guard against NULL oldValues, which is legitimate, in which case use an empty Map. Change-Id: I78ac252d3e91d431340320719cb57b32145813f0 Signed-off-by: John Moule <evil_bandit_betamax@yahoo.co.uk>
2018-05-29Bug 535196: [C++17] Support *this in lambda captureHansruedi Patzen6-4/+105
Implementation and tests. Change-Id: If32911514eb62078215b5f06be12289fa571e9a3 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-05-29Bug 535091 separate out the two streams for macros and defines.Doug Schaefer1-20/+39
The output of the call to gcc to pick out the defines and include paths produces them on different streams, defines on stdout and paths on stderr. Separate the scanning of the two into two threads. Change-Id: I3173d3619e53d13a51a6e283eb320a618daacf21
2018-05-28Bug 535239: [releng] use download.eclipse.org for launchbar/tools.templatesJonah Graham2-5/+5
Change-Id: I44cfdd45631171e642c4907e5649c3a6237b3158
2018-05-28Bug 519391: Only redraw the changed linesJonah Graham2-2/+16
When a line is double-clicked, or the highlight error is otherwise changed, the redrawing of the highlighting was done by redrawing the entire build console document. This was slow on very large documents. Instead only redraw the line losing the highlight (if any) and the line gaining the highlight. In addition, as we only change the foreground colour to highlight, avoid redrawing the background. Change-Id: I5e652449715a588cb8702e0100a472d1f566e2a8
2018-05-28Bug 519391: avoid iterating and copying large listsJonah Graham4-43/+79
The BuildConsolePartitioner used to compute partitions from offsets by iterating over the list of partitions. This strategy is fine for small build outputs. But outputs in the 100,000+ line range can have huge number of partitions. This commit updates the logic to take advantage of the fact that the partitions are sorted and contiguous to do binary searches to find the partition, and uses a new method (computePartitioningAsList) to use a view onto the original partitions list instead of significant copying. Change-Id: I4395df36431a6ae45e6b77d6f76fd29532347ac5
2018-05-28Bug 413527: [C++14] Support Lambda init-capturesHansruedi Patzen14-82/+555
This patch adds parsing and semantic support for lambda init-captures. Change-Id: Ia5f39ea6f8780ecd6a9685f432bcbdf39e09c82a Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-05-28Bug 534332: Mark long deprecated interfaces as noimplement/noextendJonah Graham2-0/+4
Change in super-hierarchy caused API breakage. As these interfaces have long since been deprecated, rather than adding default methods for them, simply mark them as noimplement/noextend. The implementation in CDT already has the new effective method - getAttributeSpecifiers() - implemented. Change-Id: I252fdeb33c0edcbe73338dc6fca477201bd4d468
2018-05-28Bug 535139 - Container target set-up causes NPEJeff Johnston1-11/+13
- add null check before accessing ordered tool chains Change-Id: I713a55f8e887b642aa4a159e59c454de9a97955a
2018-05-28Bug 534286. Made read(byte[],int,int) blockingWaqas Ilyas1-9/+26
Added a loop in read(byte[], int, int) to block until any input is available. Or until the port is closed, or an exception occurs. Change-Id: I1ead6f465571274e77e74de685b8185c8cdde108 Signed-off-by: Waqas Ilyas <waqas.ilyas@gmail.com>
2018-05-26Bug 535024: Revert increment to major version numberJonah Graham4-7/+27
Within CDT new constants in interfaces do not require major version increment, just a commented API filter. However in this case as the interface is a grabbag for constants, it is even more appropriate to mark it noextend/noimplement Change-Id: I1ac6da12093bdd3e92cfa51c097383c9964f41a2
2018-05-26[releng] work around Tycho issues of obtaining *.jre.javase [10.0.0]Jonah Graham1-1/+3
This does not happen in Eclipse using the target platform directly, and when this last happened for [9.0.0] this workaround worked, as documented in https://bugs.eclipse.org/bugs/show_bug.cgi?id=530207#c1 Change-Id: I55ce926c0ad73e78d24d1c0e78a6db7cce4d101e
2018-05-24Bug 527954: [C++14] Syntax error when parsing complex udl ""ifHansruedi Patzen5-24/+134
With this patch we allow any keyword to be used as a UDL operator, which for example GCC compiles fine with. They are then no longer highlighted as keywords but colored the same as normal text. This can be overridden by coloring overloading operators differently. Change-Id: If80faf0f3dc599ab4f12fe98977c556aaaefe6aa Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2018-05-24Bug 535024: Use deviceId for determine JTAG probeTorbjörn Svensson8-50/+122
The name of the JTAG probe is not translateable since the name is saved as-is in the launch configuration. To make the string translateable, use the id instead to select probe implementation. Change-Id: Id7e654ea1e26f47cd1c8ccfec857a94f3be9e0ad Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com> Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-05-23Bug 535014 - cannot debug in a containerJeff Johnston1-14/+13
- add check for network ports coming back empty for a Container launch and if so, fall-back to use the ip address of the Container for the remote host Change-Id: I83d68a10e2dc92f7d0f27bb9dec304388594b4a3
2018-05-20Bug 534839: Add missing dependencies to standalone productJonah Graham1-0/+1
In particular, new version of ECF requires org.eclipse.equinox.concurrent Change-Id: I909565b868fce44dea54ac3df985708d523304b0
2018-05-20[releng] Update dependencies to Photon contributionsJonah Graham2-9/+9
Change-Id: I6ba869acc9fda2d08a6bdc9a04f5f52cefdcf8c9
2018-05-18Add LSP4E dependency to cdt.targetNathan Ridge9-246/+21
Change-Id: Id990ce962b93dee306101089eb8a15ea2c5374fe
2018-05-18[534454] Fixed GCC build parser for simple definesEric Woestman2-4/+5
Changed GCC build parser to handle simple defines like "-D FOO" and defines them to 1. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=534454 Change-Id: Ic9065914bc82dafc43d0814f4fed27a26eeeeb28 Signed-off-by: Eric Woestman <woestman@ensoftcorp.com>
2018-05-18Bug 534332 - Add a testcase involving a function as wellNathan Ridge1-0/+1
Change-Id: I02c4ec4ab2ece8dee09ba6b27461dc76724ebba8
2018-05-17Bug 519361: wrap template<auto> types for better type resolutionVlad Ivanov6-3/+112
https://bugs.eclipse.org/bugs/show_bug.cgi?id=519361#c28 Change-Id: I0a2f5479bb853ca26156be5b22673abdc158efab Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2018-05-17Bug 534839: Add missing dependencies to standalone productJonah Graham1-0/+3
In particular, new version of batik requires o.a.batik.constants, so we need to add that in. Change-Id: Ie221c0e48fd8e2c4692d2447bf142284e50931fb
2018-05-15Bug 514838 - Return sessionId when context is IExecutionDMContextWilliam Riley1-1/+1
Return the session id from setDebugContext when dmContext is IExecutionDMContext. This session id is needed in DisassemblyPart.updateDebugContext() Change-Id: I28f51d990f2b9c51718e5859279ea252091e3beb
2018-05-11Bug 534126 - Cache instantiations of alias template instancesNathan Ridge3-5/+163
This avoid runtime that's exponential in the nesting depth of alias template instances. Change-Id: Ibde6a6d98753df54e8e495a8b4547a90e8313191
2018-05-11Bug 534332 - In the unused symbol checker, check for 'unused' attribute on ↵Nathan Ridge2-0/+8
the decl-specifier too Change-Id: Ib4f26e5a04742af93c884819a5b2f1f714faeb97
2018-05-11Bug 534332 - Allow C decl-specifiers to store attributesNathan Ridge5-7/+8
The parser already accepted this, but the attributes were not stored in the AST. Change-Id: I7118eaff9dd150f15885f0aabb8a3b5e707394b0
2018-05-11Bug 534189 - Do not wait for the editor's shared AST to generate parameter ↵Nathan Ridge1-6/+7
guesses We want to hold the index read lock while generating the guesses, but we don't need an AST; we already have the one built for content assist. Change-Id: I5a60aaca24ce345f5ae387664e025e6fa39cd9d2
2018-05-09Bug 330204 - Use ManagedBuildManager to buildTorbjörn Svensson1-31/+3
The UI is using ManagedBuildManager to build a specified set of configurations. Insead of duplicating the logic (since clean does not support argument transfer from HeadlessBuilder all the way to CommonBuilder), call the public function for building a set of configurations. WARNING: This fix is relying on a race condition in ManagedBuildManager.buildConfigurations() since that method swaps the "active configuration" while invoking the builder for the clean target. Change-Id: I422a22e43a0acbef85420c04028475d61ad2ff85 Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2018-05-08Bug 519361: use placeholder type for template<auto>Vlad Ivanov3-7/+24
Change-Id: I40f96479148a92618050ba50d7761f478f92024d Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2018-05-07Bug 533842 - Fix Launchbar for enabled/disabled Docker ConnectionsJeff Johnston2-9/+13
- fix problem with launch targets not being set correctly - for ContainerTargetTypeProvider, make init() and changeEvent() synchronized - move the test for ESTABLISHED connection after getImages() in ContainerTargetTypeProvider.init() method so that we don't see the connection as being UNKNOWN - move addConnectionManagerListener() call in init() to be just after we fetch the list of current connections - in ContainerGCCToolChainProvider, make init() and changeEvent() synchronized and move addConnectionManagerListener call to just after connections list are acquired Change-Id: I24880a77755d634e8bce85db4f3354cf5ad7671d
2018-05-06Extend GCC OS detectionDoug Schaefer1-0/+9
If we can't tell from the second element, try the third. If it's linux, we're good. If it's elf, use the second element. This catches the esp32 xtensa compiler which is driving this change and make sure we don't mess up too many others. Change-Id: I4650e5fa309677c596e9f5f64f50bcc2ebdef334
2018-05-06Revert "Default to the middle element of the gcc tuple for the os name."Doug Schaefer1-2/+0
This reverts commit 3feb726cf56193c1a24d02381e8bbac763dca8dd. Change-Id: I98d70947084000b165151b4cf5b43d9b07ca74e7
2018-05-06Default to the middle element of the gcc tuple for the os name.Doug Schaefer1-0/+2
Change-Id: Iea4ae6a8977406d06bf67719c8281e1062c5a12d
2018-05-04Bug 534098 - NPE in VariableHelpers.createType()Nathan Ridge3-5/+18
Change-Id: I0b287d31dba8075d8e99f74d6815d3018c985bc7
2018-05-04Bug 519361: try to deduce the type of non-type template parametersVlad Ivanov3-0/+47
This commit resolves some of type resolution errors for C++17 <auto> templates. Change-Id: Ibdd3dcc0b7740bce1d6f390d034e1ce67c27be58 Signed-off-by: Vlad Ivanov <vlad@ivanov.email>
2018-05-03Add dynamic variable for build directory of active core build configDoug Schaefer7-72/+143
This will allow us to use that value in external tool launches such as those used by the Serial Flash launch configuration. Also removal of the missing src source folder entry in meson.ui.editor. Change-Id: I1033bdc0c18c9822490a9b8602cef83a42f7262d
2018-05-02Bug 482950. Reset the read pointer when array is filled with new dataWaqas Ilyas1-0/+2
Change-Id: I4bc9d2969d4ef69657d8a825659cafbc3680119c Signed-off-by: Waqas Ilyas <waqas.ilyas@gmail.com>

Back to the top