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

2762 commits

Author SHA1 Message Date
Sergey Prigogin
728fd554e4 Incremented version of org.eclipse.cdt.core to 6.0.
Change-Id: I059e7eba9eff7f24c84e08a1cbf658381aaaf19d
2016-02-17 10:28:26 -08:00
Marc Khouzam
2ad68f7f80 Update copyright dates
Change-Id: I94ac38c37657e270f62db9bbd2859c2c6de40e5f
2016-02-11 01:50:14 -05:00
Doug Schaefer
44599764f0 Support project scanner info in new build system for new class wiz.
The New Class Wizard asks scanner info for include paths for a project.
Need to decide whether that's a good thing or not but for now, add
support in the Qt config and GCC toolchain for it.

Change-Id: I5f037deb13db41fc0a083ea9fdc30ac1f61557e6
2016-02-09 16:40:46 -05:00
Doug Schaefer
b6dc71f442 Qt - cleanup build cases. Add method to GDBLaunch.
Clean up cases when Qt installs aren't registered for a given
config. Fix bug on first scanner info request in build config.
Clean up the Qt Run launch delegate in extension.

Also added a method to GDBLaunch to allow subclasses to override
what the default gdb path is.

Change-Id: Icf158633e1c1327cc87ce59c1605bb26258f8708
2016-02-08 14:05:06 -05:00
Marc-Andre Laperle
11e522d33d releng: Fix missing about.html
See https://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg12981.html

Change-Id: Ia285ef3a4c85961464432191389838d5a605f5cb
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-02-05 11:04:42 -05:00
Marc Khouzam
766f66c0ab Missing copyright header.
Copyright assigned to company of the committer
who did the first commit of the file.

Change-Id: Ia133694018c798f9558258810982f5276737a0b0
2016-02-01 12:47:41 -05:00
Guy Bonneau
8cfa1448ac Bug 461545 Add support of attribute isDisplayable to the Build Property
of a tool and implement the new interface method.

Change-Id: Iee645519c1bf9fbe144021bc81bd6cf7434c3e4b
Signed-off-by: Guy Bonneau <guy.bonneau@videotron.ca>
2016-02-01 09:51:05 -05:00
Doug Schaefer
326759fe8c Qt fixes for scanner info and launching.
Qt builds now clear the scanner info cache so that it reloads.
Also added Environment tab for Qt Local launch so that you can
override the environment. Supported for 'run'.

Change-Id: Id6a04a564587411b6a5846f00045f79f5696bfb8
2016-01-29 15:08:58 -05:00
Doug Schaefer
192bfff688 Bug 486509 - Add support for debugging local Qt apps.
We reuse GDBLaunch but need to override some settings that are
normally in the launch configuration. These things are calculated
at launch time.

Note there is also an added dependency to the launch bar core
to make GDBLaunch a targeted launch so we can set the target properly.
At some point we'll move this launch target stuff lower down, maybe
to the debug platform.

Change-Id: Ibbf6b794a9ecf25b79d46093cc624ea69dc04641
2016-01-28 11:05:34 -05:00
Doug Schaefer
99426ce65a Missing OSGI-INF in build.ui build.properties file.
Change-Id: I40d92121baa81d81300ff2e102154cf3a9a8d467
2016-01-28 10:12:20 -05:00
Alena Laskavaia
f57e0c8acf added description control on Build Variables page
Change-Id: Ib2f6b30bedb88e6ab2c886306171a5668ac1a415
2016-01-27 20:13:05 -05:00
Jeff Johnston
9066b061f3 Fix Autotools to remove use of Wizard classes that are being removed
- remove NewProjectWizards
- fix AutotoolsBuildWizardHandler to remove warning

Change-Id: I3dfcf9d09477c267ea4a770dcf77c0f29d652e38
2016-01-20 12:33:24 -05:00
Doug Schaefer
cba0b62a96 Make a couple of more things common. Clean up scanner info.
Make the build folder common for build configs. Makes things
consistent.

Also make it clear that we are caching scanner info with the
names of the API calls.

