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

601 commits

Author SHA1 Message Date
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
Doug Schaefer
cf448ee139 Launch Targets View clean up including adding properties dialog.
Change-Id: I0299e2cc4886ba04aaa5f8661f45207c5320a8c5
Reviewed-on: https://git.eclipse.org/r/31935
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-08-20 10:27:39 -04:00
Doug Schaefer
3a81f65932 Bug 437392 - Added the Launch Targets View.
This view lists all launch targets that could appear in the Target
selector. It allows us to add context menus to them to perform
operations, such as opening a terminal view to the target. It will
also gives us a cleaner UI to add and remove targets

Change-Id: I538a204ce6f25fd017573c50585ac45cdeeaf554
Reviewed-on: https://git.eclipse.org/r/31856
Tested-by: Hudson CI
Reviewed-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-08-19 10:22:01 -04:00
Alena Laskavaia
742c1d9ee8 LaunchBar - some checks to prevent NPE's in ui
Change-Id: Iddece4d412b8d88ffba833b55950ec693a2817cc
Reviewed-on: https://git.eclipse.org/r/31554
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-13 16:24:59 -04:00
Alena Laskavaia
51f7d9c829 Launch Bar - label provider for config selector
If provider does not return image or text, use default provider

Change-Id: I20bca6e5ef577f4e227d5e567820ba8d004cb85a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31447
Tested-by: Hudson CI
2014-08-12 14:04:15 -04:00
Jonathan Williams
c1ca67ed34 Bug 441445 - Implement 'Add Target' functionality for target type
contributions to LaunchBar

Change-Id: I577c0e1438090aaaf27bba34660169cde82a8e8c
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/31319
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-12 12:27:29 -04:00
Alena Laskavaia
bc0a8fb72f LaunchBar - project based descriptor bug
project based descriptor must not accept launch configs without project
set
ownProject should not log exception when lc does not exist

Change-Id: I9a600641324b0ae22a2fdb99e68ff530cd1d33df
Reviewed-on: https://git.eclipse.org/r/31400
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-12 11:52:17 -04:00
Alena Laskavaia
1bf2aa825f LaunhBar - some API changes and cleanup
* Project provider to react on project changes (i.e. when nature
changed)
* Added concept of open descriptor - which will be visible in UI,
this will allow not to remap to null, reuse objects for other reasons,
and eventually I want to replace object map into 1:1 mapping without
nulls
* Removed throwing CoreException from getLaunchDescriptors (it does not
need to throw it)
* Project based type now checks if project is open
* Fixed copyright
* Added interface for ILaunchDescriptorProjectBased

Change-Id: I3277f5910c7df1bb4aa3e809dda3b61921dcad6e
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31321
2014-08-11 11:02:11 -04:00
Alena Laskavaia
42f0351e86 LauchBar - move default descriptor back to internal package
there is an another API class which users should use, default is
strictly for cdt default provider

Change-Id: I70ad6db49c90d8465d3328edc4ec09949d2697fa
Reviewed-on: https://git.eclipse.org/r/31306
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-08 16:24:49 -04:00
Alena Laskavaia
2a3246fa84 LaunchBar - more tests and refactoring
Change-Id: I7ae632dd6c3c67881066589a721031fdea6ea5c0
Reviewed-on: https://git.eclipse.org/r/31217
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-07 16:32:14 -04:00
Marc Khouzam
b24a49090a Export all packages from launchbar plugins
Change-Id: I6bd238c69131933ca170d955352b7f899b245dfa
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31115
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-07 12:52:12 -04:00
Marc Khouzam
9cafff55d6 Add license to launchbar feature
Change-Id: I36eb28887f47dca62554cb2438b8ed62b044fb52
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31114
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-07 12:51:57 -04:00
Alena Laskavaia
c819ee49f4 LaunchBar - config selector keep first 3 elements sorted by usage
* added interface for CSelector to show one separator bar at given index
* change ConfigSelector provider to do special sorting 
and set separtor index to 3, so first 3 elements are sorted by usage,
then all descriptors alphabetically (including first 3)
* persist descriptor order

Change-Id: Ib61d43abcb0da52f10d4b1e1ac7c0dc4f0d7958f
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30905
Tested-by: Hudson CI
2014-08-06 09:27:38 -04:00
Alena Laskavaia
b877d85865 LaunchBar - fixing default label provider for configs
* fixing default label provider for config selector, if no
contribution will default to launch config based image/name

