1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
Commit graph

754 commits

Author SHA1 Message Date
Jonah Graham
ff7f25b94d Bug 484900: Remove Majority of CDI classes
This is the first change to remove CDI from CDT. The CDI model
implementation is removed along with everything that directly
depends upon the implementation.

This commit does not include refactoring or moving classes. The few
insertions are the minimum necessary.

Change-Id: I80274e1a0d77bc7bb00a2afe4babc00c4f7613ae
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-08 19:18:05 -05:00
Marc Khouzam
99465c1604 Bug 456116 - Can only use final fields in Launch Delegates
Change-Id: I695a4ef55ce451ed781e101334e07416b0bc48ed
2016-02-23 13:15:32 -05:00
Sergey Prigogin
728fd554e4 Incremented version of org.eclipse.cdt.core to 6.0.
Change-Id: I059e7eba9eff7f24c84e08a1cbf658381aaaf19d
2016-02-17 10:28:26 -08:00
Marc Khouzam
2ad68f7f80 Update copyright dates
Change-Id: I94ac38c37657e270f62db9bbd2859c2c6de40e5f
2016-02-11 01:50:14 -05:00
Alena Laskavaia
c81aef4e42 correct launch history for group launch
- group launch would not appear in launch history as last item when
launched, so if you try to repeat last lunch you only get the last child
of the group launch. Fixing launch history by re-adding group launch at
the end

Change-Id: Iadf08c0639dcae63255c28d8cd08ccce23ffd660
2016-02-04 15:43:52 -05:00
Marc Khouzam
766f66c0ab Missing copyright header.
Copyright assigned to company of the committer
who did the first commit of the file.

Change-Id: Ia133694018c798f9558258810982f5276737a0b0
2016-02-01 12:47:41 -05:00
Alena Laskavaia
6d3ca105fc debug main tab: move build initialization out of updateProjectFromConfig
- initialization of some parts were in weird places, which won't allow
properly overload it. Move build config initialization into
updateBuildOptionFromConfig from updateProjectFromConfig

Change-Id: I7eebe24da963b14de4eec48df27817a9820977fd
2016-01-19 15:11:16 -05:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Marc Khouzam
f3ff649041 Fix copyright of all CDT plugins using the copyright tool from platform.
This commit does not add missing copyrights, just updates the date on
the existing ones.

Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -05:00
Marc-Andre Laperle
1c258538de Remore unused New New Wizard
This code is not used and hasn't been touched since 2012.
Now it can be referred as the "old new new wizard".

Change-Id: Iccc60651a8233a5ef5b138dfcc334cfcf926d109
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-28 13:20:43 -05:00
Alena Laskavaia
63aa4b3376 Bug 481523 - Open project properties from launch config page
- also removed deprecated fields from CAbstractMainTab

Change-Id: I217f2ade868756edb331de60894846e7f5ec5cc2
2015-11-09 10:35:08 -05:00
Marc Khouzam
366dcbb39a Bug 477728 - Exit code not displayed in console for new Run config
Change-Id: Id1ecdffb5d3a99908f7ac4ee096f2b7f7e3d6440
2015-09-17 14:27:52 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Jeff Johnston
8c8d10f2e0 Bug 469529 - null pointer exception starting Docker launcher
- an init() call from the Docker Launch plugin start() method may
  not be able to get a Workbench Window so add code to ensure that
  an NPE does not occur in ConnectionListener
- fix the ContainerLaunchConfigurationDelegate to return null for
  the ipaddress() of the gdbserver run job if the info has not
  yet been set (thread timing)

Change-Id: I6dae9f1997d8b5b7db3246c0feb7966c4795b05b
(cherry picked from commit bd7fad5f67)
2015-06-06 12:24:58 -04:00
Jeff Johnston
16d9dd6ba7 Add missing icon to CDT Docker Launch plug-in.
- docker_small.gif was missing for SWTImagesFactory
- replace with container icon: repository-middle.gif for container Tab

Change-Id: Id18423f3bcad10142b8a3e834237f1b3bf49e7d6
Task-Url:
2015-06-02 19:44:46 -04:00
Jeff Johnston
36e50950b4 Fix for bug 468408
- Change to use the launcher plugin instead of the internal
  Activator from org.eclipse.linuxtools.docker.ui

