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

120 commits

Author SHA1 Message Date
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
Doug Schaefer
77fda006a5 Add attributes to launch targets.
Follows the working copy pattern to ensure changes to the target
are transactional.

Change-Id: Iff4fda10bcebc80efa11bc15f75ad7df7d4f4bca
2016-04-13 20:09:24 -04:00
Jonathan Williams
9a170471ad Bug 491357 - Support Renamed Remote Connnections
Change-Id: Ibfb0399135561c35a16c26cdc07c6914198400e2
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
2016-04-11 11:04:34 -04:00
Doug Schaefer
0f76cd2171 Fix NPE on new workspace startup.
Call initTargets in getProvider().

Change-Id: I717428e92d85114c61026eb18ca61def6bbb973b
2016-04-04 11:22:46 -04:00
Rob Stryker
4a76061d66 Bug 489699 - ILaunchTargetProvider is not cached or stored after creation
Change-Id: I9c3cf19d5fe1dd6a41ec3c6a7d230028ee88501d
Signed-off-by: Rob Stryker <rob.stryker@jboss.com>
2016-03-15 19:11:16 -04:00
Doug Schaefer
93cdb07d8c Do a stop launch when doing a launch active. Remote fixes.
This is the first step towards cleaning up the actions.

Also make sure teh remote target provider only acts on remotes of the
type it's associated with.

Change-Id: Ifb2e39620e7d62b075c3d18dd338694071dc5720
2016-02-27 20:27:44 -05:00
Alena Laskavaia
4b42a1d050 Bug 457086" launchbar: proper support for launch groups
- unfortunately same mode is re-used for different launch group, which
have different images
- so we cannot cash icons by mode since it show wrong icon
- we also has to notify mode select that mode change event it is
"equals" so it can update launch group image
- also fixed resource leak for launch bar button

Change-Id: Iaa7b80d74963e4d0d1ccef5e6e4cd54a3ae5a4d4
2016-02-24 13:25:15 -05:00
Doug Schaefer
32bcbba8bb Change remote target to new strategy. Allows individual types to reg.
Remote connection type providers must also register as target types
if they want to show up in the launch bar. This change eliminates the
autoregistering we were doing and instead provides reusable classes
to handle the interface. Arduino does that coming up.

Change-Id: Iafb9305225f1ba3b97640bb3b15bfb671888a914
2016-02-22 21:54:15 -05:00
Doug Schaefer
302c601bac Enable double click selection in New Launch Config Wizard.
Also set the title on the edit page so we can tell what type we're
editing.

Change-Id: Ia526eae2cdb906e8ab115a3a74585db8b3c5de2c
2016-02-22 21:07:03 -05:00
Alena Laskavaia
d87141b0f9 launchbar: prevent widget is disposed exception
Change-Id: I5afe239ed7b594a2f7fb3be7bae4120d84c879b2
2016-02-18 12:16:18 -05:00
Doug Schaefer
68da3d3a38 Bug 487471 - 16 pixel button icons in 32x24 pixels space.
Brings back the switching since we're using the launch group icons
in the Launch button. The Build and Stop buttons are also made 16-bit
and should be familiar.

Warning clean-up in CSelector.

Change-Id: I05e4b912d0470eb3f533d462b402faa3002bddd2
2016-02-16 14:08:42 -05:00
Doug Schaefer
91369b4692 Bug 487471 - Improve look and feel of Launch Bar.
New icons that have transparent backgrounds and are 24 pixels square
and have hot image counterparts.

The Launch button now looks different enough to turn off the mode
specific icons for now.

Change-Id: Iaa8454ffde5e5c6660a5d0d144ae2af971a7b8c6
2016-02-08 15:33:06 -05:00
Alena Laskavaia
584728a7ae Bug 487386 - [LaunchBar] Launching default configs resets target to no
target

Change-Id: If0d9724fe5f23d633dc1f5ab4d46363e1c00d3cf
2016-02-08 11:16:30 -05:00
Alena Laskavaia
353fe40897 launchbar: fixed unsafe cast
- instead of doing method check and then casting without check, just do
a instance check which would gurantee the result and won't rely on that
method

Change-Id: I153f3113d15d6b145e41ee8c3d48cfe0a5c296d8
2016-02-04 13:02:58 -05:00
Doug Schaefer
2b940d6fea Check for null when getting launch config provider.
Change-Id: I60a8dae467885dea5685515b40a658f3328b3ec3
2016-02-01 14:08:19 -05:00
Alena Laskavaia
e39d6946cf launchbar: widget is disposed exceptions in tests
Change-Id: I1b921ffeeb931c19059a14825b3ebc4e26bd14d1
2016-02-01 11:20:18 -05:00
Alena Laskavaia
da4bfe781f launchbar: fixed compilation error with neon M5
NOTE: there is nasty fix in ViewerComparator that now requires
comparator to be working on strings, we don't use it this way this has
to be fixed at some point