Change-Id: I978f4071a2e5f7b25d0a1d345c676fdb7e43b263
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31056
2014-08-05 16:31:00 -04:00
Alena Laskavaia
9d6f5db024 LaunchBar - bugs in handling config and project based descriptors
* added tracing
* added method to get LCType without need for lc
* delete LC is nasty in platform, notificaton is sent after 
it is deleted, have to store parametes somewhere else to be able 
to handle it properly
* added toString to abstract classes
* allow config based type to have null config
* fixed loader for default provider extension (and added test for it)


Change-Id: I223684414eb51e18fe7f54113b1ae2055ddab1ae
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31043
Tested-by: Hudson CI
2014-08-05 15:46:31 -04:00
Alena Laskavaia
5340082453 LaunchBar - junits tests are not running - trying to fix...
Change-Id: I4e2f641ece60920b307c3117739a273a0c4c30b0
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30881
Tested-by: Hudson CI
2014-08-05 10:46:51 -04:00
Alena Laskavaia
0b62fee46c LaunchBar - added interface to notify launch bar on object changes
* added launchObjectUpdated API
* added tests for it
* changed abstract provider to use it instead of hack that it used
before
* fixed login in launchObjectAdded to correctly update object map 

Change-Id: I697594c34097e5439ca1550d0d68758baf7208e2
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30830
Tested-by: Hudson CI
2014-08-01 09:27:12 -04:00
Alena Laskavaia
86864c02fe LaunchBar - junits - more tweaks and refactoring
Change-Id: Ia786fd63c07b3240c1535036b443675dd4931eca
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30732
Tested-by: Hudson CI
2014-07-30 14:21:10 -04:00
Jonathan Williams
cb5eeb1a5d Bug 440393 - Add update mechanisms to force UI updates for activeTarget
and activeLaunchDescriptor.

Change-Id: Idef23b3e8adc4cc2a580bb052ac364824c088023
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30465
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-29 14:37:16 -04:00
Alena Laskavaia
e26e8a60c0 LaunchBar - added test plugin and refactoring
Initial tests and refactoring to support tests


Change-Id: Ia14961b4a13ad7e8f2e1d75be264243f7432fe2d
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30462
2014-07-28 16:43:44 -04:00
Marc Khouzam
1a48e6064b Update pom.xml of features for which version was changed to 8.5
Change-Id: I6c4e258ac7d86a3df7a064614fa80430219d5561
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-24 13:35:24 -04:00
Marc Khouzam
4a3ec6cd65 Update remaining feature versions to 8.5
Change-Id: I2f81d61650070353ec86159cfa215d58a0dd2c40
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-24 10:50:09 -04:00
Alena Laskavaia
dcf1440fe4 LaunchBar - new extension for simple providers
* If provider only wants to associate lc type with target the
only thing is needed is to specy this lc type somewhere and framework
should take care of the rest

Change-Id: I3f60c7a0a5b1334f989e972fe8f773c6e2d7f71a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30381
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 22:30:58 -04:00
Alena Laskavaia
cd81c09a4f LaunchBar - use unique descriptor id, not the name
Change-Id: I90674ab2e8d72a351be2f717c839e9305bdf2cbe
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30366
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 22:28:37 -04:00
Jonathan Williams
30b00414b0 Bug 440272 - Autoselect Another Target If Active Target Is Removed
Set another target to the active target if there is one available. Set
activeTarget to null if the list is empty.

Also fixed an NPE if setActiveLaunchTarget() was called with null.

Change-Id: I79d0a9c8a6b6e93b403dfbdf0d8bf0c8ea441297
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30386
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 22:23:48 -04:00
Jonathan Williams
bd792bc393 Bug 440133 - Fix extension point parsing for launchBarUIContributions
Change-Id: Ife27f47f483c9f80e5b9da94a180affee2baff61
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30265
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-23 14:46:01 -04:00
Doug Schaefer
bdc8c18df1 Bug 440112 Fix priority order for launchConfigProviders.
Also provides the default launch descriptor as API to allow other
descriptor types to reuse it.

Change-Id: Ifd9f5d9a22d5752e8c139ec4cc37ac181b245ec9
Reviewed-on: https://git.eclipse.org/r/30254
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-22 12:28:14 -04:00
Sergey Prigogin
d8154bd340 Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
Jonathan Williams
947b25009a Bug 440015 - Fix NPE On Launch Configuration Edit
Prompt user with error dialog when they attempt to edit a launch
configuration with no active target selected.

Change-Id: I3b0a649312259beba73437223e5b96e99396d31e
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30184
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-21 15:04:00 -04:00
Jonathan Williams
b9764a20a4 Bug 439833 - Allow Launch Configuration Deletion from Launch Bar
Also a slight refactoring of ILaunchConfigurationProvider for to enable
this.

