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

523 commits

Author SHA1 Message Date
Vladimir Hirsl
173f521b41 Externalizing strings. 2005-02-23 15:57:17 +00:00
Alain Magloire
24a7dbbeb8 to much code was remove, the changing of the color was disable. fix now 2005-02-22 21:51:57 +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
Alain Magloire
0a6dc3da2e Fix 84514 The makefileEditor preference settings are now
using the generatl settings from the platform
2005-02-17 01:04:46 +00:00
Vladimir Hirsl
0b009bab25 Per file scanner configuration discovery profile. Added per file collector persistency and updated per project collector's persistency. 2005-02-14 22:21:47 +00:00
Sean Evoy
401c7a5866 Fix for bugzilla 75529 -- [Managed Build] Shouldn't go to the beginning on configuration changing 2005-02-04 22:07:01 +00:00
Vladimir Hirsl
1af4417856 Further SCD profile work.
Implementation of 'per file' profile makefile generator provider and its output parser.
Fixed naming of scanner config files.
2005-02-04 21:53:56 +00:00
Leo Treggiari
1e95e361b6 Add tests for resource configurations 2005-02-02 20:07:34 +00:00
Vladimir Hirsl
1ba71c339b Further SCD profile work.
Definition of 'per file' profile and profile options page and initial implementation.
2005-02-01 15:15:40 +00:00
Sean Evoy
6a104cdd5b Fix for bugzilla 75529 -- [Managed Build] Shouldn't go to the beginning on configuration changing
Corrected a problem whereby a tree selection on a selected option would hide the options.
2005-01-31 20:52:36 +00:00
Sean Evoy
4017f92c70 Fix for bugzilla 75529 -- [Managed Build] Shouldn't go to the beginning on configuration changing
Just tweaked the logic to check for a previously selected tool or option (which the tab was storing anyway). If one was selected, that selection is made in tree viewer.
2005-01-31 19:30:52 +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
Leo Treggiari
60b9d81d50 Use instanceof to match the builtin wizard pages to allow for easier extensions 2005-01-28 03:32:24 +00:00
Leo Treggiari
a37e05f7ec Add 2 tips for the resource configuration property page 2005-01-28 03:30:15 +00:00
Leo Treggiari
12b5cc0ff4 Add names for new Tool-chain model elements 2005-01-28 03:29:10 +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
Vladimir Hirsl
af85d93c29 New Scanner Config Discovery work in preparation for per file SC discovery. Added GCCPerFile console parser and utility and PerFile scanner info collector. 2005-01-26 16:10:52 +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
Sean Evoy
fe3c4a2eea Basic fix for one of the errors reported in 76080, namely that deletions of files pops up a confirmation box that uses the term "directories". I just added "files or directories". 2005-01-24 20:18:18 +00:00
Sean Evoy
d5994ef1b5 Fix for 83556
The MBS now validates the configuration names more carefully. It checks for duplicates in a case-insenstive way. It also looks for invalid whitespaces at the start of a config name. It also disallows names containing \/:*?"<>

Also corrected a file that had a local variable called "enum" which is now a "sort-of" reserved keyword in Java 1.5
2005-01-24 19:27:28 +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
Vladimir Hirsl
2758147c93 Fix for PR 82408 [ScannerConfig] GCCScannerInfoConsoleParser throws exception on "quoted spaces".
The problem was incorrect parsing of lines containing "matched" characters (`, ' and ").
2005-01-11 17:28:26 +00:00
Vladimir Hirsl
424182887a Fix for PR 82354 [Scanner Config] incorrect discovered defines
- Corrected MACRO=MACRO=value pattern.
2005-01-06 21:46:32 +00:00
Vladimir Hirsl
4aad3e762a Fix for PR 82052 [ScannerConfig] new Mozilla Standard C++ project has weird Discovery paths with errors.
In ScannerInfoConsoleParserUtility
- Absolute include paths are correctly handled in translateRelativePaths(..).
- Corrected normalization of paths ending with single dot in normalizePath(..)
2004-12-31 17:46:15 +00:00
Vladimir Hirsl
2f8b9abb4b Fix for PR 77940: Missing built-ins for mingw
Addendum: Symbol definitions as a result of -dD option are written to the standard error stream since gcc version 3.4.x.
This is now proprly handled.
2004-12-24 17:16:04 +00:00
Vladimir Hirsl
2eb2ae36d9 Fix for PR 77940: Missing built-ins for mingw
Option -dD is added to the default generate external scanner info command. GCCSpecsConsoleParser is updated to properly handle results of this option.
2004-12-24 05:58:47 +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
Leo Treggiari
cfaf47a5f7 Partial fix for PR#80951 for CDT 2.1. This allows the resource configuration property page to be displayed for all of the built-in C/C++ extensions. 2004-12-15 04:12:31 +00:00
Alain Magloire
ed57ae9e44 Fix for PR 81007 2004-12-14 22:29:22 +00:00
Sean Evoy
1360711a78 Fix for 80717 -- Executable name ends in ".exe"
Also had to add outputs="" to the tool defintions
2004-12-14 21:05:44 +00:00
Sean Evoy
ccf3364565 Fix for 80717 -- Executable name ends in ".exe"
Also had to remove the exe from the tool references
2004-12-13 23:11:19 +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
e7908d52e2 Fix for 80717 -- Executable name ends in ".exe"
Removed the exe from the XML specification
2004-12-13 16:54:11 +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
Vladimir Hirsl
8b5a3c56f3 Propagated from 2.1 branch.
Fix for SCD bugs 80269 & 80271.
Test for bug 80271.
2004-12-07 22:25:07 +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