Change-Id: I55c5ee8a70714a76543b6deb029003c9d8a7862c
(cherry picked from commit e51f7256e5)
2015-05-27 12:33:04 -04:00
Jeff Johnston
7215298c66 Fix for Bug 467930
- creating a Container launch configuration in Debug Launch
  Configurations View does not work
- problem is that the ContainerTab was not setting the connectionUri
  by default
- also set Remote Attribute which is needed for Container launch
  to properly connect with gdbserver in Docker Container

Change-Id: Ifb25b1cfcc8d4e3ac2c67b60a0072463774b108f
2015-05-21 17:33:26 -04:00
Jeff Johnston
56032058d2 Add Docker launching support
- use the new docker tooling plug-ins to launch and debug
  CDT C/C++ applications in docker containers

Change-Id: I30689255a3443ce6d49f937f5e2506d86452915b
2015-05-19 13:53:27 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Marc-Andre Laperle
9f39b4828d Bug 464222 - Trying to create a new remote launch gives a NPE
This could happen if a project was selected before creating the launch
and the project was missing a project description. For example, if the
.cproject was missing.

Change-Id: I3ecea6c4ee3cd3939c07ade361b2180fd86e6949
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-02 09:16:21 -04:00
Marc Khouzam
1ac11fc4bf Bug 463975 - Show exit code in console when doing a Run
Change-Id: I97fe993e33f1774133aa7cfd488e6e549dae2e0a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 11:27:01 -04:00
Marc Khouzam
acda777315 Bug 464078 - Support project-less Run
Change-Id: I69e655a65533e4cb835df59c9ff6ffa8152b92ff
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 09:25:56 -04:00
Marc Khouzam
bd66f35865 Bug 464636 - Modernize Run launch
Change-Id: I1c7a4cbbcd00f3967fe9cdbc1fc4b6e0b4d4d14f
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 09:17:51 -04:00
Marc Khouzam
9a17afc602 Costmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:18:43 -04:00
Marc Khouzam
6b134ee043 Bug 464636 - Move CMainTab from o.e.cdt.dsf.gdb to
o.e.cdt.launch.CMainTab2

Change-Id: I5f0cf6d03858e78d95da5356dad36930ed4877b2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:00:36 -04:00
Marc Khouzam
479cd95c3a Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-21 16:07:16 -04:00
Marc Khouzam
37890019cb Remove warnings caused by change to getAdaptable()
getAdaptable() in 4.5 M6 has changed to use generics, making casting its
result no longer necessary.

Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:01:46 -04:00
Teodor Madan
196d978624 Bug 458650 - NPE when creating a "C/C++ Remote Application" launch
config

Change-Id: I72f48aa4fa7b46e0d5ba5e5e8f6e4877269ea7f5
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
2015-01-29 09:50:51 +02:00
Teodor Madan
c00e25a8ad [Bug 457699] Fix NPE when renaming project and executable path LC
attribute is empty

Change-Id: I27405f759a0cdec1d66bc6bc63be0e7dbd183bf8
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
2015-01-23 03:21:17 -05:00
Ungureanu Dan-B07892
f03ce33b71 [457699]. Update C/C++ Application path at project rename
Change-Id: Ia9a2cd7c57a12bb74346915f22b6617fbb42a309
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=457699
Signed-off-by: Dan Ungureanu <dan.ungureanu@freescale.com>
2015-01-22 04:02:44 -05:00
Alena Laskavaia
8e7e750522 CAbstractMainTab: fixed possible NPE if method called direcly
updateBuildConfigCombo originally accepted null as arument, restored
this behavior (it is not called with null from cdt code, but may be
called from overriding classes)

Change-Id: I7d0f271b2bd414d380a1804b838ce38fbdc7c0af
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-01-21 09:14:21 -05:00
Alena Laskavaia
971176c83f abstract main tab: replace auto-config checkbox with combo item
as discussed on cdt-dev I am trying to make ui look better
and more generic by replacing 
"Select configuration using 'C/C++ Application'"
checkbox with Automatic selector.
Launch delegate or subclass on main page can control and override
behaivior of this ui control

This won't break API but it will break UI if subclasses were actually
doing something with original chechbox control 
(besides not creating it).

Change-Id: I36f20bf05ff19e1fd66782e2351f18edc7d507cc
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39619
Tested-by: Hudson CI
2015-01-15 09:09:51 -05:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
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-06 19:40:38 -05:00
Doug Schaefer
3c14369a9a Bug 437392 - Remove LaunchBar from CDT repo.
It is now located in the cdt/org.eclipse.launchbar repo. The intention
is to move it to a project lower down the stack so it can be reused
accross Eclipse.

