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

578 commits

Author SHA1 Message Date
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
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
39e2a667df Committing to head for Leo Treggiari (missed part of the original patch from 5-July-2004) 2004-08-04 18:20:44 +00:00
Doug Schaefer
739203fe55 Upversioning head to 2.1.0. 2004-07-15 15:54:47 +00:00
Doug Schaefer
04c74b6af0 Initial contribution of Mac Port from Greg Watson. 2004-07-07 19:19:42 +00:00
Sean Evoy
29ab091666 Fix for 65148 -- Cannot build after cancel build of Managed Project 2004-06-26 21:13:09 +00:00
Sean Evoy
a93a1b97af Fix for bug 68393 - ClassNotFoundException when starting Eclipse 2004-06-25 13:51:28 +00:00
Sean Evoy
efcd048454 Check-in for bug 68485 - CoreException after creating a Managed C project 2004-06-25 13:31:38 +00:00
Sean Evoy
0f40577e78 Partial fix for bug 63479 -- The binaries for Managed make projects are only listed sometimes. 2004-06-24 15:57:06 +00:00
Sean Evoy
550b35c0c6 Commit for Dave Daoust: adds updated copyright notices for IBM-supplied source 2004-06-24 15:56:06 +00:00
Sean Evoy
687d762517 Fix for bug 66739 - Created a shared lib project does not set shared flag in configs. There was a gap in the ever-increasingly complex inheritance behaviour of the ToolReferences. The commands supplied by the ToolReferences were being ignored if the configuration supplied its own ToolReferences. Searching is more comprehensive now, the tool reference is creating a copy of itself more thoroughly, and the JUnit tests have been updated to reflect this. 2004-06-23 19:21:42 +00:00
Sean Evoy
0eb3bc1276 *** empty log message *** 2004-06-21 16:40:14 +00:00
Sean Evoy
fa3f0e854e Fix for bug 67438 - All the actions on eclipse result in an error after performing "Rebuild" on a project referencing another project in a workspace with space in it's path. 2004-06-21 16:14:35 +00:00
Sean Evoy
7e9807c15f Fix for bug 59238 - Tool command option not getting cloned 2004-06-14 18:07:25 +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
81859be811 Missed an externalizable string in trace message 2004-06-11 17:56:54 +00:00
Sean Evoy
905660166d Added extra debug logging 2004-06-10 19:46:56 +00:00
Sean Evoy
b4cff1eac6 Fix for 66258 -- Cannot mix compilers anymore. Do not need to add the relative path to the name of the dependency file when using 'patsubst' 2004-06-09 19:14:54 +00:00
Sean Evoy
a089f769a1 Fix for 66258 - Cannot 'mix' compilers (any more). Arbitrarily moved from a single rule for all files with a given extension to a rule for each file. Causing problems for existing users, so moving back to older form of rules. 2004-06-09 18:37:38 +00:00
Sean Evoy
0b171d56e4 Fix for 65275 -- Makefile assumes object files are .o 2004-06-07 20:40:44 +00:00
Sean Evoy
aee3c08d44 No longer needed as the MinGW target has been removed 2004-06-07 19:42:42 +00:00
Sean Evoy
5f5b6bc0d7 Fix fog bug 64952 -- Indexer being called when it doesn't need to run 2004-06-04 20:17:57 +00:00
Sean Evoy
02ee05c7bf Fix for Bug 63975 - Managed Build IScannerInfoProvider not returning fine-grained response. 2004-06-02 20:33:37 +00:00
Sean Evoy
bdf0ba7530 Fix for bugzilla 62660 -- Target definition for MinGW is inconsistent. I have simply removed the target. If the user wants to use MinGW, they will have to also get MSYS (which is free and recommended for MinGW developers). The problem is that the clean command for Win32 is 'del" and it does not handle front-slashes in the path properly. The effort needed to generate the makefiles in a different way is greater than the effort to answer the odd newsgroup HOWTO question, so I am simply replacing Cygwin and MinGW targets with Gnu on Windows 2004-06-02 14:30:30 +00:00
Sean Evoy
aec08ee34d Fix for 65279 -- Spaces after the output flag in the makefile rules to build source 2004-06-02 13:53:08 +00:00