1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 23:05:47 +02:00
Commit graph

4308 commits

Author SHA1 Message Date
John Camelon
329664223a - Added support for digraphs and trigraphs. Both scanner and UI syntax
highlighting are updated.
-  Added support for hex floating point literals.
- Fixed stack overflow problem with string literals concatenation.
- Fixed problem with token pasting in macros.
- This solves PR 39523, 39550, 39552.
2003-07-22 00:44:18 +00:00
Doug Schaefer
d8ee61be38 Patch for Bogdan Gheorghe:
- adds namespaces, enums, typedefs, functions,
methods, fields and vars to the index.
- also fixes a problem with the Search label provider
which caused it to not display properly under some
conditions.
2003-07-21 21:14:10 +00:00
Doug Schaefer
a3c2f8e423 Removal of cdt.builder packages. 2003-07-21 18:03:28 +00:00
John Camelon
8aa2e6f9b9 CORE & UI
Added ISourceElementCallbackDelegate interface for AST constructs to allow the Parser to delegate callback's to the nodes themselves.  
	Got rid of ParserMode.STRUCTURAL_PARSE for the time being. 
	Removed org.eclipse.cdt.internal.core.parser.ast.full. 
	Created org.eclipse.cdt.internal.core.parser.ast.complete. 
	Updated ParserFactory.createScanner() to force the user to provide a callback and a ParserMode.
	Introduced ASTSemanticException for COMPLETE_PARSE mode. 
	Fleshed out preliminary IASTReference interfaces and added callbacks to ISourceElementRequestor.
	Removed acceptElaboratedTypeSpecifier() from ISourceElementRequestor.

TESTS
	Updated ParserSymbolTableTests to remove dependencies on parser.ast.full classes.
	Updated Parser test suites for updates to ParserFactory.
2003-07-18 16:39:26 +00:00
John Camelon
b43dece8ee CORE & UI
Removed IParserCallback.  
	Partially converted DOM to ISourceElementRequestor (requires refactoring of CModelBuilder & StuctureComparator modules in near future).  
	Completely finished ISourceElementRequestor/IASTFactory work for QuickParse mode.  
	Added pointer to methods/functions into AST callback structure.  
	Restructured AST class hierarchy.  
	Removed the old IParserCallback return Objects from every Parser method.

TESTS
	Rewrote the entire DOMTests suite to now be AST tests.  
	Removed DOMTests, BaseDOMTest, DOMFailedTests after methods were migrated to QuickParseASTTests & ASTFailedTests.  
	Made sure every parser failed test had a defect number associated with it.
2003-07-17 20:15:18 +00:00
Alain Magloire
aa2f55b2f1 updated 2003-07-16 14:49:45 +00:00
Alain Magloire
42d1154261 Patch from Alex Chapiro to provide build contribution
to the CView.
2003-07-16 14:49:38 +00:00
Alain Magloire
0eb01b1ba1 updated 2003-07-16 14:29:49 +00:00
Alain Magloire
dab6ba3ae7 Thomas Fletcher added new command "Edit.." 2003-07-16 14:28:58 +00:00
Doug Schaefer
0c232fa416 Patch for Andrew Niefer:
Patch for C++ Search to support searching for class declarations

Interface changes:
- modified search Interfaces : 
        - ICSearchConstants - changed SearchFor instantiations to more 
closely match what we can search for.
        - ICSearchPattern - added getLimitTo() 
        - ICSearchResultCollector - added createMatch(), which should 
return an object implementing the new IMatch interface, these store the 
any data needed to keep found matches.
  These interfaces are still new and its too early for anyone other than 
search and the indexer to be using them.
- added search interface IMatch.


Changes to core.search had to do with keeping track of the current scope 
during the search, as well as other modifications for matching class 
declarations, and the start of the patterns for matching other things.

