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

159 commits

Author SHA1 Message Date
Jonah Graham
1a1cbf62b8 [releng] Update to Photon (4.8) as target platform
Includes upgrading Tycho version

Change-Id: I773b64a839580bb755413ef8eede4e831f4d0f8a
2018-07-23 20:00:49 +01:00
Jeff Johnston
a62d2ae89b Bug 536889 - Launchbar needs to replace slashes for launch target names
- fix LaunchTargetManager addLaunchTarget to change any
  slashes in the target name to semi-colons when forming the
  preference node name to use
- fix LaunchTargetManager initTargets method to restore slashes
  when reading the targets from preference nodes
- fix LaunchTargetManager removeLaunchTarget to change any
  slashes in the target name to semi-colons when removing
  a preference node corresponding to the launch target id

Signed-off-by: Jeff Johnston <jjohnstn@redhat.com>
2018-07-10 22:08:40 -04:00
Alexander Kurtakov
2801712233 Build against CDT 9.4 and Oxygen everywhere.
Change-Id: I419f7a353e0d6fc1e0e0b2d8d16c24886f5d38ee
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08 20:52:20 +02:00
Alexander Kurtakov
f92ccfca72 Set Maven prereq to 3.3.1 for CBI 1.1.4.
Change-Id: I147ffc8b840698774ea8c1243c7e0ca923b1f74e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08 20:45:59 +02:00
Alexander Kurtakov
a3a3855026 Build with Tycho 1.1 and CBI 1.1.4
Tycho 1.1.0 is a prereq for building against Photon.

Change-Id: I2854741cf5e5763b9481399de4adb6c6eb4316b7
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-08 18:04:47 +02:00
Mat Booth
b56b76df66 Bug 529762 - [launchbar] "widget is disposed" sometimes at startup
Additional isDisposed checks added to prevent unhandled event loop
exceptions at platform startup on new workspaces.

Change-Id: Ib2e33def766c23719e483496d110644a2cd8a712
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2018-01-17 11:41:41 +00:00
Doug Schaefer
494fbe48cb Fix class cast exception when going to wizard second time.
When going to a wizard, but hitting back, we reuse the wizard
object when we hit next again. The cast was incorrect for that
object.

Change-Id: I1210f17d57d26b76a47eaedd0f92bb9c63496bf8
2017-11-16 14:56:08 -05:00
Doug Schaefer
eb93740aba Set title and description for new target wizard selection page.
Change-Id: I15ade69533ef0227864c0723678d9df672db39c4
2017-11-16 13:55:44 -05:00
Doug Schaefer
9419e2213f Fix up the version for the remote feature.
Change-Id: Id1e3e59ade989bc1b7dfcb1c98df116eb9ef2b1b
2017-11-14 12:22:03 -05:00
Doug Schaefer
8227915473 Add SWTBot tests including one to test creating launch configs.
Change-Id: Ia5032df7094be215ebefd9c2fb7caa35a9cb7f43
2017-10-14 15:45:06 -04:00
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