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

552 commits

Author SHA1 Message Date
Mikhail Sennikovsky
beeb963403 Initial check-in for the build macros support 2005-05-19 16:26:43 +00:00
Doug Schaefer
bdecfcfc41 Cleaned up some obvious NLS warnings. Also turned off the warnings for the tests plugins. 2005-05-16 14:44:03 +00:00
Leo Treggiari
297e573e08 Fix some minor bugs found by testing 2005-05-12 19:07:32 +00:00
Leo Treggiari
509ee1af20 UI for Discrete custom build steps
Filter configs based upon OS list and Arch list
2005-05-09 23:51:39 +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
Vladimir Hirsl
47135c2117 Fix for PR 91276: Cygpath on Linux for SCD?
Cygpath is now used only on Win32 platform.
2005-05-03 14:09:04 +00:00
Leo Treggiari
8c5fd6fb3d Apply patch from bugzilla 93512.
Remove invalid import and warnings
2005-05-03 13:49:50 +00:00
Leo Treggiari
1e5fda4a2c Add Description attribute to Configuration.
Redo Manage Configurations dialog box and add UI for renaming a configuration
2005-05-02 19:44:51 +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
Doug Schaefer
ec85b24cb7 Patch for Bog. Update the Index Manager to use the CDescriptor framework to manage which indexer to instantiate for each project. 2005-03-21 15:44:42 +00:00
Alain Magloire
cab81eb6a0 2005-03-18 Alain Magloire
Fix for PR 88110: Importing project that need converting would
	create NPE and ResouceException failures.
	* src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
	* src/org/eclipse/cdt/managedbuilder/projectconverter/UpdateManagedProject12.java
	* src/org/eclipse/cdt/managedbuilder/projectconverter/UpdateManagedProject20.java
	* src/org/eclipse/cdt/managedbuilder/projectconverter/UpdateManagedProject.java
2005-03-18 17:54:39 +00:00
Vladimir Hirsl
0944b253a3 SCD profiles: integration with CPathEntry framework.
New PerFileDiscoveredPathContainer.
Updating CPathEntries on profile change.
2005-03-01 19:41:19 +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
81f165b355 No bugzilla, but this check-in removes a warning over the use of a new (Java 1.5) keyword 'enum'. 2005-01-31 18:08:25 +00:00
Sean Evoy
64b00d9187 Fix for bugzilla 71251 -- [Managed Build] Unexpected extensions crash GnuMakefileGenerator
Now the source macro generation stops if there is no rule for the extension.
2005-01-28 20:44:37 +00:00
Sean Evoy
10eee6ee30 Fix for bugzilla 54100
'cdtbuild' extension is now defined as text
2005-01-28 19:20:33 +00:00
Leo Treggiari
07a476a1fe Fix makefile generation problems with resource configurations 2005-01-28 03:40:20 +00:00
Leo Treggiari
39fbe46d19 Synchronize adding entries to the path entry container 2005-01-28 03:37:31 +00:00
Leo Treggiari
b9cfb72e32 Add methods to keep track of whether the path entry container is initialized 2005-01-28 03:36:33 +00:00
Leo Treggiari
3823ff7743 Fix problems with MBS build console output 2005-01-28 03:35:20 +00:00
Leo Treggiari
0119fc3947 Change synchronization logic for loading tool chain integrations and .cdtbuild files 2005-01-28 03:34:14 +00:00
Sean Evoy
868fa103f4 Fix for bugzilla 83877 -- [Managed Build] Project converter misses configuration names
Converter now applies the original configuration name to the new config
2005-01-27 21:09:14 +00:00
Sean Evoy
3dbe65030b Fix (part 2) for bugzilla 76080.
The original fix had two problems. When a source folder had only one file deleted, a complete rebuild was required because the output folder was removed. Now the generator checks.
The parent folder could be deleted accidentally, so that has also been resolved.
Finally, the dependency generator pattern ahs been simplified and now uses a Gnu make-supplied macro for calculating the directory component of a file.
2005-01-26 22:31:15 +00:00
Vladimir Hirsl
c5183b1756 Fix for a problem where SC was not being discovered for Managed projects. 2005-01-26 20:44:23 +00:00
Sean Evoy
30b41b6da1 Fix for bugzilla 76080. One of the reported errors in this bug was valid. When a directory containing source was deleted, the Gnu makefilegenerator would mistakenly place it in a list of directories to regenerate makefiles for. The fix places those directories in a list to be deleted. 2005-01-25 20:28:15 +00:00
Vladimir Hirsl
66d9c39ea6 New Scanner Config Discovery 'framework' in preparation for per file SC discovery. Currently implemented: Per project profiles for standard make and managed builders. 2005-01-24 18:49:34 +00:00
Doug Schaefer
0583121e43 Updated the version numbers to 3.0.0. 2004-12-22 19:49:22 +00:00
Leo Treggiari
ce8300dbcd Fix the conversion of String options 2004-12-17 03:54:05 +00:00
Leo Treggiari
b6d40feacd Fix getCommandLinePattern to check its superclass when the value is null. 2004-12-17 03:53:10 +00:00
Sean Evoy
3abb569374 Commit for Leo Treggiari -- Bug 80820 Two problems for converting 1.2 projects using 3rd party tool integrations
If there is no match for an option in the project being converted, ignore the option and continue converting the configuration
Patch tool lookup in converters to handle the case where the location of the definition fools the manifest reader and effectively hides the tool
2004-12-13 17:37:51 +00:00
Sean Evoy
7bef09d931 Fix for 76197 -- Project conversion fails for third party projects.
The fix involves changing the way the updater converts model element IDs. It now tests as best it can whether the element is built-in or not before looking it up and adding it to the new, 2.1 buld model for the project
2004-12-08 02:40:42 +00:00
Sean Evoy
bd35367d7c Commit for Leo Treggiari:
44568 - [Managed Build] -Xlinker option requires space separator
80119 - [Managed Build] Error in the Xlinker option's generated output
The code and the manifest file have been changed to correctly deal with
the -Xlinker option.  Multiple entries have separate -Xlinker options,
and there is a space between -Xlinker and the value.  The space is
handled by the new option.command functionality - "${VALUE}".

