1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00
Commit graph

1191 commits

Author SHA1 Message Date
Sean Evoy
18b0c0e692 Source code changes for C8 "Clone configurations". Also removed the SummaryFieldEditor since that functionality has now been implemented by the MultilineFieldEditor 2004-03-24 21:11:54 +00:00
Sean Evoy
616f583ea2 Last string to externalize caught by chkpii tool in plugin.xml 2004-03-23 19:27:37 +00:00
Sean Evoy
2ef3540b31 Fix for a problem with the round-tripping of string options 2004-03-23 16:31:21 +00:00
David Inglis
18e6359b5b cleanup 2004-03-23 03:07:40 +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
David Inglis
717a507bae update due to Core Model changes 2004-03-22 17:53:44 +00:00
Sean Evoy
3b191e5ddc Committing work submitted by BitMethods to round-trip tool options from a summary field back into the option. 2004-03-22 16:57:03 +00:00
David Inglis
f980b3161f check for changes before saving 2004-03-19 20:31:51 +00:00
Sean Evoy
d980d24f00 Removed the AbstractToolReference class because there is no longer any need for it with the introduction of a dynamic styrategy for model element creation. I kept the IToolReference interface, though. Moved several public methods into it and changed the clients of those methods so that the interface is used. 2004-03-19 16:38:49 +00:00
Sean Evoy
481715a2b8 More I18N work. Externalizing the vlaue of the name field of the extension point and extension is only needed to satisfy an automatic string checker. The value of these tags is never displayed to an end-user. However, better to get rid of the erros than expect the poor testers to always track the exception. 2004-03-19 15:32:07 +00:00
Sean Evoy
e25c54c01d Adding more work from Timesys to support dynamic toolchain model elements. 2004-03-18 21:26:23 +00:00
David Inglis
8ccea9c408 fixed target saving in .cdtproject 2004-03-17 21:38:36 +00:00
Sean Evoy
4c9e632ce6 Marked remaining strings forming keys, directories and filenames untranslatable. 2004-03-16 22:26:10 +00:00
Sean Evoy
fe16438a4d Marked remaining strings untranslatable as they belong to the extensibility schema. 2004-03-16 22:25:50 +00:00
Sean Evoy
1661bb8022 Changes for bugzilla 54202 - Changing the active configuration forces a save in the cdtbuildfile. 2004-03-16 22:12:27 +00:00
David Inglis
7d48a4fcc6 applied patch from vhirsl@ca.ibm.com implementing new auto scanner configuration detection mechanism 2004-03-16 20:35:25 +00:00
David Inglis
a46dca30a1 move target presistance to .cdtproject
modified targets are now saved
2004-03-16 19:57:02 +00:00
Sean Evoy
fbf82be3cd Commit for Jeremiah Lott.
Allows the managed build system to resolve "forward references" within its extensions. In practice this is necessary to allow references between extensions in different plugins.	
Partial fix for bugzilla 54202:
No longer use the cdtbuild file for persisting the default target and configuration settings for a project. This is assumed to be an individual workspace level setting so the choices are persisted in the project's persistent settings store.
2004-03-12 19:11:53 +00:00
Alain Magloire
fbb3c4c84d Support for OpenDeclaration action on the MakefileEditor. 2004-03-11 21:41:37 +00:00
David Inglis
68c4c924e9 show error dialog on apply of properties if one occurs 2004-03-09 20:59:46 +00:00
David Inglis
d055189a64 properly set binary parser when ask to update from preference 2004-03-09 20:52:53 +00:00
Sean Evoy
e4bbb5dc9e Fix for bugzilla 45311: "CVS tries to check in contents of build output"
The managed make builder generates the output directories, and the makefiles for those directories. Those files should be tagged as "derived" so that the CM system will ignore the files on check-in. Now, that is done when a new build directory or file is added to the project. The workspace will take care of files created by the build process through the Ignored Resources extension point.
2004-03-09 20:39:34 +00:00
Sean Evoy
4beaf02d94 Removed the __CYGWIN__ symbol that was defined by default for the C and C++ compiler definitions. This was causing a parser error and content assist was failing. 2004-03-09 15:14:59 +00:00
Sean Evoy
6bd526e1b6 Committing the changes needed by our partners to better support a variety of tool references. A class hierarchy of tool references has been introduced. The base class is an abstract tool reference. Unqualified tool references, like those used in the manifest or project files will be continue to be treated as tool references. However, we now have some flexibility for the future should a more refined type of tool reference be needed; for example, a dynamic tool that reads a configuration file to determine what environment it is targetting. 2004-03-08 16:42:21 +00:00
Sean Evoy
762808825e Fix for bug 53856: "Option reference not reporting built-in includes paths to scanner". Changed the constructor for the OptionReference so it only creates a list if it finds built-in path or symbol definitions in the manifest or project file. The getter method for built-ins also concatenates the definitions it contains with those of its parent.
Undid the changes to the geenrated makefile builder since bug 53253 has been corrected.
	