Changes to ui.search had to do with creating IMatch objects to store the 
information needed by the label provider to display icons and sort the 
results.
2003-07-15 14:48:13 +00:00
Doug Schaefer
b03158193f Patch for Bogdan Gheorge:
- UI for C/C++ Search
2003-07-14 15:34:57 +00:00
Doug Schaefer
0e59c966c0 Patch for Bogdan Gheorghe:
- support for class specifier search
- a new C/C++ search menu item
2003-07-11 22:41:45 +00:00
Doug Schaefer
6a897468ed - Added the ability to add arbitrary XML data to the
cdtproject file.
- Used to store the data that had been put in the
cdtbuild file for Standard Make projects.
- Cleaned up some of the exception handling in the 
StandardBuildManager.
2003-07-10 17:50:34 +00:00
John Camelon
d71d9270d8 CORE
Filled out IASTMethod & IASTFunction & added implementations.
	Updated IScanner, clients & implementations to use IScannerInfo.  
	Finished SimpleDeclaration porting to new architecture, only thing left is templates.  

TESTS
	Updated IScanner, clients & implementations to use IScannerInfo.
2003-07-09 00:47:49 +00:00
John Camelon
4576601158 Patch for Victor Mozgin
Fix for PR 39476: Preference listeners for task tags do not work.
Fix for PR 39477: Task tags options dialogs ask for project rebuilds.
2003-07-07 15:35:46 +00:00
John Camelon
8b844d54f1 Patch for Sean Evoy.
The change logs contain an overview of what has been done to implement a new interface between a build model (any build model) 
and clients of the model that need to extract include search paths and defined symbols. For the most part, I have tried to leave the 
old build system as unchanged as possible. For example, project properties like the make search path, and whether or not to continue 
on build failures are still stored as persistent properties on the project through the CNature (ugh). The new information I have added 
is managed by a new build manager on a per-project basis and is associated with a project as a session property. The information is 
persisted in the 'cdtbuild' file introduced by the new managed build system.
2003-07-04 18:36:47 +00:00
John Camelon
8a70b5e1d2 Patch for Andrew Niefer.
cdt.core: 
- Modified ICSearchConstants to use classes (SearchFor & LimitTo) instead of int for constants 
- Modified MatchLocator to actually invoke the parser to do the search 

cdt.core.tests: 
        - Added new source Folder search 
        - Added search/ClassDeclarationPatternTests::testMatchSimpleDeclaration 
        - Added search/ClassDeclarationPatternTests::testMatchNamespaceNestedDeclaration 
        - Added new resource folder search & containing file classDecl.cpp 
        - Added new failures package ord.eclipse.cdt.core.search.failedTests 
        - Added new failing test PatternsFailedTests::testBug39652 

        * Note that both the ClassDeclarationPatternTests and PatternsFailedTests must be run as Plugin Tests * 

        cdt.ui: 
        - Updated Search classes to reflect changes to ICSearchConstants.
