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

3774 commits

Author SHA1 Message Date
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
John Camelon
b529cdd23d Patch for Sean Evoy
Added tests to verify that the tool command canbe set through the 
IConfiguration interface in the testConfigurations() method, and 
through a ToolReference in the checkSubSubTarget() method.
2004-03-02 16:10:37 +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
Andrew Niefer
74206bb9c0 bug 53123 externalize strings 2004-03-01 22:16:48 +00:00
Andrew Niefer
0f74ca46c3 bug 52695: IASTClassSpecifier.getDeclarations returns an empty iterator 2004-03-01 21:18:11 +00:00
Hoda Amer
d557516718 Removing a couple of unused things 2004-03-01 21:17:08 +00:00
Alain Magloire
3e3581e6bc added the missing sources. 2004-03-01 20:56:16 +00:00
Alain Magloire
4e38f7ccd2 Reog. Categorise the files in to source folders. 2004-03-01 20:55:53 +00:00
Alain Magloire
499f1cf3e0 Patch from James to externalize strings. 2004-03-01 20:09:23 +00:00
Alain Magloire
8adf0dd949 check the continuation line. 2004-03-01 17:24:56 +00:00
Alain Magloire
9bd8b6fb3a Fix to PR 53253 2004-03-01 16:38:31 +00:00
Alain Magloire
183e1ab403 PR 53323 fix 2004-03-01 15:19:49 +00:00
Alain Magloire
a5e59ef207 override the exists() methos for Binary/Archive. 2004-03-01 04:18:38 +00:00
Alain Magloire
7ba1b68964 Performance improving in the DeltaProcessor 2004-03-01 02:03:16 +00:00
Alain Magloire
07f291d778 Fix the PE parser 2004-02-29 07:11:49 +00:00
Alain Magloire
e1140e486b PR 51757 help fixing. Run the PasteAction
update selection in a UI thread.
2004-02-29 05:23:58 +00:00
Alain Magloire
17436b16d0 Implementat for CView.selectReveal()
The element was not shown since we did not have
a comparater.
2004-02-29 04:40:29 +00:00
Alain Magloire
a6553e61d1 New method
ICelement.getAncestor(int ancestorType);
Better implementation of ICElement.getElementAtOffset()
2004-02-29 04:37:19 +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
a010158135 Fixin NPE in BaseCElementContentProvider 2004-02-29 00:39:24 +00:00
Alain Magloire
f977490590 Support for text hovering. 2004-02-28 16:16:12 +00:00
David Inglis
cd8f8ca00f removed unused member 2004-02-27 23:14:44 +00:00
Doug Schaefer
3ea92ce61f Added the fragments to the cdt-feature. We no longer
need the os/ws specific features.
2004-02-27 21:47:09 +00:00
Alain Magloire
e2cd21ff38 put back the method
IBinaryParser.getBinary()

Clients still use it.
2004-02-27 21:27:39 +00:00
Doug Schaefer
5fac1942cc Testing out some releng stuff. 2004-02-27 21:22:38 +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
Hoda Amer
e7dfb880a4 The CView to update with each reconcile : [Bug 53074] 2004-02-27 21:07:56 +00:00
Doug Schaefer
f0ac94629e Testing some releng stuff. 2004-02-27 20:42:11 +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
Alain Magloire
e138c8bc09 Improve performance of the IBinaryParser
by providing a new API
IBinaryParser.getBinary(byte[] hints, IPath path)
2004-02-27 16:22:58 +00:00
John Camelon
d6a96dd12e Patch for Sean Evoy
Tool inheritance test.
2004-02-27 15:59:47 +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
Andrew Niefer
95f42aeb9e Bug 53213: Externalize Strings 2004-02-26 23:10:24 +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
Andrew Niefer
b9e2f84b0c bug 53213: externalize strings 2004-02-26 19:33:41 +00:00
Andrew Niefer
1738ff2644 Bug 53123 - Externalize Strings 2004-02-26 19:30:36 +00:00
Alain Magloire
5573057ddc new icons from Chris Wiebe 2004-02-26 18:26:37 +00:00
Alain Magloire
47b44fb327 Updates the cpathentry 2004-02-26 17:31:45 +00:00
Alain Magloire
8609c455a2 Changes to the ICElementDelta fields to reflect the doc. 2004-02-26 17:30:18 +00:00
Bogdan Gheorghe
2e497d6a54 - First go at adding selection search to CDT. You can now search for Declarations, References in Workspace, WorkingSets triggered from the CEditor, CView or COutline.
- Added Dependency NPE check + test
- Selection Parser change from John
- Cleaned up search properties file
2004-02-25 23:24:04 +00:00
John Camelon
f070a52e93 org.eclipse.cdt.core
Fixed Bug 43051 : Search: cannot specify relative search paths
	Fixed Bug 45140 : refactor IScanner to allow use of Readers of IResource

org.eclipse.cdt.core.tests
org.eclipse.cdt.ui
	Updates for new ISourceElementRequestor interface updates.
2004-02-25 22:18:51 +00:00
Alain Magloire
d3890d72b5 Fix PR 52138 2004-02-25 20:39:42 +00:00
John Camelon
ba9fc2e462 org.eclipse.cdt.core
Updated Scanner to allow for invalid identifier names despite C++'s best efforts at maintaining its honour.  

org.eclipse.cdt.core.tests
	Added ScannerTestCase::testGerman().
2004-02-25 15:30:21 +00:00
Alain Magloire
116fc88367 Added CPathEntry in the AllCoreTests suite. 2004-02-25 14:43:32 +00:00