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

1062 commits

Author SHA1 Message Date
Sergey Prigogin
b91b69775f Bug 491825 - Remove uses of new Boolean and friends
Change-Id: Ie358c8385c278472f3b86851f6fc219007bb9b5c
2016-04-15 15:20:15 -04:00
Doug Schaefer
c29243b187 Revert "Bug 489563 - API change for Language Settings Providers."
This reverts the changes we've made for language settings providers
so that I can start again with a cleaner approach.

Change-Id: Icddd5a465a8f217594af5b07011a56bf1dfdf014
2016-03-22 10:32:31 -04:00
Doug Schaefer
5a5de4b1db Bug 489563 - API change for Language Settings Providers.
Use IBuildConfiguration instead of ICConfigurationDescription.
Add adapters to convert back and forth between these. Create
IBuildConfiguration objects when configuration descriptors are
created.

Clean up formating of the code involved.

Change-Id: Iec5ca132dddbf990f116f96b4680ef5f7318e28b
2016-03-20 23:10:46 -04:00
Alvaro Sanchez-Leon
e3a5acb761 minor fix, replace == for .equals
Change-Id: I26f949b64d1d5da0f410c76379d51f7edfcf9474
2016-03-18 11:44:52 -04:00
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
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
Alena Laskavaia
f57e0c8acf added description control on Build Variables page
Change-Id: Ib2f6b30bedb88e6ab2c886306171a5668ac1a415
2016-01-27 20:13:05 -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
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
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
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
Marc-Andre Laperle
e18311d2a2 Add missing buildModel tracing option
managedbuilder.core was already calling getDebugOption with this key
but it was not exposed in the launch configutation.

Change-Id: Ib9e983ea9240bf6d911b2e2b94fc5929d91bcea1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-22 15:24:47 -04:00
Alexander Kurtakov
9f03bd1ee2 Use *Scope INSTANCE fields.
Recommended way is to use e.g. InstanceScope.INSTANCE instead of new
InstanceScope() which is deprecated now.

Change-Id: I9fa8e53e180a480805bd0a57903e65b5c2de5f75
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-22 01:54:54 -04:00
Marc Khouzam
0cfb15135f Remove reference to java environment in build.properties
Change-Id: I053158a23d2783879248320a84a9549e28cfb4d1
2015-09-29 08:57:47 -04:00
Andrew Gvozdev
f635f6c7d8 Bug 470538 - Build selected File(s) should create error/warning marker
Change-Id: I0f37e3733299ab0e0db262a0194c9734b39eea94
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-08-14 07:42:26 -04:00
ocagdas
6ab4145c56 Bug 468417
The '.d' files that are generated by CDT, contain 'file_name.d:
file_name.cpp file_name.h' type of target prerequisite relations. 

However, to get benefit of the dependency mechanism, this should be
something like 'file_name.o: file_name.cpp file_name.h'.

Therefore, we need to change ''options[3] = "-MT\"$(@:%.o=%.d)\"";'' as
'options[3] = "-MT\"$(@)\"";'

Also update the test cases.

Change-Id: Iee829a8564e1b134905ee06a8a4b76a1e3b30ecc
Signed-off-by: ocagdas <ocagdas@yahoo.com>
2015-06-24 21:54:00 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Guy
07c9f4fbc3 Bug 421884 - Fixed invalid checking condition. Must be == rather than !=
Change-Id: Ib6321a4b5625fd3fbcb0b23d2174d008f967710d
Signed-off-by: Guy <guy.bonneau@videotron.ca>
2015-05-15 15:57:32 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Guy Bonneau
f3781679fa Bug 461628 Some tools within a toolchain can potentially generate an
output resource with the same name even if the input resource name to
the tool is not the same. This fix is to provide this capability to CDT


Change-Id: I9ad9d2ff0cc39797718f8b689c7a828e81f49648
Signed-off-by: Guy Bonneau <guy.bonneau@videotron.ca>

Bug 461628 Some tools within a toolchain can potentially generate an
output resource with the same name even if the input resource name to
the tool is not the same. This fix is to provide this capability to CDT"