Change-Id: I1da0d90b3358065e28e437d0dfeea730e13c9aef
2016-01-20 10:30:25 -05:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Doug Schaefer
c3bfd4daee Fix up launch bar setting for cmake.
Change-Id: I0000000000000000000000000000000000000000
2016-01-16 22:53:47 -05:00
Alena Laskavaia
3763208ee8 project specific error settings for cdt.build.core
- and fix NPE (comment out code which seems to be incomplete)

Change-Id: Ided5116fcbda959c68c96b5f8630284f93b76dbf
2016-01-05 19:49:47 -05:00
Andrew Gvozdev
79f4bf7d1a Bug 485028: Toggle Comments for Makefile Editor
Change-Id: I40b6daca54aa17022971df0749d1c4d7708a6564
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2016-01-05 09:06:03 -05:00
Marc-Andre Laperle
e6a4fe47b3 Bug 463723 - GCC output parser cannot parse macro with a combination of
quotes and escapes

Change-Id: I7b07d3e2cc706f5e7839189bd2968f69c5cad28c
2016-01-04 11:45:31 -05:00
Marc Khouzam
f3ff649041 Fix copyright of all CDT plugins using the copyright tool from platform.
This commit does not add missing copyrights, just updates the date on
the existing ones.

Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -05:00
Andrew Gvozdev
2a4cb495b5 Fixed some warnings
Change-Id: Icb6f7ba6151b55296c3f8137552a10fd7872b317
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-12-30 21:52:19 -05:00
Doug Schaefer
73805d2ea4 Bug 484994 - Migrate Mars Arduino support to Neon.
This brings the master branch up to date with everything we've done
in the 8.8 branch. Adjusts for the new ILaunchTarget and targeted
launch delegate.

Also has a start at making more things common in the new build system.
With three extenders of it now in CDT, i.e. Qt, CMake, and Arduino,
it's obvious we can make things more common and make new extenders
less work.

Also undoes some of the work I've done to get Arduino onto the new
build system. Will need to redo it as we do the new common stuff.

Change-Id: I51ce768e0fc60e29c16b05567bd9802d64e33779
2015-12-30 20:12:30 -05:00
Marc-Andre Laperle
c29c9bc057 Bug 382746 - Adding C/C++ nature for C Project impossible
This patch modifies the wizard so that the C projects also show in the
list of projects.
- If a given C project is selected and the C nature is selected, the
project is not modified.
- If a given C project is selected and the C++ nature is selected, the
C++ nature is added and project type and toolchain selection have no
effect because it is assumed that the project type and toolchain had
already been setup before hand.
- Old-style projects (CDT 3.0) are not converted anymore.
Unchanged behavior:
- C++ projects never show in the list of projects. Removing nature is
(still) unsupported.
- Non-CDT project behave as they use to.

Change-Id: Ie6282c11d90c42d21ecad2996ab49ebd64c38ece
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-28 13:43:42 -05:00
Marc-Andre Laperle
1c258538de Remore unused New New Wizard
This code is not used and hasn't been touched since 2012.
Now it can be referred as the "old new new wizard".

Change-Id: Iccc60651a8233a5ef5b138dfcc334cfcf926d109
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-28 13:20:43 -05:00
Alexander Kurtakov
07488984d9 autotools: Tests improvements.
* assertNotNull instead of assertTrue(var != null)
* better types for swtbot api to prevent useless casts after that
* LanguageSettingsManager.getLanguages instead of deprecated api
* assertFalse instead of assertTrue(!var)


Change-Id: Icdde01f10617b6ec51938bc1998a690cfe7ff1d4
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-18 09:06:26 -05:00
Alexander Kurtakov
76f53cecce autotools: Add api filters for implementing make bundles interfaces.
Change-Id: Id8cffb0df983e6e5e2a752aac0aea5b66cf4bee2
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-18 08:12:08 -05:00
Alexander Kurtakov
4f9dbedc0a autotools: Cosmetics
Try-with-resources for ErrorParserManager.

