1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

23160 commits

Author SHA1 Message Date
Doug Schaefer
a104dc4f6d Launch Bar - fix up how the new config wizard runs.
Only change the type when we're flipping to the next page. Also fixes
the order of initialization of the tabs to eliminate the NPEs that
were happening.

Change-Id: I9bb0a5d3ff646e4ca340f9c461e3a3c88f89e557
Reviewed-on: https://git.eclipse.org/r/34010
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-28 11:13:32 -04:00
Doug Schaefer
c5ce43974e Make sure launch bar ui plugin properties gets into build.
Change-Id: I3e63c02b3c9f3da8b20ac4d71d0c1b6144b2f686
Reviewed-on: https://git.eclipse.org/r/33650
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-27 22:45:06 -04:00
Anton Leherbauer
f3860cc65b Bug 444736 - Importing a subset of exported breakpoints often logs exceptions
This fixes also 
Bug 413787 - Occasional "Breakpoint does not have an associated marker" in the log
2014-09-26 08:28:46 +02:00
Marc-Andre Laperle
db67b263b9 Bug 444636- Make CBreakpointGdbThreadsFilterExtension thread-safe
Change-Id: Ied036bba57e3f2c2eca00e791735212b3dc107e5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33727
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-25 14:31:57 -04:00
Marc Khouzam
0c0b6ef6ff Bug 444395 - Must synchronize creation of bp extension
It is possible that more than one thread try to fetch the extension of
the same breakpoint.  If that extension is not created yet, both threads
could end up creating two different ones by mistake.

We must synchronize the possible creation of the breakpoint extension to
avoid such a situation.

Change-Id: I51118bdfb9c4215fca14d7b5e18a5963e02cde34
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33620
Tested-by: Hudson CI
2014-09-25 14:28:17 -04:00
Marc Khouzam
a3ee0c86f9 Bug 443965 - Move update site from
build/org.eclipse.cdt.autotools-feature/p2.inf to
releng/org.eclipse.cdt-feature 

Change-Id: I2827c4d96ff7cd70f752d5619caa82e8450c3048
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33707
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-09-24 12:37:07 -04:00
Marc-Andre Laperle
db33c12332 Bug 355165 - Cannot insert breakpoint when org.eclipse.cdt.debug.ui is not running
Change-Id: I6b4be0afb35ae94e6bd6d957e94f65e5f3cc2559
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33626
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-22 15:50:51 -04:00
Roberto Oliveira
dc52a0c446 Remove a NSL unused message ConvertTargetAction_No_Converter from org.eclipse.cdt.managedbuilder.internal.ui
Change-Id: Idb4590ecabfabf74076517b7c09cf2839481c405
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/33622
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-22 10:21:27 -04:00
Marc Khouzam
8d56765e6b Bug 444395 - Breakpoints don't get set for second session.
Change-Id: Ifa857cc2e9de00bb2f2a86b9d5e73536294dd01d
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33517
Reviewed-on: https://git.eclipse.org/r/33573
2014-09-22 10:11:35 -04:00
Teodor Madan
b92677b149 Bug 444207 - Activate multicore visualizer on non-linux hosts for remote
case

Change-Id: I62519aa7c631748bbec95af27cab3ef3e477c005
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/33438
2014-09-22 03:25:32 -04:00
Teodor Madan
660fa3fdfe Include expressionLanguage.exsd - fix occasional PDE errors
"referenced element 'enablement' is not defined"


  
Change-Id: I40a84a249e0e2488e4600a67a9eab935298048e4
Reviewed-on: https://git.eclipse.org/r/33499
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-09-22 02:26:34 -04:00
Doug Schaefer
f80eeeda61 LOLs, this is just a comment change. But I want the tests to run.
to test a previous commit I made directly accidentally.

Change-Id: Ia78de20a35e8288b58ba802c4215eb8abc2aff1f
Change-Id: I615c2673a0b2d091d71ffcf21a25fcc5b447e4f0
Reviewed-on: https://git.eclipse.org/r/33649
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-21 21:48:18 -04:00
Doug Schaefer
514a4ee209 Bug 437392 - first cut at handling descriptor takeovers.
If a launchObject changes such that a new higher priority descriptor
type wants to take it over, we need to let it. This is handles on
the launchObjectChanged call.

I also added a note to the Project object provider as projects change
a lot and we only care about a subset of those events. Not sure how
to formalize that, though. Need to dig deeper into the deltas and
see what we can ignore.

Change-Id: I964d8785a474c43c917bcd7d8a84abf2b7904aa4
2014-09-21 20:53:28 -04:00
Roberto Oliveira
fd8148a659 Autotools Sync - Fix an issue when trying to build Syncro Autotools project.
As the RemoteCommandLauncher#makeRemote already convert the local path to a remote path, dont need to convert it here,
	otherwise it will mess with the configure path.

