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

45 commits

Author SHA1 Message Date
Leo Treggiari
d711b21f43 Add translatable attribute patch 2006-01-02 01:31:07 +00:00
Mikhail Sennikovsky
512462b093 Additional option enablement functionality and tests
Additional value handler functionality
2005-12-12 18:10:39 +00:00
Leo Treggiari
f024ed0dea Apply patch for Option, tooltip support (bugzilla 113363) 2005-11-19 20:30:18 +00:00
Leo Treggiari
0b03dd0034 Add conversion support to projects 2005-11-17 14:42:07 +00:00
Mikhail Sennikovsky
403a805175 The initial check-in for the option enablement expressions 2005-11-17 14:16:58 +00:00
Leo Treggiari
1a7b1617d4 Update documentation to match the 3.0.1 version 2005-10-14 19:41:23 +00:00
Chris Recoskie
de026bcfe6 crecoskie Oct 14, 2005
- Adding macro support to buildDefinitions markup.  See Bugzilla 111203
2005-10-14 13:29:04 +00:00
Leo Treggiari
5929ae3d9a Update descriptions - no functional changes 2005-09-28 23:22:53 +00:00
Leo Treggiari
397635f067 Add support for InputType, assignToOption attribute 2005-09-27 23:34:12 +00:00
Leo Treggiari
a750708290 Fix documentation with commandLinePattern 2005-08-12 21:26:02 +00:00
Leo Treggiari
c63d1a13eb Fix documentation for osList and archList 2005-08-12 15:58:34 +00:00
Mikhail Sennikovsky
46044323e3 Checked in the copyright fixes for the schema files 2005-06-24 10:34:53 +00:00
Mikhail Sennikovsky
d0824d23fd Checked in the patch from Andrew Ferguson that contains some corrections for the buildDefinitions schema, and added some more schema corrections. 2005-06-15 15:57:08 +00:00
Leo Treggiari
9779911ecc Update some doc comments 2005-06-10 18:09:48 +00:00
Leo Treggiari
92e840899d Apply patch from Sunil Davasam for multi-version and converter support 2005-06-10 15:22:01 +00:00
Leo Treggiari
1eb10a46a0 Apply Bill Hilliard's patch for adding resource specific custom build steps 2005-06-08 15:00:35 +00:00
Leo Treggiari
0119b87695 Apply Symbian (Lars & Bala) patch for Shared Tool Options support 2005-06-06 15:52:19 +00:00
Leo Treggiari
107015f427 Add IOptionApplicability callback
Add more multi-version tool-chain support
Fix some cases for using relative paths in makefile generation
2005-05-26 21:17:34 +00:00
Mikhail Sennikovsky
beeb963403 Initial check-in for the build macros support 2005-05-19 16:26:43 +00:00
Leo Treggiari
5bde16a1f9 Second set of changes for multiple input & output
Gnu definitions are updated to use new schema elements
2005-05-09 03:37:42 +00:00
Leo Treggiari
b1de8f55f5 Initial check-in for the build environment variable support 2005-04-28 16:55:15 +00:00
Leo Treggiari
1c7f6f77c0 Initial check-in for multiple input & output design 2005-04-21 02:05:04 +00:00
Leo Treggiari
ec7b7d4076 Apply patches:
1.  Bob Monteleone - initial Discrete Custom Build Step support
2.  Mikhail Sennikovsky - initial isSupported support
3.  Norbert Pleott - support list of binary parsers in targetPlatform binaryParser attribute
2005-04-18 04:15:07 +00:00
Vladimir Hirsl
2aae3af85f Fix for 85056: Discovered Inclusions broken on for Managed Make projects
and 85229: Problem with scannerInfoCollector attribute in the toolChain schema of MBS.
Replaced ToolChain's attribute scannerInfoCollector with ScannerConfigDiscoveredProfileId in managed builder extension point definition schema. Discovery of compiler's internal scanner info for a manged project now uses specified SCD profile.
On Windows, specified profile calls cygpath to translate discovered paths.
2005-02-18 19:35:32 +00:00
Sean Evoy
ee27feda67 Commit for Leo Treggiari:
Code to handle the case where a manifest file or project file contains a higher version number than the Managed Build System.
New JUnit tests for the new model.
Updates to some external strings.
2004-11-15 19:33:09 +00:00
Sean Evoy
e70d996fd9 Commit for Leo Treggiari:
The majority of the code changes were for dealing with the Java class attributes (buildfileGenerator, etc…).
The other bug fixes were:
When the user displays the properties of a file in a standard make file, the “C/C++” category is displayed in the left pane – I couldn’t figure out a way to “filter” it out.  Before the fix, the Managed Make property page was displayed and would then crash when the user selected OK.  Now, it displays a label saying that this page only applies to Managed Make projects.
When the user has automatic build set, edits the properties of a configuration, selects a different configuration, selects OK when asked to save the changes, a build for the proper configuration would start but it would pick up the tool settings from the wrong configuration (the newly selected one).
There was a bug in the Option.onlyOverridesValue method where it wasn’t checking for a zero-length built-ins list, and therefore returning the wrong answer.
There was a bug in adding a Tool to a ToolChain where the new Tool was added to the toolList but not the toolMap.
2004-11-04 16:56:27 +00:00
Sean Evoy
18b49394c4 Commit for Leo Treggiarri -- Initial Managed Build System patch for CDT 2.1 2004-10-28 17:16:53 +00:00
Sean Evoy
aed28a3861 Fix fog bugzilla 69112 -- The managed build manager now returns a default makefile generator rather than NULL 2004-08-04 21:00:40 +00:00
Sean Evoy
5c9fe1859c Partial fix for bugzilla 57860 - Last fundamental change to enable compilation of .s (or any other file) extension with proper dependencies. 2004-06-11 19:04:38 +00:00
Sean Evoy
d03b0f48a0 Large commit. Two components. The first is to switch all the managed build components over to the new plugin loading scheme. The second is to remove the dependency between the indexer and the build system for dependency calculation. Currently, to make this work, there is a flag that is only available on the 3.x GCC compilers, but I will be addressing that shortly. 2004-05-24 23:23:36 +00:00
Sean Evoy
08c13e8969 External commit for Leo Treggiari. The archList attribute of the target object specifies the list of architectures that the target is supported on. The valid list of architectures is the string values returned by BootLoader.getOSArch(). If the archList attribute is not specified, or if the value is "all", then the target is supported on all architectures. Otherwise, the target is only displayed when CDT is running on one of the specified architectures, unless the user has requested to see all targets. 2004-05-10 15:44:32 +00:00
Sean Evoy
a7ad0b285d Adding the capability of dynamically discovering the built-in compiler paths and symbols and storing them in a PathContainer. The UI has been modified to allw users to turn off indexing for a managed project 2004-05-07 18:55:24 +00:00
Sean Evoy
f971a5046c Changed the toolchain specification for Gnu tools to add a generic set of target definitions for POSIX targets. There is also a redefined set of tools and options. There is also a conversion routine that runs on workspace startup to convert older projects into the newer format. 2004-05-04 15:06:54 +00:00
Sean Evoy
b66bb2d4b7 External code commit from Leo Treggiari from Intel that adds support for adding and removing error psarser on a managed build project 2004-04-22 18:04:54 +00:00
Sean Evoy
4f86ebbdd4 Work to support the versioning of the managed build tool definition schema and project files. This work was needed in order to refactor the rather large default tool definitions and to support ongoing enhancements to the managed build system. 2004-04-20 15:09:51 +00:00
Sean Evoy
66c786380a Added a field to the option schema that allows a browse type to be encoded and a new sequence to the option reference with list values 2004-04-05 15:28:23 +00:00
Sean Evoy
ef50454dbd This patch implements 2 pieces of additional option functionality that were discussed on CDT-DEV.
1.	For a String option, if the defaultValue attribute is present, and contains a string of length > 0, then the command string (if any) is prepended to the defaultValue string to form the command line string.
2.	Add a commandFalse attribute to the Option Schema to be used, if specified, when the value of a Boolean option is False.
2004-03-22 21:28:40 +00:00
Sean Evoy
e25c54c01d Adding more work from Timesys to support dynamic toolchain model elements. 2004-03-18 21:26:23 +00:00
Sean Evoy
72991c1d3e Work for C14, add the ability to inherit a tool description via a tool
reference.
	
	Changed the schema to allow a tool reference to belong to a target.
	* schema/ManagedBuildTools.exsd
	
	Changed the manifest logic in the managed build manager to load and 
	retrieve tool definitions as well as target definitions. The schema 
	allowed for this, but the logic was missing.
	* src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java

	Made some bookeeping additions to the target so that it can store references 
	to tools. First, the target loads any tool references it has. Then it loads 
	tools and configurations. The target also has to consider the presence of tool 
	references when it determines how many tools it has, so the logic that counted 
	and returned the number of tools in the target was updated. Some key changes in 
	this regard relate to how the target looks up the tool references it has. It 
	now has to ask the managed build info if it has a tool definition for the reference 
	if there are no tools defined for the target level for a given reference.
	* src/org/eclipse/cdt/managedbuilder/internal/core/Target.java
	
	Tool references now have the potential to be owned by either a target or a 
	configuration. Changed the owner to the superclass of both and figure out 
	which the parent is at runtime to perform the proper registration and information 
	look-up. Also removed the reference to a target from a tool and the interface to 
	extract the target from ITool.
	* src/org/eclipse/cdt/managedbuilder/core/ITool.java
	* src/org/eclipse/cdt/managedbuilder/internal/core/Tool.java
	* src/org/eclipse/cdt/managedbuilder/internal/core/ToolReference.java
	
	An unrelated bug had to do with a problem my testing uncovered with nested 
	categories. The manifest reader was looking at the wrong field to determine 
	the parent, but for the manifests we have created, this has not proven to be 
	a problem so far.
	* src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java
	* src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java