Change-Id: I3e51e2277ee1a2b8875790d02ab6e5350595c946
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30078
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Hudson CI
2014-07-17 15:44:54 -04:00
Doug Schaefer
3936530e86 Show the proper ILaunchGroup in the LaunchBar Mode Selector. 2014-07-14 12:27:24 -04:00
Doug Schaefer
d9013538b8 Fix loading of the active descriptor in the launchbar. 2014-07-13 20:38:58 -04:00
Doug Schaefer
283a3f1bd7 Fix up the label providers for the launchbar. 2014-07-13 18:27:19 -04:00
Doug Schaefer
b318ffaedb Bug 437392 - Add support for multiple target types per launch thing.
Introduces a whole lot new concepts that will be documented in the
wiki.

Change-Id: Idd05d5232b88be7ac1d400e5b9618cf08716abf4
Reviewed-on: https://git.eclipse.org/r/29849
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-13 15:24:40 -04:00
Alena Laskavaia
8f40037326 LaunchBar - show actually modes
fixed drop down selector to show actual mode names and icons instead of
only debug and run

Change-Id: Idd80cf8a14b382b76d5bd16ed6a52b98790fe865
Reviewed-on: https://git.eclipse.org/r/29833
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-11 19:42:16 -04:00
elaskavaia
d25c5fa5b9 LaunchBar - make stop button work
Change-Id: I0940b9593c41bc1530b0ca28410d06431f66b0f5
Reviewed-on: https://git.eclipse.org/r/29832
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-11 16:46:15 -04:00
Doug Schaefer
17d10e5823 Missed icons directory from launchbar.ui's build.properties. 2014-07-08 11:43:00 -04:00
Doug Schaefer
e5f667c97e Give the launchbar 3 more pixels of margin.
It was feeling a bit cramped.
2014-07-04 16:38:24 -04:00
Doug Schaefer
d911875741 Update LaunchBar APIs to deal with multiple target types per desc.
Also fixed up the case in new workspaces. And added the feature.
2014-07-04 10:47:35 -04:00
Doug Schaefer
67939973fb Update LaunchBar APIs to deal with multiple target types per desc.
Also fixed up the case in new workspaces.

Change-Id: Ibbabc549034614c8095510c630da73f7eec171e3
Reviewed-on: https://git.eclipse.org/r/29427
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-03 15:49:00 -04:00
Doug Schaefer
4e8156ebbd Persist active target selection. 2014-07-01 20:00:45 -04:00
Doug Schaefer
2f995b6acb Cleared up the target model making it a provider responsibility.
The launch config descriptor provides the list of targets for a
given (usually active) config. The manager still manages which one
is active.
2014-07-01 19:47:36 -04:00
Jonathan Williams
48496423ab Bug 438414 - Fix NPEs in new launch toolbar
Fixed NPEs occuring from improper initialization/function in
CDTLaunchConfigProvider and LaunchBarManager

Change-Id: I84b70d25dc0d9787e0b45ceb3f79bf4258e06744

Change-Id: I1ee942e73af383a8e691d7d4e8308a099d715fbd
Signed-off-by: jonwilliams@qnx.com
Reviewed-on: https://git.eclipse.org/r/29130
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-06-27 14:11:46 -04:00
Doug Schaefer
976806367d Add the missing files for the new CDT launchbar provider plugin. 2014-06-24 11:54:25 -04:00
Doug Schaefer
8686c2bfce Start adding CDT launchbar provider. 2014-06-24 11:53:42 -04:00
Doug Schaefer
92aea028d9 Add a bit of history to config selections. 2014-06-24 10:25:00 -04:00
Doug Schaefer
49b65cb5b2 Fixed up startup, selection handling, and preferences in LaunchBar. 2014-06-19 22:13:11 -04:00
Doug Schaefer
e35ccf64a8 Fixed up the disable of the LaunchBar so it really removes it.
Not sure if it's a bug, but I had to dispose of the control myself.
2014-06-19 15:32:16 -04:00
Doug Schaefer
359c8976c8 Added preference to enable/disable the launch bar. 2014-06-19 13:49:50 -04:00
Doug Schaefer
c2da55547c Bug 437392 Initial commit of LaunchBar.
The LaunchBar is a Tool Control that allows the user to select an
active launch configuration, launch mode, and a new concept, a launch
target, and the build for that combination and launch that combination.
It also provides shortcuts to create launch configurations, and edit
their properties using the existing launch config edit dialog.

Change-Id: I8c6c9b72fed9052c03d2028c4611c78872d971c4
Reviewed-on: https://git.eclipse.org/r/28727
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-06-19 12:11:52 -04:00