1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

2628 commits

Author SHA1 Message Date
David Inglis
b9f356214f work in progress - MakeTargetProvider/MakeTarget 2003-08-20 03:12:25 +00:00
Alain Magloire
7f3646cfb0 updated. 2003-08-20 01:22:56 +00:00
Alain Magloire
7cfecd1a5e Fix to deal with gdb ptype for class/structure 2003-08-20 01:22:46 +00:00
Alain Magloire
8c3d7d87ff refactorin the name to avoid confusion. 2003-08-20 01:22:21 +00:00
Mikhail Khodjaiants
5f589a68a0 Create ICDIVariableObject for each array partition to compute a detail panel's value. 2003-08-19 20:56:15 +00:00
Alain Magloire
8ea769c2ed updated 2003-08-19 20:56:07 +00:00
Alain Magloire
4e76360ada Fix for the getQualifiedName() for GDB fake categories. 2003-08-19 20:55:58 +00:00
David Inglis
7e7e45a917 work in progress- make target provider/make target 2003-08-19 20:17:28 +00:00
Mikhail Khodjaiants
bebc49da06 "Restore Default Type" changed to "Restore Original Type". 2003-08-19 17:37:36 +00:00
Alain Magloire
ce9b82be99 updated 2003-08-19 02:38:52 +00:00
Alain Magloire
e7f524f9e1 Patch form chris songer deals with sparse output
in the MI format
2003-08-19 02:38:41 +00:00
David Inglis
8043fd6640 update make view to use make target provider 2003-08-19 02:22:13 +00:00
David Inglis
2bb372a867 new make target provider/make target/listener/event 2003-08-19 02:21:49 +00:00
Alain Magloire
4471c53d81 updated 2003-08-19 02:02:13 +00:00
Alain Magloire
081b8cd7ca Deal with Shared Lib Events from GDB 2003-08-19 02:01:53 +00:00
Alain Magloire
551a927cf2 New files to deal with Shared Events from GDB 2003-08-19 02:01:31 +00:00
Alain Magloire
95e899e939 extends sessionObject 2003-08-19 02:00:57 +00:00
Alain Magloire
15e427d9ff New SessionObject for suspend on shared events. 2003-08-19 02:00:42 +00:00
David Inglis
5a2f61e463 refactor of core 2003-08-18 22:18:15 +00:00
David Inglis
58dffc1540 update
core - refactor cleanup
 ui - new work on make action contributions and targets
2003-08-18 21:10:04 +00:00
David Inglis
0f45720f3d patch from sean see changelog 2003-08-18 17:34:23 +00:00
David Inglis
dec8f5f092 disable browse button for now on directory location 2003-08-18 17:31:58 +00:00
David Inglis
e5e277adaf removed abstract method as it does not need to be abstract 2003-08-18 16:16:10 +00:00
David Inglis
746f6bfdc7 new project C/C++ project wizard classes 2003-08-18 16:10:59 +00:00
David Inglis
350c4a4ce6 *** empty log message *** 2003-08-18 16:01:01 +00:00
David Inglis
35f169b20d use new cproject creation wizards 2003-08-18 16:00:48 +00:00
David Inglis
d7803558cd added build locations setting 2003-08-18 16:00:34 +00:00
David Inglis
61b8cf9771 fix error 2003-08-18 15:59:42 +00:00
David Inglis
a7a2872b91 new error dialog methods 2003-08-18 15:59:11 +00:00
David Inglis
8c4b0d9020 update so that it can be extended to use other type control 2003-08-17 19:49:30 +00:00
David Inglis
dc9fe084f3 update 2003-08-17 19:46:53 +00:00
John Camelon
6acb69e971 CORE
Removed warnings from SymbolTable & QuickParseCallback (removing implicit accessor generation).
	Made IASTElaboratedTypeSpecifier derive from IASTOffsetableNamedElement (as it should).  

TESTS
	Removed warnings from AutomatedIntegrationSuite.java (removing implicit accessor generation).
2003-08-14 19:49:48 +00:00
John Camelon
83c27c9bb1 CORE
Added X-Reference support for ArrayModifiers and Exception Specifications.  
	Fixed Bug 41551  -  HandleInclusion always throws ScannerException on local includes.

TESTS
	Added CompleteParseASTTest::testArrayModExpression(), testPointerVariable() & 
	testExceptionSpecification().