Change-Id: I5c36d3d68545cb50fcd416caefdc878212b57a88
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-18 13:21:25 +02:00
Alexander Kurtakov
e11035409f autotools: Creating default config doesn't need project.
AutotoolsConfigurationManager.createDefaultConfiguration doesn't need
the project as parameter, that's why it's default one :).

Change-Id: I55f39edf5867f874e38524042572329bc7e34f66
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-18 13:03:25 +02:00
Alexander Kurtakov
f616c9e74e autotools: Move tests using UI components to ui tests.
Change-Id: Ia23389578520c8e21223eb1f9d8e2291a453caf4
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-15 00:09:11 -05:00
John Dallaway
e62e2772fe Bug 366039: Internal Builder reduced build step input resource count
Change-Id: I7c7c8ba5d1bf7b96bbef66449ea6470f3c266f98
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2015-12-14 10:30:43 -05:00
Alexander Kurtakov
8a834d5970 Cleanups.
Remove useless:
* casts.
* suppress warnings unchecked.
* @see comments 

Change-Id: I4713e9ddf90195cf1e465b3743f5f0bc7e41d338
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-14 11:06:00 +02:00
Alexander Kurtakov
34281a96e0 autotools: Additional generification.
Properly generify now that o.e.text is generified. This alows removing a
number of suppressed warnings. In a few places it is better to use
wildcard than suppressing warnings.
Also remove DefaultNoDependencyCalculator as it was suppressing warnings
but better to remove directly as it's not use anywhere.

Change-Id: I70c4ac073ce5b6c2a45443372037fa61b7c36c76
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-14 08:49:09 +02:00
Alexander Kurtakov
81ff40486e autotools: Revive sorting action in automake/conf editor.
Remove the sorting action from the MakefileContentOutlinePage because
the action was changed in a way to be addable in init method instead of
deprecated setActionBars. 
Hooked it properly in AutomakefileContentOutlinePage.
Bonus point - hooked into AutoconfContentOutlinePage as it was just too
easy to get it there too.

Change-Id: I873864f3978ae7cb1d8aa4143edf604244c0a4bc
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-08 21:04:15 +02:00
Doug Schaefer
6ba6157708 Bug 481126 - Add hyperlink support to open decl in QML editor.
Also moved the text package contents to the editor package.

Change-Id: I352f8cfa78e937fb4046f86df8c7767df6c5eff2
2015-12-08 11:27:15 -05:00
Alexander Kurtakov
48f520d54c autotools: Make automake editor use make.[core|ui] interfaces.
Duplicating this interfaces just creates confusion due to interfaces in
autotools were copied from make bundles but staled in the years.
Implementation is kept as it is but at least the door is open for some
interoperability. 

Change-Id: I1eb4a7c7dc7511aa6cb15ec0716d0bae8a64389c
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-08 10:38:34 -05:00
Alexander Kurtakov
422b68793d Revert "Revert "autotools: Make tests fragments.""
This reverts commit c41d0e50f3.

Change-Id: I22ed3b63530107e442b6bf16f2cbbb67f018ac15
2015-12-08 02:23:55 -05:00
Alexander Kurtakov
06208afa79 autotools: Convert the last JUnit 3.x style test.
And hook it in the test suite.

Change-Id: I4a9b533ff3122e667dbad65655189afcca8dc28e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-05 01:29:57 -05:00
Doug Schaefer
6f36a51b5b Bug 174176 - initial contrib of CMake support.
Change-Id: I7f0417bd92415aa9abb24ebabe849d9e4f75cea5
2015-12-04 20:30:44 -05:00
Alexander Kurtakov
c41d0e50f3 Revert "autotools: Make tests fragments."
This reverts commit 375b162ea2.

Change-Id: I3638f4baebd0b7975da77f95af8c436bec9d9af2
2015-12-04 03:23:03 -05:00
Alexander Kurtakov
2df732fe9a autotools: Custom pde.prefs for autotools.ui.tests.
Main reason is to ignore warning about not exported packages which
doesn't make sense for tests bundles at all.

