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

1022 commits

Author SHA1 Message Date
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
Fabrizio Iannetti
9a654efbe3 NEW - bug 394959: CDT GCC build output parser does not understand
-isystem 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394959

Simple patch to treat -isystem as -I, so that at least the paths show
up in the configuration:

- added two include parse options (copied/adapted from -I)
- added junit test case (copied/adapted from -I)


Change-Id: Ib3f3764ad75def49f6ec180bfecc0d6f42eabb1d
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@intel.com>
Reviewed-on: https://git.eclipse.org/r/15584
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-19 09:43:09 -04:00
Andrew Gvozdev
2e2a26bf4a Properties spelling 2013-08-16 16:29:43 -04:00
Chris Recoskie
a8a89155df Bug 413603 - TVT43: The string "CDT GCC Bultin Compiler Settings Cygwin"
is not externalized
2013-08-15 14:05:55 -04:00
Andrew Gvozdev
4f33e5d299 bug 404913: @since tags 2013-07-25 21:03:51 -04:00
Andrew Gvozdev
e84409b1f0 bug 404913: Dialect category and options for language standards for GCC toolchain 2013-07-24 14:50:45 -04:00
Andrew Gvozdev
12c5f12990 bug 404913: Built-In Settings Provider should recognize extra gcc
parameters from build settings
2013-07-24 14:05:13 -04:00
Andrew Gvozdev
af57f95d75 bug 404913: Flag to designate build options to be also used by scanner discovery. 2013-07-24 14:05:03 -04:00
Andrew Gvozdev
fd53d6c37c Bug 388484: Cosmetics 2013-07-18 03:22:29 -04:00
Andrew Gvozdev
3b02e44d30 Bug 412932: GCC Builtin Compiler Settings always shows wrench overlay 2013-07-15 00:03:27 -04:00
Andrew Gvozdev
4ce1de86ae bug 412897: CDT GCC build output parser does not understand -imacros 2013-07-13 09:28:21 -04:00
Andrew Gvozdev
2596bb1aa7 Bug 404912: Built-In Settings Provider ignores compiler command from build Settings 2013-07-13 00:24:19 -04:00
Andrew Gvozdev
8134c7e1cd Fixed NPE in ToolchainBuiltinSpecsDetector for an edge case when no tool is defined in a toolchain. 2013-07-12 12:01:48 -04:00
Andrew Gvozdev
1d28b9bce9 Bug 398353: Environment variables not evaluated in CDT GCC Builtin Compiler Settings 2013-06-29 10:58:09 -04:00
Andrew Gvozdev
07341495e4 bug 407502: NPE when I open Make Target View 2013-06-20 17:40:00 -04:00
Andrew Gvozdev
4ead47e948 bug 409651: MinGW language settings provider provides duplicate include paths 2013-06-01 07:36:02 -04:00
Andrew Gvozdev
b18bf27bb4 bug 402023: When persisting discovered include paths, project-relative paths should not embed the project name 2013-05-20 15:21:57 -04:00
Andrew Gvozdev
f2af5d39a9 bug 402023: tidy up 2013-05-20 14:53:17 -04:00
Andrew Gvozdev
2d5584fe98 bug 402023: Provide programmatic access for names of CdtMacroSupplier variables ($ProjName, $ConfigName etc.) 2013-05-20 14:48:22 -04:00
bbelyavsky
329251bdc0 Bug 405643 - [performance] HoldsOptions performance improvements
Change-Id: I10bc345821ad5d44a035a7dd46ac5837a0e5bbdb
Reviewed-on: https://git.eclipse.org/r/11936
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-05-17 14:21:03 -04:00
Andrew Gvozdev
385f1c6c9d bug 407696: Include paths remain uninitialized and code does not compile when creating new C or C++ projects 2013-05-13 18:14:00 -04:00
Baltasar Belyavsky
07a2979c7d Bug 405744 - [performance] PropertyManager causes many unnecessary
file-writes into workspace metadata
2013-05-11 07:21:35 -04:00
Andrew Gvozdev
c2ba71b046 bug 407781: Under some conditions builtin specs detector could keep running in infinite loop 2013-05-10 17:41:02 -04:00
Marc-Andre Laperle
2499ca8760 Remove unsupported tags on classes with default visibility (for 4.3) 2013-05-06 10:36:30 -04:00
Andrew Gvozdev
f2bd5750b5 bug 403405: Change default of isLanguageSettingsProvidersFunctionalityEnabled() to be true if the preference is not defined 2013-04-29 16:19:46 -04:00
Andrew Gvozdev
9002a13eb1 bug 401961: Use more general CConfigurationDataProvider facilities to initialize language settings providers rather than do it in each New Project Wizard 2013-04-23 18:07:54 -04:00
Andrew Gvozdev
a6f057199a Cosmetics/JavaDoc. 2013-04-23 18:07:28 -04:00
Jeff Johnston
53f251ec84 Bug 405904 - Gprof linker options not activated until 2nd build
- Add a check after calling applicability calculator to see if the
  option passed in isElementExtension() in which case look for it's
  id as if it is a superclass id.