2003-08-14 15:33:32 +00:00
David Inglis
21a6509a3b fixed problem with large lists (resize policy did not has a height hint) 2003-08-14 13:55:11 +00:00
David Inglis
1b28dd5dc3 rename inner class 2003-08-14 13:53:42 +00:00
David Inglis
1fcdb221f6 update nature ID 2003-08-14 13:53:17 +00:00
David Inglis
658534dfe6 ask not to cache info 2003-08-14 13:52:37 +00:00
David Inglis
744e9ba7ba added cache param 2003-08-14 13:52:00 +00:00
David Inglis
16a1cd62be made scanner info seperate from build info 2003-08-14 05:57:20 +00:00
David Inglis
36fd016fbb update new make plugin 2003-08-14 02:11:07 +00:00
John Camelon
80ee3e49e7 CORE
Added constructor expression support for variables.  
	Added constructor chain x-reference support for methods. 

TESTS
	Added testBug41520() to FullParseFailedTests.java.  
	Added testConstructorChain() to CompleteParseASTTest.java
2003-08-13 23:54:09 +00:00
John Camelon
fa8baf0518 CORE
Added Expression x-reference support into Parser.

TESTS
	Added testSimpleExpression(), testParameterExpressions() && 
	testNestedNamespaceExpression() to CompleteParseASTTest.java.
2003-08-13 21:51:53 +00:00
Mikhail Khodjaiants
4214aed737 Removed the 'Type' field from the 'Display As Array' dialog. 2003-08-13 21:16:23 +00:00
David Inglis
b8b3ffdfed small refactor to internal 2003-08-13 19:39:54 +00:00
David Inglis
4c82ed5537 new C project options controls 2003-08-13 19:26:27 +00:00
David Inglis
9685903f5f new make ui plugins 2003-08-13 19:17:05 +00:00
David Inglis
c8b2ea56f7 new make builder core plugin 2003-08-13 19:15:45 +00:00
Mikhail Khodjaiants
b32258ab17 Display the proper image for reference types. 2003-08-13 18:20:21 +00:00
Mikhail Khodjaiants
0627136ff0 Moved some methods from ICDIVariable to ICDIVariableObject.
Create 'var-objects' only for the requested array partitions.
2003-08-13 18:19:53 +00:00
John Camelon
df11a294b8 Patch for Sean Evoy
In order to work through CExtensionPoint mechanism, I have to change the 
existing extension point entries for the Managed and Standard builders to 
the following (all future builders will have to conform to this as well):
   <extension
         id="ManagedBuildManager"
         point="org.eclipse.cdt.core.ScannerInfoProvider">
      <cextension>
         <run
 class="org.eclipse.cdt.core.build.managed.ManagedBuildManager">
         </run>
      </cextension>
   </extension>

   <extension
         id="StandardBuildManager"
         point="org.eclipse.cdt.core.ScannerInfoProvider">
      <cextension>
         <run
 class="org.eclipse.cdt.core.build.standard.StandardBuildManager">
         </run>
      </cextension>
   </extension>

As well, the ManagedBuildManager and StandardBuildManager must extend 
AbstractCExtension.

The new project wizards for managed and standard projects have to be 
modified to register the right class as the scanner info providers for the 
project. The example below shows the managed project wizard code, but the 
standard project wizard is similar.
try {
        ICDescriptor desc = 
CCorePlugin.getDefault().getCProjectDescription(project);
        desc.remove(CCorePlugin.BUILD_SCANNER_INFO_UNIQ_ID);
        desc.create(CCorePlugin.BUILD_SCANNER_INFO_UNIQ_ID, 
ManagedBuildManager.INTERFACE_IDENTITY);
} <snip>


Clients use a new method defined in CCorePlugin 

public IScannerInfoProvider getScannerInfoProvider(IProject project) {
        IScannerInfoProvider provider = null;
        if (project != null) {
                try {
                        ICDescriptor desc = (ICDescriptor) 
getCProjectDescription(project);
                        ICExtensionReference[] extensions = 
desc.get(BUILD_SCANNER_INFO_UNIQ_ID);
                        if (extensions.length > 0)
                                provider = (IScannerInfoProvider) 
extensions[0].createExtension();
                } catch (CoreException e) {
                }
        }
        return provider;
}

to get the information provider as shown in the updated JUnit test code 
below:
// Find the first IScannerInfoProvider that supplies build info for the 
project
IScannerInfoProvider provider = 
CCorePlugin.getDefault().getScannerInfoProvider(project);
assertNotNull(provider);

As is the case now, clients implement the IScannerInfoChangeListener 
interface and pass themselves to the provider in a subscription message. 
There is also a new method on the IScannerInfoProvider interface that 
allows the client to get information immediately as shown below:
IScannerInfo currentSettings = provider.getScannerInformation(project); 

The ManagedBuildManager::getScannerInfo(IResource) method will be 
deprecated, then removed before the end of this release cycle.
2003-08-13 17:45:38 +00:00