Change-Id: I99ceeb8e7b5c363e89c697655e7782c7c929405f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-03 12:35:51 +02:00
Alexander Kurtakov
77c5c4d13f autotools: Doc bundle shouldn't be Java project.
This removes all kind of warnings regarding BREE and etc.

Change-Id: I62851092e22b135dc2e921a61281f3f2fc0346e7
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-03 12:31:57 +02:00
Alexander Kurtakov
425a843061 autotools: Saner handlers.
Old IActions were just wrapped in handlers which created insane amount
of interactions. This is one idea better by moving the implementations
in the handlers themselves.

Change-Id: Ieb7fc465c8a23af09cb6a3d809f157289c65d2ae
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-03 04:25:45 -05:00
Alexander Kurtakov
e01d886f1e autotools: Bin dead code in property pages.
Removing unused code, making methods private to make it obvious when no
longer used (uncovered few cases), delete commented code and remove
methods that were simply one line invoking some method as they don't
create anything more but pollution.

Change-Id: I9aa0feedaedeb6509fe27772b1015ec953efa9e8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-03 10:35:51 +02:00
Alexander Kurtakov
375b162ea2 autotools: Make tests fragments.
This allows direct access to everything in the bundles and doesn't
require exporting the packages.
Update test to directly call methods.

Change-Id: I58ecdb68ba5058caf6c7baaa3ff22eb539d296cd
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-02 14:03:13 +02:00
Alexander Kurtakov
e061d97881 autotools: Sanitize activators.
Reduce coupling by changing UI bundle to use UI activator and drop UI
getters (e.g. workbench, window, shell) from the core bundle.
Also remove other unused methods.

Change-Id: Ida510d5a0e991c08332a998aefaba5843743172a
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-02 04:59:32 -05:00
Alexander Kurtakov
7f30fb8efa cosmetics: Autotools core bundle cleanups.
Various improvements:
* Remove useless comments
* Remove unused methods
* Use String.isEmpty
* Multi-catch


Change-Id: I5d4e6ca5d4bcc925aad4db5c47f82d5d51d24522
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-01 08:08:05 -05:00
Alexander Kurtakov
ca3aa5de95 autotools: Cosmetics.
Various small readability improvements in autotools.ui bundle:
* Remove useless comments
* Remove methods merely calling super().
* Use SelectionAdapter when only one method of SelectionListener
implemented
* Multi-catch exceptions
* Specialize return types to reduce casting after that
* Remove commented code
* Remove unused methods
* Use String.isEmpty



Change-Id: Iacda4094ee8b3bf80e1509cc3b39f55b6fcb96c9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-01 13:09:03 +02:00
Marc-Andre Laperle
5656acd253 Bug 481971 - Detect cc compiler in the build output parser
Change-Id: If667583eb3f720aa9ad7907af4673da8437d15d7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-26 09:01:33 -05:00
Doug Schaefer
e3496e1246 Bug 481978 - Big overhaul of new build system to work with Qt.
Moved new build system to it's own plug-ins. Cleaned up the root
build configuration and toolchain classes and use them for Qt local
run builds. Also hooks Qt local run launch delegate to launch target
manager and associated delegate interface.

Change-Id: I0c0f711ee53005edd399f6d24ba96658d606e1e5
2015-11-24 22:11:33 -05:00
Alexander Kurtakov
ef76cdac14 Use varargs MessageFormat.format method.
Removes few warnings from codebase.

Change-Id: I432bda487b7eed9adfdbe10086776a54fd37b7b8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-21 03:05:38 -05:00
Alexander Kurtakov
ba862975c1 autotools: Fix dialogs run from Actions to have proper parent.
Creating new Shell as parent of every dialog is waste of resources,
complicates window management and have negative effects in terms of
positioning and stacking of dialogs.
While at it remove dead/unused code from these classes.

Change-Id: I62f9a6430f230e18e5b2f949afe97b46fb9e4ac1
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-21 00:43:00 -05:00