Change-Id: I9d623fa372fcf6e345ba68a8830db190a75e0d28
Reviewed-on: https://git.eclipse.org/r/38266
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-12-15 14:13:45 -05:00
Alena Laskavaia
8c6bad3c80 Propertly implemented stubs for NewLaunchConfigEditPage
This code is required if any LaunchTab interacts with other tabs in LC


Change-Id: I5d5e3b6d4e51b1f3ee0ac6297ebb4d88ad220224
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/36955
Tested-by: Hudson CI
2014-11-25 10:33:45 -05:00
Jonathan Williams
af395d8676 Bug 449479 - Fix Exceptions and LC cache corruption on LC delete
Change-Id: Icd211eb1c9c34082208a709926b56affee6eac61
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/35748
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-11-05 10:23:16 -05:00
Doug Schaefer
99bab29813 Bug: 448093 Move the initialization of the launch bar manager to job
We've seen a deadlock during startup mainly caused by CDT but triggered
when the launch bar manager initialized. This moves the init to a job
where it should be anyway to ensure smooth startup.

Change-Id: Id4b63e07dca3f96c561d6b4f45d60cf7cbcf530c
Reviewed-on: https://git.eclipse.org/r/35235
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-10-21 12:17:06 -04:00
Alena Laskavaia
572b3e917f Bug 447933 - CMainTab - uncessery restrictions on Browse button
Change-Id: Ic69f12abe7597d34a2354721c8b27166ec0edd5f
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35143
Tested-by: Hudson CI
2014-10-21 10:19:29 -04:00
Dan Ayson
8251ed4964 Bug 447722 - NewLaunchTargetWizard needs a window title
* Added setWindowTitle("Launch Target Type") to NewLaunchTargetWizard

Change-Id: I3703017f1c282352eb27c87a9e58eae7abea0f2d
Signed-off-by: Dan Ayson <danielayson@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35062
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-10-17 13:37:29 -04:00
Doug Schaefer
671fea7f49 Bug 446104 - Fix target removal. Also fix Config Edit page.
The launch bar manager was missing the line to actually remove the
launch target in launchTargetRemoved. Added a test to detect that.

Also fixed the Config Edit page. Name verification was failing since
it was comparing against the false configs created when the tabs
are initialized. We clean up now right after that init.

Change-Id: I9cff816040f2e1866c9454cb00f69ec4468225d4
Reviewed-on: https://git.eclipse.org/r/34477
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-10-07 21:15:39 -04:00
Mat Booth
fca237edbc Use the org.hamcrest.core BSN to ensure the latest version from orbit
Change-Id: I1dd2d340f15bc2e0e02acf0b16c63447c05bcb73
Signed-off-by: Mat Booth <mat.booth@redhat.com>
Reviewed-on: https://git.eclipse.org/r/34493
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-10-07 16:52:32 -04:00
Doug Schaefer
0a3f35c3ed Launch Bar - fix ordering problem initing launch config edit tabs. 2014-10-01 22:07:05 -04:00
Alena Laskavaia
909315e0c7 Bug 444781 - Fix error marker for invalid launch config name
fixed validation paths of the name/tabs markers

Change-Id: I0e6f1dbcde00ea00c351fdf377429026b8a83bd3
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33923
Reviewed-by: Jonathan Williams <jonwilliams@qnx.com>
2014-10-01 15:08:28 -04:00
Alvaro Sanchez-Leon
f9db4581fc Bug 445372 - [LaunchBar] Compile with Juno
Change-Id: Ieb915e56b7e1f2b06a84a1db1d6f476977add1b2
Reviewed-on: https://git.eclipse.org/r/34058
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-30 14:52:39 -04:00
Doug Schaefer
c84b8cc5d6 Launch Bar - New Target Wizard somewhat like the new resource wizards.
Has a page to select the target type. The INewWizard for the target
type is registered in the launchBarUIContributions extension point.
When selected and nextPage is hit, the wizard starts up.

Also some minor cleanup to the new config wizard.

Change-Id: Ic2bb5164d531a21b7a2a9dd7ecd109e18f2411cd
Reviewed-on: https://git.eclipse.org/r/34017
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-30 13:42:32 -04:00
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
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
Doug Schaefer
8015431bf1 Put the user invokable launch bar commands into a category. 2014-09-19 11:05:45 -04:00