2003-07-04 17:15:44 +00:00
John Camelon
6fa5a87930 Patch for Andrew Niefer
Further work on C/C++ Search framework.
2003-06-28 19:56:54 +00:00
John Camelon
c4df8f4e6f Patch for Victor Mozgin.
Initial pass at Task Bar/IProblem support.
2003-06-28 19:48:12 +00:00
Doug Schaefer
afbe575516 Patch for Bogdan Gheorghe:
- The initial framework for the new indexer.
- Added a checkbox to the Indexer tab on the
C/C++ Projects settings dialog to turn on the
indexing on a per project basis.
2003-06-27 14:31:34 +00:00
Doug Schaefer
a4b262eced Patch for Sean Evoy:
- This is a patch to allow users to add include path
and defined symbol information to a standard make
project.
- This information is required by clients like the indexer
so that a proper index can be created.
- The interface to extract that information will follow.
2003-06-26 17:43:36 +00:00
John Camelon
6a7293f951 Create new interface and support for calculating lineNumber/offset mapping.
Updated IASTClassSpecifier for qualified name query.  
Began structuring expressions and declarators in Parser for ISourceElementRequestor.  
Updated other packages to use new interfaces.
Updated automatedtests/torture test to use new line number information.
2003-06-25 22:47:52 +00:00
Alain Magloire
5248cce011 Patch form Thomas Fletcher to improve on completion. 2003-06-24 14:22:14 +00:00
John Camelon
f61006c9fe Updated Factory infrastructure, constructors, etc.
Introduced Preprocessor class for transitive closure calc. client.
2003-06-23 18:05:31 +00:00
Doug Schaefer
b8059d7f27 Patch for Sean Evoy:
1. Fix for bug 38665 - Need to select platform before configurations become visible 
2. Icon files that were not delivered in my last patch 
3. A new interface for clients of the build model to extract include paths and defined symbols for managed projects. Unmanaged projects to follow soon.
2003-06-23 14:36:31 +00:00
David Inglis
3fa62eae94 missing changes from Thomasf patch for key bind stuff. 2003-06-20 17:00:19 +00:00
David Inglis
8c78d47e88 unsed class 2003-06-18 15:41:36 +00:00
David Inglis
2183b9fd78 fixed bug #39053 2003-06-18 15:39:24 +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
04804f1cf1 Added the build source folder to the build.properties file. 2003-06-14 21:14:56 +00:00
John Camelon
89913324d4 Merge Parser_SymbolTable branch into HEAD. 2003-06-13 15:01:26 +00:00
Alain Magloire
c2348df608 updated. 2003-06-13 02:44:02 +00:00
Alain Magloire
5ccdce625e Patch form Thomas Fletcher to define
CEditor shortcuts.
2003-06-13 02:43:53 +00:00
Alain Magloire
985cf56dcc updated. 2003-06-13 02:35:32 +00:00
Alain Magloire
ed9940f5ac Patch from Thomas Fletcher to reuse the component
of Working set in the platform part of 2.1.
2003-06-13 02:35:25 +00:00
Doug Schaefer
da0c569bff Patch for Sean Evoy:
- Initial contribution of Managed Build UI.
2003-06-09 19:22:21 +00:00
Alain Magloire
b48df83281 updated. 2003-06-06 01:16:17 +00:00
Alain Magloire
b18a703288 Patch form Christophe Juniet to add a #ifdef guard
when generating a class file.
2003-06-06 01:16:10 +00:00
Alain Magloire
0fe28a9c96 updated. 2003-06-04 19:34:54 +00:00
Alain Magloire
8fa405d412 Fix PR 38405, syntax hilight for macor in the CEditor 2003-06-04 19:34:47 +00:00
Alain Magloire
55253c4df9 updated. 2003-06-04 14:12:34 +00:00
Alain Magloire
cf3d839940 Fix PR 38047, unable to save changes in CDebugEditor. 2003-06-03 19:19:08 +00:00
John Camelon
18b219a690 Patch for Hoda Amer.
The user may start the wizard from the navigator view. In this case, the selection is a resource, not a CModel Element, which caused some troubles. 
This patch fixes this problem. Change log has been updated.
2003-05-30 15:26:37 +00:00
John Camelon
c27d3e4175 Patch for Hoda Amer
A fix for the incorrect inclusion problem in the New Class Wizard.
2003-05-28 18:10:13 +00:00
John Camelon
1ce9ba9ea0 Patch for Hoda Amer.
First patch for a new class wizard for CDT.
2003-05-27 21:33:04 +00:00
John Camelon
83f96aa7ee Patch for Hoda Amer.
This patch enables Outline view filters to show/hide -static members, non-public members, and fields (same as in JDT). 
Please note that the patch creates three new packages and 5 new classes. 
It also has 9 new icon files (in three different directories). 
The modified files + the new files are all zipped into the attached file.
2003-05-05 14:15:16 +00:00
John Camelon
44ca9f0cc5 Patch for Hoda Amer.
Fix for bug 36797: Templates of Variables and structs + JUnit test
2003-05-01 19:46:42 +00:00
Alain Magloire
66a20f07fd new method getBufferFactory() to overload the parent. 2003-04-28 02:37:47 +00:00
Alain Magloire
d495a4ffa5 new method setOutlinePageInput() new method
to reset the outliner input.
2003-04-28 02:37:26 +00:00
Alain Magloire
9204c94847 new method setInput() to reset the Viewer. 2003-04-28 02:37:02 +00:00