Change-Id: Ibaaeb34dc80f1574f8b59db0ad0d68cf49af2551
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/33574
Reviewed-by: Greg Watson <g.watson@computer.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-09-19 13:21:01 -04:00
Doug Schaefer
8015431bf1 Put the user invokable launch bar commands into a category. 2014-09-19 11:05:45 -04:00
Marc Khouzam
735bde8157 Bug 444196 - Add delay before deleting breakpoint
We are getting intermittend failures on the GDBConsoleBreakpointsTest
due to the fact that we create and then try to delete a breakpoint so
fast that the MIBreakpointsManager does not have enough time to update
its data structures.

This is something specific to automated tests, as a user won't be able
to delete a breakpoint so fast.

Change-Id: I4b220cc859b7ee45e1b8dbde0edbcaa38b9dfe34
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33432
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-18 16:09:23 -04:00
Marc Khouzam
cee8719e10 Bug 442394 - Sometimes breakpoints set and immediately deleted when
debugging with GDB

Change-Id: I4cdc2bfc50ce846fc3175e633b2d27510ba65e82
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33458
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-18 16:08:44 -04:00
Marc Khouzam
c5d3f2247d Bug 444317 - Move JUnit tests to use GDB 7.8
Change-Id: I129d6922fb93044cf12c912536b193140eae8f94
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33481
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-18 16:04:50 -04:00
Doug Schaefer
ddd0df6db8 Get LaunchBar builds off of the UI thread. 2014-09-18 11:55:27 -04:00
Wainer dos Santos Moschetta
ae1b12338a Bug 443343. Add support for pppc64le architecture
Created the org.eclipse.cdt.core.linux.ppc64le plug-in to bundle the
libpty.so and libspawner.so shared libraries for ppc64le (compiled
with gcc 4.9.1 and glibc 2.19)

Change-Id: I8d4d63961efaae68ac457462b069350e98e75246
Signed-off-by: Wainer S. Moschetta <wainersm@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/32874
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-17 08:56:54 -04:00
Marc-Andre Laperle
5dc320def5 Fix ptp p2 update site to fix build
Change-Id: I1f32178baa27c5ff1d77852834eae1539fef5506
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33475
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-09-17 02:51:37 -04:00
Marc-Andre Laperle
de517a2cd5 Bug 444196 - [tests] dsf-gdb tests fail the build when 'make' is not installed
This will make the build not fail but complete with errors.
Also, only build the test apps if we are going to run the tests.

Change-Id: I1a16eb812df45279d973ead37038683b5b0a5dff
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33406
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-16 15:42:57 -04:00
Marc Khouzam
4a93b2d6a4 Disable automated Debug JUnit tests for GDB < 7.2 to allow to work on
getting all others to pass.

These tests should eventually be gradually re-enabled.

Change-Id: Ifb5fdf155f6db36b0b8bc29032ac736691213972
2014-09-16 07:04:38 -04:00
Sergey Prigogin
2bc250198d Cosmetics. 2014-09-12 20:59:42 -07:00
Sergey Prigogin
bf5f005736 Cosmetics. 2014-09-12 20:23:31 -07:00
Alena Laskavaia
ac11501703 Bug 353352 - CFG doesn't handle range-based for loop
Change-Id: Ic4334ce82585d4dbfbbd008fd013b0ce97cca434
Reviewed-on: https://git.eclipse.org/r/33155
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-09-12 20:13:29 -04:00
Doug Schaefer
d5b3ed1ce7 Extend launch bar tests and fix up one of the Listener methods.
Change-Id: I920f7c08f30d51cff2a5188f81b85839e7d972e3
Reviewed-on: https://git.eclipse.org/r/33289
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-12 11:28:39 -04:00
Doug Schaefer
63b9ba54f5 Bug 437392: Major API changes to turn the Launch Bar Model a beauty
Pretty major changes but heavily reduce the size of the API. Check
out the ILaunchBarManager which now only supports providers. All other
methods are now for internal use by the UI plugin. Also change to the
model. The extension point has much more documentation now. Please see
it for an explanation. But essentially made launch configuration types
part of the model to make a nice cleaner bridge to the platform.

Also includes change to Launch Targets view to make it a common
navigator so different target types can add objects to the tree.

Also a number of changes to try and delay plug-in loading with the
providers.

Change-Id: Icdd300e99f831c84cd0a25a23410aa1cd2ccfd7c
Reviewed-on: https://git.eclipse.org/r/33061
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-11 17:22:38 -04:00
abeerbagul
1ffa0a9bb2 Bug 443687. Calculate the maximum partition size to decide if a tail
partition is required.