Change-Id: I9ad9d2ff0cc39797718f8b689c7a828e81f49648
Signed-off-by: Guy Bonneau <guy.bonneau@videotron.ca>
2015-03-30 19:55:55 -04:00
Andrew Gvozdev
fe8b5e806d Bug 458370: NPE trying to build an existing project
Change-Id: I99cdc7d535a98633ae9d2ea8cca1d49dab1eca3d
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-03-18 21:09:09 -04:00
Nathan Ridge
ff5a55388c Bug 433171 - Handle line continuations when parsing build output
Change-Id: I9449e3167eae1464d23948da80663997adf95b16
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-11 14:33:06 -04:00
Christian Walther
3e7f1d284b Bug 355609 - Add -no-indexer argument to headless build
The indexer is mostly useless in a headless build and slows things down
- add an option to disable it.

Change-Id: I32560499923561acbcc0421ca77716232b18008a
Signed-off-by: Christian Walther <walther@indel.ch>
2015-02-21 22:11:11 -05:00
Piotr Aniola
13ed63ea3a Bug 423342 - MinGW builds fail with custom EFS
Signed-off-by: Piotr Aniola <piotr.aniola@pl.ibm.com>
Change-Id: I9aafac7355350d076a197159c8ba4f4d05812eeb
Reviewed-on: https://git.eclipse.org/r/19442
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-12 15:03:10 -05:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00
Sebastian Bauer
accfa032aa Bug 389536 - NPE in AdditionalInput for projects containing files with
custom build-steps.

Tools for custom build steps normally don't belong to a tool chain. We
assume now that the inputs don't need to be rebuilt rather than
provoking a NPE.

The actual fix is similiar to the patch added to the mentioned bug
originally been created by Piotr Aniola. It has been extended with a
test case demonstrating the problem (and the fix).

Change-Id: I5f17248cbe8e84779144bb5f1873c5b9456baa16
Signed-off-by: Sebastian Bauer <mail@sebastianbauer.info>
Reviewed-on: https://git.eclipse.org/r/38206
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-12-18 08:25:30 -05:00
mazab
597c1dbc69 Bug 436147. Changed the way of handling "Restore Defaults" to reset the
values to default values instead of removing the options.

Change-Id: I748206ab90aa07d161a437af0b6fc4e3d3a7161b
Signed-off-by: mazab <mohamed_azab@mentor.com>
Reviewed-on: https://git.eclipse.org/r/27519
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-05 10:19:57 -04:00
Sergey Prigogin
5cc7505a12 Cleanup of Messages.properties and Messages.java files.
Change-Id: Iea47d46a3ea201722fbe666a03c89dde7e5e4961
2014-08-04 11:15:40 -07:00
Sergey Prigogin
7880c684eb Slightly reduced clutter in the project's context menu.
Change-Id: I78b5a8b37ce297a9ceaf8ecf9cb94b8df014e61d
2014-07-30 19:07:38 -07:00
Sergey Prigogin
31f37f5b63 Proper enablement/disablement of Clean/Build Selected Files commands.
Change-Id: I6f56eeb111759ccf7a0bc8fbbfd57ffd8689bf01
2014-07-30 16:47:55 -07:00
Sergey Prigogin
d8154bd340 Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
Sergey Prigogin
7e686b6744 Relaxed type constraints. 2014-05-02 10:45:06 -07:00
brad
0a1d2637ac Bugfix : Bug 424919 - The toolchain name was wrong when create a new make file project
modified:   Configuration.java

Change-Id: I169dd9182eae66b31fca07c2abe42baecd350842
Signed-off-by: Brad Chiu <brad@andestech.com>
Reviewed-on: https://git.eclipse.org/r/24931
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-04-14 23:56:10 -04:00
Marc Khouzam
0ddab334f0 Missing NON-NLS strings
Change-Id: Ia177b5ded46b3d6292af3e41951165c9d26b57cc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:31:42 -04:00
Sergey Prigogin
5d7a19fa6c Enabled JDK 1.7.
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
1d166260a8 Bumped up CDT version to 8.4.
Change-Id: I1229344feaaed4a3551ceb7b1ef1410545048b55
Reviewed-on: https://git.eclipse.org/r/20908
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21 17:35:29 -05:00
Liviu Ionescu
6c8e4c45f4 Bug 322168: source files with specific settings disable secondary
outputs