Fix for bug 53861: "Cannot reset tool command back to default". Changed the way the configuration sets the tool command when the value is the same as the default.
2004-03-05 16:13:28 +00:00
Sean Evoy
463db40e82 Marked those strings that are non-translatable as such and externalized those strings that can be translated. 2004-03-05 15:20:44 +00:00
David Inglis
41fe7cbae5 fixed bug #53692 2004-03-04 20:42:23 +00:00
Alain Magloire
df6bb6a3af It should be an IDirective. 2004-03-04 04:39:54 +00:00
David Inglis
86d4a18fb8 cleanup 2004-03-03 16:40:24 +00:00
David Inglis
496956a5ac extern'd strings 2004-03-03 16:40:02 +00:00
Sean Evoy
a84395e43f A change in VCErrorParser to fix PR 53253 causes an IndexOutOfBounds exception when echoing a build command on Win32 if the absolute path to the make utility is specified, i.e. C:\<path>\make.exe. The work-around is to not have the launcher echo the command, and just output it to the build console directly. 2004-03-03 15:09:16 +00:00
David Inglis
948797c20e extern'd strings 2004-03-02 21:37:42 +00:00
David Inglis
f0a098779f extern'd strings 2004-03-02 17:15:23 +00:00
David Inglis
f44a5cb403 extern strings 2004-03-02 17:13:52 +00:00
Sean Evoy
8503542b55 Marked those strings that are non-translatable as such and externalized those strings that can be translated. There is still work to be done in this area for this plugin. 2004-03-02 16:35:03 +00:00
Sean Evoy
f16dd5d814 Work to support new feature C1, "Set Tool Command in Project". Created a new preference page that has a single string field editor (for now) to edit the tool command. There is an externalized string for the label. Now that there are preference pages for tools and for options, and both are managed by the property page, the common logic for both preference pages have been refactored into a superclass.
In the property page, there is now logic for remembering what tool has been selected as well as what option. The property page now creates preference pages for tools and options.	

Updated the settings store to add tools as well as options.
	
Tweaked the logic of the tool/option list provider for the property page slightly to handle the case where the selection is a tool and 	not simply an option.
2004-03-02 15:27:47 +00:00
Sean Evoy
3948f17fa0 Work to support feature C1, "Set Tool Command in Project". Now it is possible to store an overridden tool command in a tool reference. The tool command can be overridden directly in an existing reference, or through the configuration, which creates a new tool reference. 2004-03-02 15:26:50 +00:00
Alain Magloire
db74457777 Do not expand to empty if the macro is not found. 2004-03-02 04:53:20 +00:00
Alain Magloire
3e3581e6bc added the missing sources. 2004-03-01 20:56:16 +00:00
Alain Magloire
8adf0dd949 check the continuation line. 2004-03-01 17:24:56 +00:00
Alain Magloire
6f281e37e4 Expand the string when doing Annotation hovering. 2004-02-29 00:40:58 +00:00
Alain Magloire
dd5fdea8fa get the expanded String new method in IMakefile.java 2004-02-29 00:40:25 +00:00
Alain Magloire
f977490590 Support for text hovering. 2004-02-28 16:16:12 +00:00
David Inglis
6c46cacd82 fixed for https://bugs.eclipse.org/bugs/show_bug.cgi?id=53204 2004-02-27 21:11:42 +00:00
Sean Evoy
ce2687d063 New built-in compiler incldue search paths and defined symbols for the Gnu C++ compiler on Cygwin. 2004-02-27 18:49:52 +00:00
Sean Evoy
440660c80b Added a header to the automatically generated makefiles to alert users not to edit them. Also added includes directives to bring in user-supplied makefiles to support additional targets, macro definitions, and custom build steps. Strings are externalized. 2004-02-27 14:54:22 +00:00
David Inglis
479396734d mark string non-externalized 2004-02-27 03:36:52 +00:00
Sean Evoy
27c1639a5e Changes to the option categories that came about because of working
on feature C14 lead to the discoveryof a cut-&-paste error in the plugin 
manifest. The miscellaneous category in the cygwin C++ compiler spec 
referred to the C++ compiler in Linux as the parent. Fixed this.
2004-02-26 20:56:03 +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
Sean Evoy
c80f98594b 2004-02-24 Sean Evoy
Changed the makefile generator to escape any whitespace it finds in a dependency path. Now it is possible to build a project in a location with spaces but you still cannot have internal folders with spaces in the name. 
* src/org/eclipse/cdt/managedbuilder/internal/core/MakefileGenerator.java
	
Tweaked the builder to put only the make command in invocation if there were no arguments spec'd. It seemed to be causing a fake error message to be reported on Linux even though make was successfully building the project.
* src/org/eclipse/cdt/managedbuilder/internal/core/GeneratedMakefileBuilder.java
2004-02-24 21:25:12 +00:00