Change-Id: I43daed0ce0366ea0ab5aa6a437eb2f152e8012fc
Signed-off-by: abeerbagul <abeerbagul@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33225
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-11 11:47:03 -04:00
Alena Laskavaia
d2f248dc70 Bug 353352 - CFG doesn't handle range-based for loop
Change-Id: Ic71c15d26d31d954fbc4c91882dd9361d9b23eae
2014-09-09 22:44:58 -04:00
Andrew Gvozdev
63c28d216f Bug 442123: java.lang.StringIndexOutOfBoundsException in
org.eclipse.cdt.make.internal.ui.text.WordPartDetector
2014-09-09 15:22:41 -04:00
Daisuke Nojiri
58af86640b Bug 443436 - Auto indenter uses spaces where it should use tabs
This change makes auto indentation following a new line use tabs where
possible when "Use tabs only for leading indentations" is disabled.

Change-Id: I97d787a003763697e281bb4a8af0f4760cbd81fb
Signed-off-by: Daisuke Nojiri <dai.nojiri@gmail.com>
Reviewed-on: https://git.eclipse.org/r/32955
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-09-05 18:43:14 -04:00
Sergey Prigogin
3a00410195 Bug 443361 - Template function resolution problem with lambda 2014-09-05 14:27:56 -07:00
Sergey Prigogin
62f4735f8e Bug 443356 - Organize Includes adds an unnecessary include for a
function referenced by a macro
2014-09-04 15:44:59 -07:00
Alena Laskavaia
a5c99092dd Bug 443120 - Source lookup should be able to find source file without
participant

Change-Id: I56fc43dca341705b67f699764b14e8beb7f9e437
Reviewed-on: https://git.eclipse.org/r/32725
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-09-03 10:31:34 -04:00
Sergey Prigogin
096fae2b3e Bug 442841 - Organize Includes adds an unnecessary include for the base
class of the type of a field
2014-08-29 22:11:21 -07:00
Markus Schorn
e7cbbb7412 Bug 355299: When looking for dirty editors during search: Only consider text editors 2014-08-29 08:39:38 +02:00
Markus Schorn
8c148855bf Bug 442794: Speed up cancellation of PDOMIndexerJob.ProgressUpdateJob. 2014-08-29 07:38:01 +02:00
Marc-Andre Laperle
554c753e31 Bug 427856 - [Outline] Incorrect parameters of functions with rvalue reference
Change-Id: I4761e65a21d8e958cb5cb1a74ebcf18dfd5a1603
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32513
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
2014-08-28 22:25:20 -04:00
Sergey Prigogin
ca60372079 Bug 442832 - Template instantiation broken due to signature collision 2014-08-28 15:23:23 -07:00
Sergey Prigogin
11f921e614 Code streamlining. 2014-08-28 15:22:23 -07:00
Sergey Prigogin
35044af3ee Cosmetics. 2014-08-28 15:21:48 -07:00
Marc-Andre Laperle
97079f6ad0 Add missing arg for jacoco in in tests. Update jacoco.
Jacoco arguments are missing when executing certain tests. This happens when
argLine is being overriden. We had the same problem in Linux Tools. We solved
it by prepending the argLine with ${tycho.testArgLine}. This should help
improving the Code coverage metric in Sonar.

Also update the jacoco version to fix a bug when building with Java 8.

Change-Id: I7f73f40488efc01fc7d643940c1ac0d5950c900d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32507
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-08-28 15:40:26 -04:00
Nathan Ridge
9a25ff506e Bug 405168 - Make EvalID.instantiate() a bit more robust
Change-Id: I88caaefc8050d65f137109be7e4b810c6b7a32d9
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32449
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-28 12:14:12 -04:00
Nathan Ridge
83169e23d6 Bug 442457 - Support for __final keyword
Change-Id: I8eb4ea82a4b0a462cb373c5a6b1efc9ba7addf82
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32367
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-28 12:05:11 -04:00
Markus Schorn
dc3a09bbce Bug 440057: Fix ClassCastException invoking C/C++ Project Settings Import Wizard. 2014-08-28 13:38:17 +02:00
Sergey Prigogin
099a88b980 Target platform definition for Mars. 2014-08-27 14:24:26 -07:00
Sergey Prigogin
565aae76ba Bug 442742 - "Organize Includes" removes a header required for a
namespace alias
2014-08-27 14:14:59 -07:00
Sergey Prigogin
af51f687e2 Cosmetics. 2014-08-27 09:44:38 -07:00
Anton Leherbauer
2ab1d46860 Fix PTYOutputStream.write for off > 0 2014-08-27 16:06:16 +02:00