Change-Id: Id9fb007a138dfc4fc056c465bbb1842bba4fe4ba
Reviewed-on: https://git.eclipse.org/r/11991
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2013-04-23 17:11:19 -04:00
Andrew Gvozdev
ea2bbceb0e bug 405102: JUnit: Intermittent failure managedbuilder.core.tests.BuildSystem40Tests.test40_pathconverter() 2013-04-07 06:38:40 -04:00
Andrew Gvozdev
32fc5f5d3f Cleanup, avoid creating unnecessary copies of strings 2013-04-07 06:35:27 -04:00
Andrew Gvozdev
ae409bedd6 bug 402412: IllegalArgumentException during build of Makefile Project 2013-03-29 17:42:27 -04:00
Andrew Gvozdev
a7acc2b250 bug 404125: Build output parser incorrectly handles compile lines compiling files outside of the workspace 2013-03-29 15:43:44 -04:00
Andrew Gvozdev
4f3ad71e87 bug 404125: Build output parser incorrectly handles compile lines compiling files outside of the workspace 2013-03-24 08:10:42 -04:00
Andrew Eidsness
178b505535 Bug 403670: Do no work on parallel rebuilds if nothing changed
This fixes the parallel build case (for the InternalBuilder) to update
the configuration build state on successful builds.  Because parallel
builds follow a different code path than the non-parallel case, updating
the state was misssed.

Change-Id: Idab10c39c3093a731fe6961b451d0fdb5975f240
Reviewed-on: https://git.eclipse.org/r/11286
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2013-03-21 15:50:50 -04:00
Andrew Gvozdev
527d60717b bug 403406: Changes in environment variables should trigger re-discovery of Built-in Compiler Settings 2013-03-16 08:08:27 -04:00
Andrew Gvozdev
62eeab5ef6 bug 382423: Add Builtin Compiler Settings LSP provider for Cygwin toolchain 2013-03-13 13:59:02 -04:00
Andrew Gvozdev
aed09ee4b8 bug 357442: A bit more of tidy EnvironmentVariableManagerToolChain 2013-03-11 12:29:22 -04:00
Andrew Gvozdev
180b192054 bug 357442: Tidy EnvironmentVariableManagerToolChain 2013-03-10 07:46:12 -04:00
Andrew Gvozdev
e4966b7c0c bug 401116: Built-in compiler settings cannot be scanner-discovered prior to a build by non-shared language settings providers 2013-02-18 14:20:30 -05:00
Andrew Gvozdev
d960fff7dd bug 357442: Added $CYGWIN_HOME to cygwin toolchain detection algorithm 2013-02-01 09:52:26 -05:00
Andrew Gvozdev
0bd7133168 Revert "Revert "Bug 398550. An attempt to make MBSLanguageSettingsProvider.getSettingEntries method faster.""
This reverts commit b8d75b789e.
2013-01-19 06:46:22 -05:00