1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 14:15:23 +02:00
Commit graph

149 commits

Author SHA1 Message Date
Doug Schaefer
bc661996aa Combine Mode and Type into a single page for new configs.
Change-Id: Ic8c6a4580ecd7dcb4435b204c10f37703ad1443a
2017-10-13 13:40:01 -04:00
Doug Schaefer
36555cd219 Fix up the description in launch object provider init.
Change-Id: I52d440721e4e2be948ea18814a0eeb6b31eb8217
2017-10-03 13:58:17 -04:00
Doug Schaefer
ccc816a442 New Target Management wizard and allow editing of LC names.
Add a new launch target wizard that manages creating and editing of
launch targets (similar to the new CDT toolchain wizard).

Allow editing of launch configuration names in the descriptor edit
dialog.

Change-Id: I1c690a5c5d8a8a6d4e4698b47cd35e6cc40944c5
2017-09-27 14:30:28 -04:00
Doug Schaefer
4a25d3cf1d Add build settings tabs for descriptor/config editor.
Add a mechanism to allow extenders to provide tabs for build settings
in the descriptor config editor.

Also move to pom-less builds.

Change-Id: I850898aba94c38d69717c9b8366de3b9a7031ff6
2017-09-06 14:55:42 -04:00
Doug Schaefer
374059131b Bug 521703 Add name attribute to new targets
This ensure they have at least one attribute to that the child node
persists (empty ones don't).

Change-Id: I3bdc64a07a097882acfcc4995e1d09a0a862b197
2017-08-31 14:18:31 -04:00
Doug Schaefer
3d9e238603 Upversion LaunchBar for Oxygen.1 (2.1.2)
Change-Id: Ib2c4658c3997224c5204003eea2ee4177d423bdd
2017-08-23 12:29:04 -04:00
Roland Grunberg
4e6e053c6c Bug 520029 - Synchronize access to listeners in LaunchTargetManager.
Change-Id: I339fe158341890caa95537b332da29717f7bc5a1
Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2017-07-21 11:45:06 -04:00
Doug Schaefer
0a0ff7b964 Remove logging.
Change-Id: Ie44ef7f1201ba73b752fb9fface2e654fb14e67c
2017-07-12 10:48:18 -04:00
Doug Schaefer
f6809dae38 Yes more logs, tricky bug.
Change-Id: I716d388ccb21070d02722ae958cfcf6ddf9e2a3e
2017-07-11 15:22:21 -04:00
Doug Schaefer
ede3252c71 More logs.
Change-Id: I906f43975c2c4c3f4b81f38fcee4cb82227423eb
2017-07-11 14:23:53 -04:00
Doug Schaefer
ac5c884286 Add some logging to debug test failures we're seeing on Linux.
Change-Id: I570733a2d3c81937a59cfa2aa93dfc98f6b6d325
2017-07-11 12:12:56 -04:00
Alena Laskavaia
12514becfb Bug 519249 - [LaunchBar] popup disposed when typing
Focus is lost and popup disposed after filter control is activated
Probably in Oxygen sometime changes as focus now totally lost 
(focus control is null)
after selection in our custom tree.
Just resetting focus for now, need more investigation later
why it was lost



Change-Id: I0ab671ba97d8ecfe5586688812a9ea728d8f9619
2017-07-05 11:39:53 -04:00
Matthew Bastien
bb7cbf8429 Bug 518837: Launch Config Dialog select first tab by default
Under certain circumstances the launch config dialog wouldn't have a tab
selected when it opened. Changed the selection logic to explicitly
select the first tab rather than assume that it would be selected.

Change-Id: If2b3e2e933b12feb7e28a74270b34279ec891e54
Signed-off-by: Matthew Bastien <bastien.matthew@gmail.com>
2017-06-27 10:26:49 -04:00
Doug Schaefer
ff9289d396 Even better solution for the deadlock on startup.
Make sure we aren't locked when calling the listeners.

Change-Id: Id67f52013646733347c3ac0e45ef0a32953c9e89
2017-06-15 11:15:40 -04:00
Doug Schaefer
64f1d0b5d9 Fix deadlock on startup. Never use syncExec.
Change-Id: I841045d56dc4a7446854282db6d74809629952a6
2017-06-15 10:54:50 -04:00
Doug Schaefer
accbe9abc4 Fix concurrent mod exception with listeners.
Change-Id: If5088b530606421b573359b7755a01e45e32f0a7
2017-06-12 14:53:43 -04:00
Doug Schaefer
c5a2c150ae Check for disposed. Upversion for Launch Bar 2.1.1.
Change-Id: I3ee0317023ecf9ca730743eb33650c4ec4c04b92
2017-05-25 11:26:42 -04:00
Matthew Bastien
de43afb5b8 Avoid setting active target to ILaunchTarget.NULL_TARGET
Sometimes the active target would be set to a null "---" target when
switching between launch descriptors even though a valid non-null launch
target could be selected.  Added a check to syncActiveTarget() in order
to prevent this scenario from happening.

Change-Id: Ife75701e8753123e6b1c5202b7bda339c6bfafd4
Signed-off-by: Matthew Bastien <bastien.matthew@gmail.com>
2017-04-04 13:23:52 -04:00
Alexander Kurtakov
fd7e8fcde0 Do not add closed projects.
We can not have launch configuration on closed projects so better to not
add these projects at all. This prevents filling LaunchBar filling the
Error Log with "Project /NAME is closed."

Change-Id: I2f7d81e23aa4d76a1ba1894ae786b7b403124abf
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-02-22 15:54:08 +02:00
Alexander Kurtakov
231758acfc Update maven build machinery
* Tycho 0.26.0 -> 1.0.0
* Resources plugin 2.7 -> 3.0.2
* Findbugs 3.0.4 -> 3.0.4
* PMD 3.6 -> 3.7

Change-Id: I016f27f86aca14bfc8af74fe4cb6d05b23f586eb
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-02-14 10:59:34 +02:00
Doug Schaefer
98b34f15de Enable plug-in activation in the launch descriptor context.
Property testers for the launch descriptor type enablement aren't
getting called even if they are set to plug-in activation true. The
evaluation context needs to enable it as well.

Change-Id: I309af38e37870220fa6bf3eb2781c85d4f73e7ec
2017-02-09 11:54:29 -05:00
Matthew Bastien
313b437b36 NewLaunchConfig* notify listeners when table entries are selected
The NewLaunchConfig*Page classes don't notify their listeners when they
automatically select a type or mode with table.select().  This causes
the NewLaunchConfigEditPage to have a "null" type if the user doesn't
explicitly click on one and thus opens the default page.

Added in calls to table.notifyListeners() in order to fix this.

Verified that the launch config edit page opens appropriately even if
there is no explicit selection by the user

Change-Id: I5fbafd2f43d7c0951e929f5dcbfc57fcccd18db6
Signed-off-by: Matthew Bastien <bastien.matthew@gmail.com>
2017-02-03 10:13:03 -05:00
Doug Schaefer
3a921fdd83 Implement updateMessage for Launch Config Tab
Also cleans up the description for the dialog to make it more clear
it's editing a configuration.

Change-Id: Ic871582d56cb1253383adfced238cf5ecedb416e
2017-01-27 17:02:46 -05:00
Jesper Eskilson
573a55c8ba Bug 510892: Include the launch target's id in the overlay image id
Otherwise, launch targets with same type, but different ids, will get
the wrong icon, but only when the target status is != OK.

Change-Id: I97e5713bec16eb3a08cae3ffe58bc4fab51b04df
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2017-01-23 18:09:30 +01:00
Doug Schaefer
b57aa9d336 Add image to tabs for the config edit dialog.
Change-Id: Ibe5a0ddb91989de8015b8511bb960addf608d7c0
2016-12-05 15:21:36 -05:00
Doug Schaefer
1f75afd0c7 Put a border on the tab folder for the config edit dialog.
Change-Id: I07dbcf079a94f71c66669c0cc9578b98fbbc996d
2016-12-05 15:48:38 -04:00
Doug Schaefer
ecc24ace4d Fix descriptor name on edit config dialog.
Use the label provider if there is one.

Also externalizes strings for the dialog.

Change-Id: I3a1e5c7f2b2843cd014a033ee5859832f7e10f9e
2016-11-24 14:52:09 -05:00
Doug Schaefer
303bd3aaa7 Fix NPE on last descriptor delete. Refactor supportsTarget code.
Change-Id: I51ed0640a187428416e6d10785b0efc22af764be
2016-11-21 11:45:09 -05:00
Doug Schaefer
4bada0e6ab Preference to Always show Launch Target. Default is auto.
Default behavior is to only show the launch target selector when
the active launch descriptor supports multiple targets. Add a pref
to always show the launch target selector.

Change-Id: I2615ab605be8a6cb706baca7407b265f8b832cf1
2016-11-21 10:49:44 -05:00
Doug Schaefer
151a99ad35 Upversion launchbar feature to 2.1.
Change-Id: I8863d985b2f8ca7e459d56676177e6958f3eefda
2016-11-16 11:12:58 -05:00
Doug Schaefer
80c6a9694e Add method to ILaunchTarget to get all the attributes.
This is used by CDT, for example, to be able to map targets to
toolchains.

Change-Id: I98d7463d512299c43c405fd474bb8e128a81663f
2016-11-11 12:36:48 -05:00
Doug Schaefer
f5264933cf Implement the launch config dialog run method. e.g. needed by JUnit.
Change-Id: I4a6204248e26efc93cac2ce33b1367fbe072b05e
2016-11-03 13:31:12 -04:00
Doug Schaefer
6c4c3c9363 Fix NPE in launch control when no descriptors.
Also allows the enable preference to always disable.

Change-Id: I991e26eb312d8bf0c9e32a4ce37119d4c38481a4
2016-11-02 11:14:27 -04:00
Doug Schaefer
0aa31108c4 Make sure we apply when update buttons is called in new edit dialog.
Change-Id: I8a31af7d0700ac285ecaa30d2a884b45d439f46f
2016-10-17 13:54:07 -04:00
Doug Schaefer
d16fcb8d49 Changes to make the config dialog more specific to launch bar.
It no longer brings up the traditional launch configuration dialog.
Instead it has a new one that uses the tabs but without the other
stuff.

Change-Id: I89e2ac4e6a7575e0151c24632f26b5ee565a5449
2016-10-10 00:12:25 -04:00
Doug Schaefer
54b3fd4a5b Add source to the repo.
Change-Id: I1c40db04657448e940152224b974e878fa6f78e9
2016-09-02 15:01:12 -04:00
Doug Schaefer
1961357f1a Add source features and other general build fixes.
Change-Id: I3853dcdf0b37aeb528f5a6db78b354bce94b9eca
2016-09-02 14:49:55 -04:00
Doug Schaefer
c39d229f46 Allow setting of target attributes for remote targets.
This is used, for example, by ESP8266 to set the OS and ARCH attributes
on new launch targets created by the remote launch target provider.

Change-Id: If0e5f2c20debfa17dcab3608584b54638679bb63
2016-08-31 13:39:19 -04:00
Alexander Kurtakov
b43933ec2b Releng improvements.
Move to Neon final p2 repos and update Tycho to 0.26 which did the same.

Change-Id: I9342de800ce9e260d1baebed5253fa3ed17ff68c
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-08-23 23:20:36 +03:00
Doug Schaefer
40b483f43f 497437 - Fix composite icon for null target. Increment maint version.
Change-Id: Ie4fc47e30cdcab149fde828db6138ab7b16026a8
2016-07-11 14:44:42 -04:00
Doug Schaefer
ebecae3167 Bug 497437 - Fix issues with null target.
Avoid assert in enablement on null target. Fix order of initialization
of null target in ILaunchTarget interface.

Change-Id: I4c85433743bbb16c54514005b27e0414bb27c510
2016-07-11 14:15:36 -04:00
Doug Schaefer
62545585be Make sure we can terminate a launch before we do it.
DSF throws an exception when we try to terminate a launch that's
already terminated.

Change-Id: Ie836e1f3e182b009ba4649a27afda716e8876885
2016-06-03 16:30:26 -04:00
Doug Schaefer
c4d7ecfc60 Bug 494427 - fix NPE in launch active.
Change-Id: I97e150b2c457702208b714dd7870955dc9e70067
2016-05-24 10:55:34 -04:00
Alena Laskavaia
a91b8a801a launchbar: added tests, cleaned up API
added some tests for LaunchTarget
hide some API's for LaunchTarget
added some asserts to prevent misuse

Change-Id: I8b5b59ea8901133e79d03afe55e6c1fca2762bc1
2016-05-11 16:53:00 -04:00
Doug Schaefer
83f6bf8deb Refactor LaunchBar Control into it's own plug-in. Adjust APIs.
Added a whole bunch of APIs to the managers to enable this without
exposing internals to the control. Documentation will be added before
release.

Change-Id: I7a643eca3d48643e7a1202d83c7b4818722c54f0
2016-05-09 12:03:39 -04:00
Doug Schaefer
91be36a418 Bug 488348 - fix target remove.
Change-Id: I50d08fcfc46d723aa59fc6cc2f909de73f74d3de
2016-05-05 11:46:02 -04:00
Alexander Kurtakov
c6eca5a103 Update Maven machinery.
* Update Tycho to 0.25.
* Jarsigner plugin to 1.1.3.
* Resource plugin to 2.7.
* Antrun plugin to 1.8.
* Findbugs plugin to 3.0.3.
* PMD plugin to 3.6.


Change-Id: I6ac8b6dd7d70e856ba5a54387485363f881aaa03
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-05-05 12:49:22 +03:00
Doug Schaefer
1f95c6cd61 Allow rename of launch targets. Add property tester for target type.
Change-Id: I1e87f8012e4c5bcd11cf1fce62c8a0dcf1d25e1e
2016-04-23 21:28:12 -04:00
Vincent Guignot
3ad5cd3e42 Bug 491062: [Launchbar] Add preference to control Build button
https://bugs.eclipse.org/bugs/show_bug.cgi?id=491062

Signed-off-by: Vincent Guignot <vincent.guignot@ingenico.com>
Change-Id: I4de5a684b4d694db81c6cd782bdbc9c03b4a4747
2016-04-15 12:41:49 -04:00
Doug Schaefer
c3f9546a47 Fix removing of targets. Make sure we clear their attributes.
Change-Id: Ie2c6e4bd6168fae95db1680143d4c4cafc159369
2016-04-14 10:26:14 -04:00