77399 - Managed Make Builder mangles subdir.mk if configuration of
        linked resource was changed
This was partially fixed before and was partially a user error.
Code has been added to output an error message to the console when
MBS sees a duplicate identifier in the loaded manifest files.

Partial fix:
80067 - [Managed Build] Wrong command for building in MMS
A fix has been added so that a command is not stored with a Tool
unless the user changes the value - i.e the Tool will inherit the
value from its suoer-class.  There is still an error with the Gnu
makefile generator when a configuration tool and a resource
configuration tool have different commands specified by the user.
This will be fixed later.
2004-12-07 15:12:00 +00:00
Sean Evoy
bc84af8c5a Fix for 79689 -- Unable to convert static libraries from 1.2 -> 2.1
Fix for 75859 -- Importing 1.2x mgd make projects doesn't update artifactName
2004-11-29 18:35:49 +00:00
Sean Evoy
01ad33e1cd Patch applied for Leo Treggiari:
1. [Bug 79451] NPEs on project import
2. [Bug 77399] Managed Make Builder mangles subdir.mk if configuration of linked resource was changed – fix for initial problem – additional problems to be investigated
3. Force rebuild when file build option changes
4. Ensure that converted projects get saved.
2004-11-29 15:04:05 +00:00
Sean Evoy
0ed3dbe9b1 Fix for bugzilla 77558 -- project upgrade from 1.2 loses default configuration setting
The 1.2 project stored the default project in the cdtbuild file so it was a matter of reading that it an cacheing a map of old config IDs to new, then setting the default using the appropriate new config

Fix for bugzilla 79572 -- Importing 1.2 projects with libraries/library search paths fails
The IDs for libraries and library search paths had an extra element that converter was not dealing with and the conversion was failing
2004-11-26 18:46:31 +00:00
Sean Evoy
5360159a8d Fix for bugzilla 78207: Project References hides build error markers.
The same logic applies to the refresh operation on referenced projects as it did for the problem markers. It is no longer necessary given the way the build is sequenced and this avoids needless thrashing in the workspace.
2004-11-23 21:05:28 +00:00
Sean Evoy
778d51ed87 Commit for Leo Treggiari
The patch contains a fix for Bug 69114.  The particular problem was that the manifest file contained an invalid id in an optionCategory “owner” attribute.  The patch contains a change to all appropriate resolveReferences methods to check for unresolved references and write out an error message.  For the optionCategory “owner” attribute, the “owner” is set to the Tool by default.
2004-11-22 21:50:46 +00:00
Sean Evoy
2c296b89c0 Commit for Leo Treggiari:
Fix for Bug 78207 "Project References hides build error markers”
2004-11-19 22:42:47 +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
486c5d2c70 Commit for Leo Treggiari:
Fix for bugzilla 78047 -- Build all results in a 'clean all''
2004-11-08 21:10:26 +00:00
Sean Evoy
b7c36f5113 Commit for Leo Treggiari:
Handles Managed Build System projects that fail to open or convert, for example, because the tool-chain that the project uses is not installed.
When a project configuration is removed, cleans the configuration output.
Edits for some of the externalized strings.
2004-11-08 20:12:46 +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
0fc818ad2c Fix for 76715 -- After reopening Eclipse, a C++ managed project is not usable in any language other than English 2004-10-21 17:45:11 +00:00
Sean Evoy
c7caaff4a6 Fix for bugzilla 76483 - [Managed Make] ToolReferences with no defined output extensions answer that they build everything 2004-10-18 17:23:50 +00:00
Sean Evoy
b516c01e02 Fix for bugzilla 71134 -- Managed Make: String list command outputs null 2004-08-16 20:41:16 +00:00
Sean Evoy
af2454ec98 Fix for bugzilla 70491 -- Unable to build source files in a linked directory 2004-08-16 17:50:55 +00:00
Sean Evoy
39dd636454 Commit for Leo Treggiari: bugzilla 70577 and 71254. 2004-08-05 14:30:42 +00:00