Change-Id: I0199a830546cf1e9bad5c45bec67e17daf42d558
2016-02-01 10:34:58 -05:00
Alena Laskavaia
3a66908e57 launchbar: public API for launch bar listeners
Change-Id: Ic33a181f679708de2b78aa7a49bde1ab45578b39
2016-01-29 11:01:24 -05:00
Alena Laskavaia
3eb77d17f6 launchbar: track non launch bar launches
- when user runs something not from launch bar, launch bar won't updade
which creates unplesent gap in experience.
This fix makes launchbar track launches and update active
descriptor/mode/target depending on what was launched.

Change-Id: Ie70c6927997bba8ee06a393e767e02ccb4cf4cb7
2016-01-29 10:20:39 -05:00
Alena Laskavaia
ca538d05a5 launchar: launch target wizard fixes
- removed hack with overloading wizard classes
- added wizard contribution, so it can be bound to command or used
without launchbar
- removed hack with using category to identify launch target wizard
- added more comments in schema
- fixed hack when parsing wizard if they categorized

Change-Id: I791679ef30c395db10ec2528a6e2b90370e56a75
2016-01-26 09:47:48 -05:00
Alena Laskavaia
99da8cee74 launchar: action to invoke new launch target wizard
- new extension to contribute a wizard to launchTypeUI extension point
- copied bunch of wizards from platform ui since they cannot be extended

Change-Id: I45f2801fe04a24e7f8d2bbbd3f31ada1de4a1fc3
2016-01-25 16:51:44 -05:00
Doug Schaefer
92d08ca430 Bug 466489 - Filter out external tools builders.
Change-Id: Id14a01246c013fc47c76f693dc7f9d063f361163
2016-01-20 16:55:53 -05:00
Alena Laskavaia
f16f7a86c8 launchbar: launch button - mode overlay
- when mode select - change button to match mode, change tooltip to show
mode name
- also added errors settings

Change-Id: Id537e0fe65d8632dbd97183680d2bc1b3d635c86
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-19 15:11:40 -05:00
Rafael Peria de Sene
ab9ad3ffba launchbar: fix url to eclipse updates
Fix the wrong URL which was braking the build.

	- <url>http://download.eclipse.org/eclipse/updates/4.5milestones/</url>
	+ <url>http://download.eclipse.org/eclipse/updates/4.5/</url>

Change-Id: I647301fe72432df0a347f7541605eba41bb8baa0
Signed-off-by: Rafael Peria de Sene <rpsene@br.ibm.com>
2016-01-19 13:12:48 -02:00
Alena Laskavaia
7972418551 launchbar: open stanard eclipse launch configs dialog on edit
- when we click gear on launch descriptor we open a custom dialog,
there is no really need for it we can just open standard eclipse launch
configuration dialog and select configuration from the descriptor

Change-Id: I40f52baa5cc161a7281231600c29a4f5609733a5
2016-01-14 13:59:01 -05:00
Alena Laskavaia
cd852c72c5 launchbar: use LinkedHashMap to avoid random order
order of targets returned by target manager some-what important, use
linked hash maps everywhere to avoid randomness of hashmap

Change-Id: I670859854f10006c8591c3ebaa8f036d3127b5b8
2016-01-11 15:09:01 -05:00
Alena Laskavaia
cec2cbf4dc launchbar: more reasonable launch target defaults
- if new descriptor is created check first of current target is suitable
before calling getDefaultTarget
- change method getDefaultTarget to return last target from the list
rather then first, since list is kept in order of addition, meaning last
entry is the most recent

Change-Id: I0d9a7760cf52c7dff761f760f3fce05d9ca4c540
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-11 11:45:21 -05:00
Alena Laskavaia
e9db9389f2 launchbar: fixed widget is disposed exception
Change-Id: I8c39e7bc55e88b8b93f6d445b9b94face7f4d1f1
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-07 15:39:42 -05:00
Doug Schaefer
83ecb792db Bug 484993 - Add remote ui feature to the build.
Change-Id: I4c1e48fd8018c952d6f743c91b64022274c7e81a
2015-12-31 00:06:11 -05:00
Doug Schaefer
7a1e27eb12 Bug 484993 - Hook up label provider to remote launch target
Since we're using label providers to provide the name and image
for ILaunchTargets, we don't need the dual id, name in the launch
target. Switching to id instead of name tho.

Change-Id: I96071cfd40873494d4cf73f0e845d62bc46ea1cb
2015-12-30 21:59:47 -05:00