1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-12 03:25:22 +02:00
Commit graph

179 commits

Author SHA1 Message Date
William Riley
fe09ae9bae [releng] Bump version to 2.2.3
Change-Id: I5cccc2d9ef78915803a4029f75717d972fb5973e
2019-02-04 06:19:55 -05:00
Alexander Kurtakov
46b125139a Fix compile when using Java 11
Tycho 1.4.0-SNAPSHOT is needed due to a fix in tycho for Java 11
compatibility.

Change-Id: I3db48b8396b54c8fd8b6b5afd69730809d2ef761
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-24 13:24:02 +02:00
Alexander Kurtakov
04ad3ec06f Do not use internal E4Workbench class.
Rather fetch the context from the factory.

Change-Id: I12e1b94d070feeebcee9298f544ab2fc9c5cb3ec
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-24 13:03:09 +02:00
Alexander Kurtakov
bb02738761 Switch to spotbugs instead of findbugs.
It's the comunity project now.

Change-Id: I8597b05f7f1f0e16bd34d0d115fe735c19ede5fa
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-24 12:26:56 +02:00
Alexander Kurtakov
a0cc4a4128 Run ui tests with pde.feature instead of sdk.feature.
Prevents downloading all the *source bundles which are not really
needed.

Change-Id: I91690309b5deb9a48273743406a03ad842a32a29
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-24 12:13:25 +02:00
Alexander Kurtakov
32b3dc7d94 Update tycho pomless to 1.3.0.
Change-Id: Ia3e73c4c57ad6af91d874944692f29297334e1e0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-24 12:12:19 +02:00
Alexander Kurtakov
e795c3441d Remove unneeded empty plugin.xml file.
Change-Id: Id958a97ab5fe51433907bed539ee2037c308ec89
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-21 21:13:27 +02:00
Alexander Kurtakov
041a7a6560 Lambda conversions.
Change-Id: I500febcaad04a654ece7cc4cc6d918a7f3a9f05a
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-21 21:08:16 +02:00
Alexander Kurtakov
861a8430ed Add missing automatic-module-name.
Change-Id: Ic81274c97b26df1299b9d806a9f326441a0fab24
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-21 20:48:02 +02:00
Alexander Kurtakov
e4f9a90fb9 Remove unneeded nls suppress warnings.
Change-Id: Ic23ff80620cc2a012bbcf77f395e803f019e1bed
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-21 20:42:54 +02:00
Alexander Kurtakov
43f040db9e Modernize o.e.launchbar.core.tests
* Bump BREE to Java 1.8.
* More warnings and fixes for them.
* Deprecation fixes.

Change-Id: I632ff2954021f1c2ff9a443b23f95985fb8040ee
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-21 20:37:13 +02:00
Alexander Kurtakov
f617a5f6fe Build against 2018-12 stream.
Change-Id: I02ce424eaeb0ed95b0a42c1792b8d90845a45b35
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-21 20:22:32 +02:00
Alexander Kurtakov
3bae6cbcd9 Update Maven plugins.
Tycho to 1.3.0
PMD to 3.11

Change-Id: I6d82ad8d72d6c003b440f474eed66273221655be
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-21 20:08:42 +02:00
Alexander Kurtakov
5c6c2c6380 Add autmatic-module-name for Java 9+ compatibility.
Change-Id: Id5ecc850d6e3ca8a70cdf33905d446a382061118
2018-11-07 15:40:47 +02:00
Alexander Kurtakov
453055e0ed Update Maven build plugins
jarsigner - 1.1.4 -> 1.1.5
resources - 3.0.2 -> 3.1.0
findbugs - 3.0.4 -> 3.0.5
pmd - 3.7 -> 3.10.0

Change-Id: I8fd5d6639a46d86e5452e85dcdce1635016207a3
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-11-07 15:22:33 +02:00
Alexander Kurtakov
df0fc91d7f Launchbar not visible on Java 11
o.e.launchbar.ui.controls uses annotations and thus imports
javax.annotations package. This package is removed in Java 11 and
equinox doesn't put javax.annotation bundle on the classpath resulting
in launchbar not functioning at all.
The fix is to Import-Package: javax.annotation like eclipse platform
bundles do and letting equinox resolve it either from the jvm or the
bundle shipped with platform.

Change-Id: Id5702919b233b3fea424fa2f1db15505eee8ecb7
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-11-07 15:07:33 +02:00
Umair Sair
c1e3974e1b Bug 538942 - Moving backward and forward in "Create Launch
Configuration" dialog of launchbar causes NPEs

Change-Id: Ibd11b43d4348abfa74509ce715c8d5e741f1582f
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2018-09-12 00:00:29 +05:00
Jonah Graham
2ab45c194e [releng] Bump version to 2.2.2
Change-Id: I9a8c59dcef2bac369f183b301d995d4deb0bf023
2018-07-23 21:02:35 +01:00
Jonah Graham
44cf2dac1c [releng] Bump version to 2.2.1
And bump bundle patch versions too

Change-Id: I006948f6a39c798cf5603583d115ebfab1e6c368
2018-07-23 20:00:49 +01:00
Jonah Graham
2982dc100f [releng] Set name of repo to be consitent with naming in CDT and tools.templates
This makes handling of releng easier across projects.

Change-Id: I91f532e95ec45dad4cf758f2226e51e53a797ffb
2018-07-23 20:00:49 +01:00
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