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
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
Sean Evoy
73178a9453 Work for bug 52647. 2004-02-24 15:18:13 +00:00
Sean Evoy
aba55c1109 Fixes for 41590, 44159, 51640, and 51646 2004-02-17 14:20:11 +00:00
Doug Schaefer
8cceffb272 Fix the classpaths to use dynamic containers again.
My apologies :-)
2004-01-05 21:16:28 +00:00
Doug Schaefer
e1b04cf0c0 Added org.eclipse.core.runtime.compatability as a
dependency to satisfy Eclipse 3.0M6 requirements.
2004-01-05 20:26:57 +00:00
Doug Schaefer
9c677d807f Upversioned the plugins, etc to 2.0.0.
Made sure the jar files got included in the zips.
2003-11-25 18:24:55 +00:00
Doug Schaefer
9dc3aa63e5 Upgrade to Eclipse 3.0. Includes:
- upgrade plugin.xml files
- use PDE containers
- apply Eclipse 3.0 porting items, in particular openEditor and gotoMarker
- remove TestWorkbenches from test plugins
2003-11-24 18:31:03 +00:00
Doug Schaefer
92669e0062 Patch for Bogda Gheorghe: (44366 & 45324)
- Moved off all dependency calculations to the Indexer thread,
created a new UpdateDependency job
- Modified CSearchOperation to only lock the workspace when
tagging resources with markers.
2003-10-27 20:57:47 +00:00
Doug Schaefer
de44b4c4a2 Merged 1.2 fixes into HEAD. Includes:
- managed make fix for infinite make recursion
- search fix for large projects
- fixes to source project so that it actually contains source
2003-10-27 18:26:54 +00:00
Doug Schaefer
0e11088e84 Patch for Sean Evoy:
Details in ChangeLog.
2003-10-02 02:56:46 +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
fe07db2d72 Upversioning everything to 1.2.0. 2003-10-01 20:23:21 +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
9fa37457ae Patch for Sean Evoy:
I have documented the patch in the change log; the only bonus is that it 
fixes 43214 for free. The managed builder should now respond correctly to 
deletions of any types of file in the project (or referenced projects). 
This includes makefiles, intermediate files, and the build target. It 
should also properly handle changes in the project settings in any 
referenced project. Referenced projects should now get their project views 
refreshed as a result of any changes.
2003-09-30 02:14:44 +00:00
Doug Schaefer
103296262c Patch for Sean Evoy:
This is a fix for the bug 41275. The problem was pretty simple; the delta 
passed to a project when one of the projects it depends on changes, is 
empty. I tried to optimize the managed builder to run only when a change 
was passed to it, but this is a valid case. Now, if there is a 0-length 
delta passed to a project, it simply calls make without regenerating any 
makefiles.
2003-09-29 18:49:06 +00:00
Doug Schaefer
58d60e53f4 Patch for Sean Evoy:
The builder now properly refreshes the files in 
a project after build.
2003-09-29 01:42:26 +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
3b2b1c6a42 Patch for Bogdan Gheorghe:
This patch integrates the dependency calculator into
the indexer. As a result the underlying indexer file storage
format has changes. Lots of detail in the change logs of
exactly what changed...
2003-09-26 17:53:45 +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
5f524fb890 Patch for Sean Evoy:
To help out with bug 43051, I have changed the behaviour of the managed 
builder when asked for scanner information. The search feature needs the 
absolute paths to files. Since all the user-specified include paths 
specified in the managed builder UI are either absolute or relative to the 
build project directory, it is relatively easy to convert everything to 
absolute paths before answering the clients of this information.
2003-09-25 03:19:31 +00:00
Doug Schaefer
e09b94f945 Patch for Sean Evoy:
This patch adds a "hook" for F1 help on the new managed project wizard 
configuration selection page. It also adds functionality to the managed 
build project property page to allow the user to edit the make command and 
build artifact name. They can also add and delete configurations from a 
target. There is no support for adding another target to a project in this 
release.
2003-09-24 14:20:49 +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
c7a74ef049 Patch for Sean Evoy:
- The fix is for bug 43017, something I need anyway. The 
incremental build work is to make a full rebuild happen when the build 
settings change through the UI. Tested the changes on Linux and Win32.
2003-09-16 21:27:58 +00:00
Doug Schaefer
79d4dd460c Make sure everything is exported out of the plugins. 2003-09-16 19:23:40 +00:00
Doug Schaefer
40b0ef8dbb Fixed up the build properties. 2003-09-16 18:34:27 +00:00
Doug Schaefer
7b35a1a68b fixed up the build.properties file. 2003-09-15 21:34:16 +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