Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-01-07Incremented CDT feature version to 8.6.0.Sergey Prigogin204-242/+242
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Reviewed-on: https://git.eclipse.org/r/39066 Tested-by: Hudson CI
2015-01-06Fixed include guard adjustment when renaming a project.Sergey Prigogin1-0/+2
2015-01-06Cosmetics.Sergey Prigogin1-5/+5
2015-01-06Added API to construct Addr64 from longAlena Laskavaia2-0/+21
Change-Id: Iccb489f290711d806d499cfa763a06dab4e61f4d Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com> Reviewed-on: https://git.eclipse.org/r/38496 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2015-01-06Bug 456099. Added a test for NameComposer.createByExample method.Sergey Prigogin2-40/+63
2015-01-06Improved "Expand Selection To Enclosing Element" command for templateSergey Prigogin1-5/+10
definitions.
2015-01-06Cosmetics.Sergey Prigogin4-71/+49
2015-01-06Added a test for string concatenation with macro.Sergey Prigogin1-0/+9
2015-01-06Cosmetics.Sergey Prigogin1-2/+0
2015-01-05MIRegistersTest: use more specific assert functionsSimon Marchi1-50/+30
Using more specific assert functions (e.g. assertEquals(a, b) rather than assertTrue(a.equals(b)) helps a bit to make the test more readable. It can also improve the display in the JUnit view, by showing expected and actual values. Also, there is no need to manually catch an exception and fail the test. If an exception is thrown, the test will fail automatically. Change-Id: I333cfd0d0ade41463dc773ab02e14df4b063a22f Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/38617 Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com> Tested-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2015-01-05Bug 422401 - [Content Assist] no binding for nested types of a baseMichi2-0/+22
class The problem was with template base classes as in the unit test. Accessibility check did not find the proper AccessContext.namingClass and always ended further up in the class tree. Change-Id: I447567cabd20ad5c57c05a9ffa5f0f12c5321ccf Signed-off-by: Michi <woskimi@yahoo.de> Reviewed-on: https://git.eclipse.org/r/38944 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-04Bug 456579 - Improve CSourceHover and OpenDeclaration for TemplateIdsMichi2-1/+9
When the nodeSelector detects an IASTNode that has a TemplateId parent we use that instead of the original. The benefit is that we also get the template parameters so we can find template specialization matches. Change-Id: I3751efdb15e868b4aa6688ad338227e0d0c5bcd8 Signed-off-by: Michi <woskimi@yahoo.de> Reviewed-on: https://git.eclipse.org/r/38923 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-04Bug 424565 - 'Open Declaration' on use of alias template defined in baseMichi3-2/+13
class This should work now for AliasTemplates from AST and PDOM. SourceHover is also affected. Are there any unit tests for this? Change-Id: I54a9c2d6cd0851f901b917a57d79616298699299 Signed-off-by: Michi <woskimi@yahoo.de> Reviewed-on: https://git.eclipse.org/r/38919 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-31Bug 453920: Remove code duplication between MIVar and MIVarCreateInfo.Vladimir Prus3-50/+32
Change-Id: I1c291fa235fe77910b6bea7ad98f269d8949fc5c Signed-off-by: Vladimir Prus <vladimir@codesourcery.com> Reviewed-on: https://git.eclipse.org/r/37475 Tested-by: Hudson CI
2014-12-31Bug 456340 ClassCastException when typedef refers to basic typeMichi1-1/+6
Change-Id: If1a65f6160e9398e1c40df194281414a4e422036 Signed-off-by: Michi <woskimi@yahoo.de> Reviewed-on: https://git.eclipse.org/r/38845 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-31Bug 456099. Added change description.Sergey Prigogin5-169/+197
2014-12-31Bug 456099. More flexible file name matching algorithm.Sergey Prigogin5-68/+159
2014-12-30Cosmetics.Sergey Prigogin7-160/+122
2014-12-30Bug 456099. Moved a premature assertion.Sergey Prigogin2-2/+5
2014-12-29Disabled a flaky test.Sergey Prigogin1-1/+4
2014-12-29Bug 456101 - class template is refering to itself in code completionMichi2-9/+42
a CPPASTQualifiedName that represents some template instance can never refer to a template of the same type Change-Id: Iaf9a452e4797fc0e797e5ed5ccaadfb00ff4fb8f Signed-off-by: Michi <woskimi@yahoo.de> Reviewed-on: https://git.eclipse.org/r/38730 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-27Bug 456207 - Skip ICPPASTFunctionDeclarator.getNoexceptExpression() inNathan Ridge2-1/+11
ASTComparer Change-Id: I298f52e9ad21643d8fe58283e0c30e95c12b92ad Signed-off-by: Nathan Ridge <zeratul976@hotmail.com> Reviewed-on: https://git.eclipse.org/r/38788 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-27Bug 456131 - Remove duplicate builtin symbol for __atomic_add_fetchNathan Ridge2-2/+8
Change-Id: Icb753202c7678ec75f603edac003dbd199513b07 Signed-off-by: Nathan Ridge <zeratul976@hotmail.com> Reviewed-on: https://git.eclipse.org/r/38787 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-25debug tests: Don't catch exception in SyncUtil context gettersSimon Marchi3-21/+24
When catching the exception and failing the test manually, we loose the information about the root cause of the problem. We let the exception propagate so that JUnit will show a useful trace. Change-Id: I1df26283f42b58b4dda68ab9e8c11cca27ae81c8 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/38771 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-25debug tests: Change -dwarf-2 to -g in tests MakefileSimon Marchi1-2/+2
-gdwarf-2 was added specifically when the default debug format was stabs, to force using the DWARF format. It is irrelevant nowadays, and we want to let the compiler choose the DWARF version it prefers. Change-Id: I300fab09b492704ca3d3a61446b8dd0ce36167c2 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/38766 Tested-by: Hudson CI Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-25Disable LaunchConfigurationAndRestartTest.testSourceGdbInit for gdb < 7.2Simon Marchi2-4/+33
When executing the launch sequence in testSourceGdbInit, gdb 7.1 inserts an extraneous \n in one of its replies, causing an assert to be hit. Since we don't actively support that version, let's just disable the test. Change-Id: I9544835ead72e1701766d76fafa0e63f3b88911d Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/38768 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-24Only enable remote tests for gdb versions >= 7.1Marc Khouzam1-8/+7
Change-Id: Ia42a2dc330d739181167bf5511ff976a36ab180f Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-24Enable the GDB 7.1 test suite.Marc Khouzam1-1/+2
Change-Id: I3d21bfbc8f2f9e99c7b5bda9a68243218346f61b Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-24debug tests: Don't catch exception in LaunchConfigurationAndRestartTest.doLaunchSimon Marchi2-9/+6
When catching the exception and failing the test manually, the root cause exception is hidden. If we let the exception propagate, JUnit will fail the test automatically, and will provide a detailed stack trace. Change-Id: Ife099d4598109dd0901b14d482b89545cfd01d68 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/38765 Tested-by: Hudson CI Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-24Bug 456099. Corrected include replacement in partner files.Sergey Prigogin3-2/+39
2014-12-24Resume threads individually in GDBMultiNonStopRunControlTest.Marc Khouzam2-92/+124
For older GDBs, we don't support resuming the entire process. The tests in GDBMultiNonStopRunControlTest were trying to resume the entire process as a shortcut and it was failing for GDB 7.1 and probably older ones too. This change loops over all suspended threads of the process and resumes them individually. Change-Id: Ie1056aa9775114c3a0d795a49d87d6efe431785d Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/38742 Tested-by: Hudson CI
2014-12-24Update GDBPatternMatching test for older GDBs.Marc Khouzam1-24/+20
Over the years GDB is showing more registers than before. When the GDBPatternMatching tests were first written, some random registers were used. This update uses registers that are available for both old and new gdb versions, as well as 32bit and 64bit architectures. Change-Id: Ibbbd50d240f295e1a745fae217013f21aeabff8a Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/38736 Tested-by: Hudson CI
2014-12-23debug tests: Disable some reverse tests for gdb 7.0 and 7.1Simon Marchi2-2/+53
The following tests fail with gdb 7.0 and 7.1: - testStopAtMainWithReverse(Restart)? - testStopAtOtherWithReverse(Restart)? The reason is that execution crosses getenv() while recording is enabled. gdb has some trouble with that, and outputs an error such as: warning: Process record ignores the memory change of instruction at address 0x7ffff7de951f because it can't get the value of the segment register. warning: Process record ignores the memory change of instruction at address 0x7ffff7de9576 because it can't get the value of the segment register. Process record doesn't support instruction 0xfef at address 0x7ffff7a9e5e2. Process record: failed to record execution log. [process 6993] #1 stopped. 0x00007ffff7a9e5e0 in strlen () from /lib/x86_64-linux-gnu/libc.so.6 We could either make the test "easier" to make it pass on those gdb versions, or disable it for those gdb versions. By "easier", I mean just execute some simple arithmetic instead of some calls to libc. I think it is counter-productive to reduce the span of the tests just to make some old gdb versions happy, so I chose to disable it for those. Actually, the best would be to write a new test which covers less but passes for all versions. Change-Id: I98499fbb5c099232bc39dad3906d7348912b89af Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/38735 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Hudson CI
2014-12-23debug tests: Adapt thread name test for platforms that don't support themSimon Marchi2-5/+26
gdb only started reporting thread names at version 7.3. On Windows, they are never reported. If somebody wants to enhance the check for MAC OS X, feel free to do it! Change-Id: I9d028b24930b632678941682da65cd51da9e88dd Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/38728 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-23debug tests: Add runningOnWindows() method to BaseTestCase Simon Marchi5-22/+27
Change-Id: Ic7fd197cdaddf8824ac1ef43261c056678433865 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/38727 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-23Avoid gdb bug in StepIntoSelectionTests for gdb <= 7.3Simon Marchi2-33/+90
When a breakpoint is set directly at the start of a function, and you step into that function, gdb <= 7.3 will generate a "stopped" event with two reason fields. The first to indicate that the step range ended and the other to indicate that a breakpoint was hit. While this is not really correct from gdb to include the same field twice in a single event, the implementation of MIRunControlEventProcessor_7_0 will generate two distinct MIStoppedEvent events. This confuses the step-into-selection mechanism, who will issue two finish/step-return instead of one. For all gdbs, we will have a test where the breakpoint is a not at the function entry. Then, for gdb > 7.3, we will have the same test but with the breakpoint at the function entry, to test that particular case. This case is known to be broken with gdb <= 7.3 (rather old) and will stay that way unless somebody feels like fixing it. So, for both: - atDoubleMethodStopAtBreakpoint - atDoubleMethodSkipBreakpoint I extracted the code in a common function which takes in parameter the line to set the breakpoint at. Change-Id: I2ae4bc527afe0ab195e9b066279ed92f74d652f3 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/38717 Tested-by: Hudson CI Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-23Bug 456099 - Renaming a class should also rename related filesSergey Prigogin41-382/+1599
2014-12-23Cosmetics.Sergey Prigogin3-11/+11
2014-12-23Adjusted method visibility.Sergey Prigogin1-34/+34
2014-12-23Cosmetics.Sergey Prigogin13-3631/+3628
2014-12-23Bug 456083 - Wrong preference scope causes test dependenciesMarc Khouzam1-14/+27
Change-Id: I36b91e6c0c8180919e033d7630db92f148b69214 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/38721 Tested-by: Hudson CI
2014-12-23TyposMarc Khouzam1-8/+8
Change-Id: I78bd2f2f640dcac283bf0bc4259d6acf3080a3c2 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-23Revert "Bug 451929 - Leverage p2 ability to express native packages"Doug Schaefer6-12/+0
This is breaking downstream builds. This reverts commit 18e6101a53d99969f9dff1fdbc95debb18983390. Change-Id: I5dd2ee129518757866ab832c683b648d13b07b83 Reviewed-on: https://git.eclipse.org/r/38594 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-12-22Bug 455992 - MIRunControlTest.getExecutionContexts fails when run inMarc Khouzam1-6/+8
remote mode Change-Id: I869a7496e63380f3839d641105fa29fc0c1c3b74 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/38692 Tested-by: Hudson CI
2014-12-19Bug 434446 - [code assist] struct not being recognised as a valid baseMichi5-88/+93
class structs are now being shown as candidates for base classes while I was at it I also fixed proposals for typedefs, template parameters and template aliases. Change-Id: I319b06a195eed88a12969207a21584dc2477219e Signed-off-by: Michi <woskimi@yahoo.de> Reviewed-on: https://git.eclipse.org/r/38379 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-18ICPPAliasTemplate and ICPPAliasTemplateInstance are not supposed to beSergey Prigogin2-2/+8
extended or implemented by clients.
2014-12-18Bug 441277 - Fix colliding tab ids in example plugin that extendsMarc Khouzam1-6/+6
DSF-GDB Change-Id: Iac8e2802e78db88d6fcf6e4ee048df1efacd6303 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-18Bug 453321 - Convenient field access for MITuple/MIResultRecordVladimir Prus4-40/+65
Change-Id: Id43f2cb9b52743792fc7f9ce40d16914d8e257b4 Signed-off-by: Vladimir Prus <vladimir@codesourcery.com> Reviewed-on: https://git.eclipse.org/r/37090 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-18Bug 441277 - Provide an example plugin to show how to extend DSF-GDBMarc Khouzam27-0/+1694
Change-Id: Ic6efd321d09bfc4d62344244c419dc6b0b9758ec Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/30660 Tested-by: Hudson CI
2014-12-18Bug 389536 - NPE in AdditionalInput for projects containing files withSebastian Bauer2-1/+26
custom build-steps. Tools for custom build steps normally don't belong to a tool chain. We assume now that the inputs don't need to be rebuilt rather than provoking a NPE. The actual fix is similiar to the patch added to the mentioned bug originally been created by Piotr Aniola. It has been extended with a test case demonstrating the problem (and the fix). Change-Id: I5f17248cbe8e84779144bb5f1873c5b9456baa16 Signed-off-by: Sebastian Bauer <mail@sebastianbauer.info> Reviewed-on: https://git.eclipse.org/r/38206 Tested-by: Hudson CI Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>

Back to the top