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

31 commits

Author SHA1 Message Date
Sergey Prigogin
5d7a19fa6c Enabled JDK 1.7.
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
7a3c9ba3a1 Switched to Java 1.6. 2011-10-17 18:04:17 -07:00
Doug Schaefer
0d50d5b222 Get more of the FFS working. Also turned on Java 5 for cdt.core. 2007-12-28 21:29:45 +00:00
Mikhail Sennikovsky
c5603e5a0e Template Engine submission from Bala Torati (Symbian) with some modifications and bug-fixes (see Bug 160012) 2007-04-26 17:07:39 +00:00
Markus Schorn
328e4c08f1 Add position trackers, includes test cases. 2006-07-03 13:01:05 +00:00
Doug Schaefer
b9ae5fbbe8 Put the Type Cache back and reactivate the code that uses it, i.e., Open Type and the New Class Wizard. The info still returns null but I'll you should be able to compile. 2006-04-19 19:20:05 +00:00
Doug Schaefer
c394f40e48 Testing the scalability of the Commit Files dialog. No really, I've removed the old indexer, search and type cache and have fixed all the compile errors that doing so caused. A number of features are disabled to be re-enabled later. 2006-04-12 17:11:14 +00:00
Doug Schaefer
4db06ada35 Cleaned up the PDOM stuff, we'll put it in it's own plugin to make it optional. 2005-09-17 22:10:11 +00:00
Doug Schaefer
6c54322782 Start of PDOM. 2005-09-09 13:31:28 +00:00
John Camelon
8ba02ba51a Removed junit.jar. 2005-04-04 19:51:17 +00:00
John Camelon
db73140257 Add JavaDoc.
Formatted public interfaces.
Restructured some public interfaces.
2005-03-14 03:15:22 +00:00
Andrew Niefer
13d0e52cba undo accidental commit 2004-05-28 14:58:41 +00:00
Andrew Niefer
a7e23f8c15 remove warnings 2004-05-28 14:54:58 +00:00
Alain Magloire
f6a9f8da22 New patch from Chris Wiebe to boost the performance
of the TypeInfo, a separation is done via
the Core and UI to provide more flexibility for clients
using this service.
2004-04-07 00:32:13 +00:00
David Inglis
74f6ab27e8 - removal of deprecated 1.2 methods/classes 2004-01-13 21:25:35 +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
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
26f7ffd775 Make the parser source folder a separate jar. 2003-11-05 19:22:44 +00:00
Doug Schaefer
bd9cb0bd51 Patch for Keith Campbell.
- Add missing plugin dependency to eliminate warnings
about undefined extension points.
2003-09-12 18:19:05 +00:00
John Camelon
8e62beb552 CORE & UI
Made scoping support more robust in CompleteParse mode. 
	Refactored ISourceElementRequestor (enter|exit)CodeBlock() to take IASTCodeScope rather than IASTScope. 
	Removed the now obsolete DOM.  
	Added enumerator references to ISourceElementRequestor.
	
TESTS
	Added CompleteParseASTTest::testThrowStatement(), testScoping(), testEnumeratorReferences().
	Removed LineNumberTest source as it is obsolete.
2003-09-08 19:17: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
Doug Schaefer
33b684ca91 Patch for Bogdan Gheorghe:
- Here's a first take at the dependency tree service
which is needed by both the managed build and the
indexer. The service is in a really early form with no
persistance or notification mechanisms in place yet.
There is just enough in here to allow Sean to get his
makefile dependencies. I added a check box to the
indexer tab to enable the service on a per project basis.
2003-07-24 14:15:07 +00:00
John Camelon
18eca5c02b Patch for Andrew Niefer.
Skeleton implementation of C/C++ Search.
2003-06-16 17:35:46 +00:00
Doug Schaefer
b22cebf8f8 Merge new parser into HEAD branch. 2003-03-04 18:25:45 +00:00
Doug Schaefer
18177e7a35 New build model from Sam Robb. 2003-02-17 19:13:07 +00:00
David Inglis
43121170e5 cleanup 2002-09-17 18:53:40 +00:00
Alain Magloire
bb86c07d51 remove need for
org.eclipse.{search,compare,debug.ui,debug.core,ui}
2002-07-19 17:10:01 +00:00
Judy N. Green
e747ad4a68 Updated classpath so that we can successfully build and deploy Jar files with CDT Core and UI 2002-07-04 16:31:05 +00:00
David Inglis
4792f930ff change all external plugin jar references to project references added
some missing src paths
2002-06-28 14:20:21 +00:00
Sebastien Marineau
db3c6a4470 First commit of CDT code from QNX 2002-06-26 20:29:14 +00:00