2004-02-26 20:53:54 +00:00
Doug Schaefer
cc6084024d Patch for Sean Evoy:
Use natures to help select what tools are available.
2003-10-01 23:56:36 +00:00
Doug Schaefer
02de2c9788 Patch for Sean Evoy:
the logic for managing the makefiles in the face of a header file 
modification. There seems to be a problem (maybe with the dependency 
calculation) for dependants in other projects when a header file is moved, 
but other than that the builder seems to respond properly.
2003-10-01 14:25:35 +00:00
Doug Schaefer
dcbbea5b74 Patch for Sean Evoy:
Two of the fixes, 43614 and 43756, involved changing property files only, 
which validates the extra work of externalizing strings from the start!

For 43616, I simply took the advice of the bug reporter and added the '-' 
in front of the RM macro in the clean target and the include directives in 
the makefile.

The largest part of the fix involves 43220. Until just now, this was a 
critical bug in bugzilla, so I addressed it. It has just been downgraded 
to an enhancement request. There is now a new entry widget in the linker 
options for user objects. The makefile will simply add these to the final 
build target's command. Most of the work was done in the plugin file and 
the build model to handle the new "type" of option.
2003-09-26 19:54:33 +00:00
Doug Schaefer
db4d819623 Patch for Sean Evoy:
the new project wizard now filters out targets that should
not be selected by the user, and that the build model
handles inherited option references properly now.
2003-09-26 00:24:42 +00:00
Doug Schaefer
0abb42e093 Patch for Sean Evoy:
- I have removed the binary parser selection from the
new managed project wizard and hard-coded the proper
parser ID in the plugin spec for the build model. There is
an updated JUnit test that verifies this change to the
build model. 
- There is also a fix for the library problem on *nix. The
makefile pattern was also changed slightly to better
capture the dependencies between the build target and
the outputs of other managed projects.
2003-09-22 02:32:08 +00:00
Doug Schaefer
d18851f2d7 Patch for Sean Evoy:
- Move the managed builder to it's own plugins and feature.
2003-09-15 20:44:43 +00:00