Change-Id: I86caab2a842ef821606cf589c194b8deee91c5ec
Signed-off-by: Liviu Ionescu <ilg@livius.net>
Reviewed-on: https://git.eclipse.org/r/17735
Tested-by: Hudson CI
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-11-02 16:03:37 -04:00
Andrew Gvozdev
dcffc2cabf bug 416024: "null" is added to the ${workspace_loc} paths 2013-10-20 15:26:51 -04:00
Andrew Gvozdev
3426670477 bug 416024: ManagedBuildManager.locationToFullPath(str) moved to BuildEntryStorage 2013-10-20 15:26:32 -04:00
Liviu Ionescu
775dc3fc68 Bug 413678: trigger discovery after command line change
Change-Id: I543b95ba08c0f2a482799a6c37fe13759bc21550
Also-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Liviu Ionescu <ilg@livius.net>
2013-10-08 11:01:13 -04:00
Andrew Gvozdev
cc0bb2b375 bug 392416: Rebuild builtin GCC compiler settings when GCC version changes 2013-10-06 07:08:41 -04:00
Andrew Eidsness
a0a2059fdd Bug 416471: Support for extra ILanguageSettingsProviders in new projects
This change introduces three new ProcessRunners that can be used in the
New Project wizard's template.xml files.  These will be used by two new
Qt project wizards that I will introduce in a second patch.

The three new rules are:

1) "AddMakeTarget" which creates new Make Targets (in the Make Targets
view) for the new projects.

2) "SetEnvironmentVariable" which sets an environment variable in all of
the new project's build configurations.

3) "ExtraLanguageSettingsProvider" which modifies the new project's
build configurations to include a new ILanguageSettingsProvider.

The first two are straightforward, the third is a bit different.
Instead of creating a new Toolchain or Configuration it modifies the
Configurations that were created for the new project.  In this case the
only modification is to add the extra ILanguageSettingsProvider, but it
might be useful to extend this to other customizations as well.

Change-Id: I30710400e9b0dffcbe6e8965ce7ce2078c1c99ca
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/16817
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-10-01 20:59:40 -04:00
Liviu Ionescu
59efb5abcf Bug 417228. Escape filenames for secondary targets in
GnuMakefileGenerator.java. 

Change-Id: Ica4808ffce9642e455983905404d9c8303bb2cd8
Signed-off-by: Liviu Ionescu <ilg@livius.net>
Reviewed-on: https://git.eclipse.org/r/16433
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-09-18 17:29:13 -04:00
Andrew Gvozdev
b61d716173 bug 416786: added message in log to indicate invalid option type used in .cproject 2013-09-10 10:05:17 -04:00
Andrew Gvozdev
6856d55b68 bug 416628: "Export" of entries of language settings providers to referencing projects - added provider to do that 2013-09-08 08:09:33 -04:00
Andrew Eidsness
5dbcc8ec21 Bug 415789: NPE in ScannerConfigBuilder
An implementation of IEnvironmentVariable is returning null for its key
or value.  The javadoc on this interface doesn't mention null, which I
guess makes it a valid value.

This patch checks the result before trying to put it into an instance of
java.util.Properties.

Change-Id: Ic04ddd72dfb558ca403b549b64847c3437971407
Signed-off-by: Andrew Eidsness <andrewe@jfront.com>
Reviewed-on: https://git.eclipse.org/r/15820
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-08-28 17:23:23 -04:00
Andrew Gvozdev
652ce4748e Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
Andrew Gvozdev
614878662c bug 415841: more info to the log in case of exception 2013-08-27 11:23:52 -04:00