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

371 commits

Author SHA1 Message Date
Doug Schaefer
452e82cb3d Patch for John Camelon:
CORE
		 Fixed bug36434 - Broken outline in winbase.h
		 Partial Fix for bug36379 - The parser to set Line informations when
scanning.
		 Fixed CModelManager to include header files with .H extension as C++
headers. 
		 Fixed bug36448 - Parser fails for C programs containing C++ keywords
as identifiers

TESTS
		 Added ScannerTestCase::testBug36434().
		 Added ScannerTestCase::testMultipleLines(). 
		 Added ParserTestSuite. 
		 Added LineNumberTest.
		 Updated CModelElementsTests to set the Nature of the C++ project
appropriately.
2003-04-16 12:30:47 +00:00
Doug Schaefer
772ea31915 Patch for Andrew Niefer:
patch_04.15.03(cdt.core).txt
    -fixed scanner bug36047
 
patch_04.15.03(cdt.ui.test).txt
    -Moved ScannerFailedTest::testBug36047 to ScannerTestCase::testBug36047
    -Added ScannerFailedTest::testBug36475
2003-04-15 18:40:07 +00:00
Doug Schaefer
f3b8a1b3ea Patch for Hoda Amer:
This patch updates the create methods of the CModelBuilder:
-changes visibility to protected.
-returns the created element.
The new CModelBuilder returns a map of the created elements and their infos.
2003-04-15 18:37:32 +00:00
Doug Schaefer
e6d765afcd Work on the Build Model.
- Model is maturing
- Loading/saving moved into the objects themselves
- Project build info saved to/loaded from a file
2003-04-14 20:02:39 +00:00
Doug Schaefer
80f69509e8 Emergency patch for John Camelon. 2003-04-14 17:25:33 +00:00
Doug Schaefer
c479717511 Patch for Hoda Amer:
-determines the project nature before calling the parser. 
-sets the visibility of member template methods.
2003-04-14 16:00:18 +00:00
Doug Schaefer
ad0b7bce68 Patch for John Camelon:
CORE
		 Minor cleanup of callbacks due to removal of NewModelBuilder.
		 Added parser support to partially fix bug36416 & bug36294.  Also
added minimal C-Model support for these fixes. 

TESTS
		 Added DOMTests::testPointersToFunctions.
2003-04-14 14:14:52 +00:00
Doug Schaefer
1408e4cd83 Patch for John Camelon:
CORE
		 Minimized the number of objects being returned from Parser
callbacks.  
		 Fixed CModelBuilder to handle errors better. 
		 Reorganized the DOM Hierarchy to ensure that nodes were added to the
tree on End() callbacks.  
		 Fixed defect 36247().

TESTS
		 Added DOMTests::testBug36247().
2003-04-13 22:01:34 +00:00
Alain Magloire
34564166f4 updated 2003-04-12 14:04:22 +00:00
Alain Magloire
d01a3f7d71 Remove useless methods 2003-04-12 14:04:10 +00:00
Alain Magloire
fd78e1bd32 Check for the binaries in the virtual containers
they may not have been created if the path
is not expanded in the CView.
2003-04-12 14:03:54 +00:00
Doug Schaefer
0c47e3bed5 Patch for Andrew Niefer:
- Fixed Bug36316 Parser/Scanner in infinite loop
2003-04-11 21:20:16 +00:00
Doug Schaefer
080e040924 Patch for John Camelon:
CORE
		 Fixed Bug 36243 DomBuilder Offsetable List
2003-04-11 21:14:34 +00:00
Doug Schaefer
04f59699f5 Patch for John Camelon:
CORE
		 Fixed Bug36237  Parser fails on casts in ctor initializer.
		 Added AccessSpecifier to TemplateDeclaration.

TESTS
		 Added DOMTests::testBug36237().
2003-04-11 14:42:29 +00:00
Doug Schaefer
d64897da7a Patch for Hoda Amer:
-Adds template elements (classes, functions and methods) to core model.
-Updates the C Model Builder to recognize templates.
-Adds UI support for templates in outline view.
2003-04-11 14:36:53 +00:00
Doug Schaefer
28bd5c346f Added the dom source folder to the build.properties. 2003-04-10 18:28:37 +00:00
Doug Schaefer
938a074dd8 Patch for John Camelon:
CORE
- Updated callbacks and parser to add offset information to template
declarations, thus making TemplateDeclaration implement IOffsetable.
2003-04-10 17:25:06 +00:00
Alain Magloire
006348900f updated. 2003-04-10 01:12:54 +00:00
Alain Magloire
7f0682ff8d remove unused methods. 2003-04-10 01:12:42 +00:00
Alain Magloire
febb3908e9 add startup() and shtudown() methods. 2003-04-10 01:12:24 +00:00
Alain Magloire
6b356aa170 Call the startup and shutdown methods of the managers 2003-04-10 01:11:35 +00:00
Doug Schaefer
7e62df880f Patch for John Camelon:
CORE
	Removed all the old Code Model Builder source that was no longer being used (NewModelBuilder.java, etc.). 
	Moved all the files in parser.util directory to the dom.  
	Organized imports. 
	Fixed bug36250 Parser ignores functions with default parameters that have no name.
	Fixed bug36240 Parser incorrectly parses operator= 
	Fixed bug36254 Parser doesn't recognize unsigned as a type by itself.


TESTS
	Organized imports. 
	Added DOMTests::testTemplateDeclarationOfMethod().
	Added DOMTests::testBug36250().  
	Added DOMTests::testBug36240(). 
	Added DOMTests::testBug36254().
2003-04-09 21:12:09 +00:00
Doug Schaefer
663cef492f Fleshing out the build model. 2003-04-09 20:56:21 +00:00
Alain Magloire
0028dec189 fix a bug. 2003-04-09 20:08:50 +00:00
Alain Magloire
61799d7c74 Fix to the DeltaProcessor. 2003-04-09 19:50:13 +00:00
Doug Schaefer
9e35ee6963 A little more sanity to the new build model. 2003-04-09 15:14:56 +00:00
Doug Schaefer
ef5944b36b Patch for Andrew Niefer:
patch_04.08.03(cdt.core).txt
	user defined conversions by operator

patch_04.08.04(cdt.ui.tests).txt
	added ParserSymbolTableTest::testUserDefinedConversionByOperator()
2003-04-09 15:09:56 +00:00
Doug Schaefer
cc325e9b5f Patch for Hoda Amer:
- Uses "StringBuffer" instead of "String" in CModelBuilder and a couple other places for better performance.
- Displays the volatile decorative for volatile declarations.
- Changes the background of some icons to transparent.
2003-04-09 15:07:59 +00:00
Doug Schaefer
3268c4fc9f Patch for John Camelon:
CORE
	Added timing printout for CModelTests.
	Provided partial fix for bug36255 to get past infinite loop, will leave defect open.
	Fixed bug36045 (Again).  
	Fixed bug36287.

TESTS
	Updated ScannerTest::testBug36045().
	Added ScannerTest::testBug36287().
	Added DOMTests::testBug36288().
2003-04-09 14:52:28 +00:00
Alain Magloire
22663266da updated. 2003-04-09 03:07:38 +00:00
Alain Magloire
793c52d03b Bug fix event were not generated for the nonCResources. 2003-04-09 03:06:51 +00:00
Doug Schaefer
5b29e684d8 Patch for Hoda Amer:
- Change the C Model Builder to use the DOM
- Minor changes to code model
- Fixes for bugs 35781, 26467
2003-04-08 21:30:53 +00:00
Doug Schaefer
78e61be446 Patch for John Camelon:
CORE
	Brought DOM up to par wrt functionality with Code Model.  
	Added isFunctionDefinition() to SimpleDeclaration.  
	Added visiblity indicators for member declarations.  
	Added offset information that was previously unavailable.  
	Added preprocessor statements (inclusions, macros) to DOM.  
	Updated TypeSpecifier hierarchy to allow for parameter declarations to own elaborated types. 
	Added new constructor to parser to aid testing. 
	Fixed bug36065.  

TESTS
	Added testMemberDeclarations(), testPreprocessor(),
testElaboratedParms() to DOMTests.
2003-04-08 03:41:05 +00:00
Doug Schaefer
b53b2d419c Patch for Andrew Niefer:
- Rewrote the conversion sequence ranking to better handle all cases.
- Added ParserSymbolTableTest::testOverloadRanking (whose initial
failure prompted the ranking rewrite).
2003-04-07 21:43:01 +00:00
Doug Schaefer
e7a699b56c Updates to the new build model. 2003-04-07 20:56:27 +00:00
Doug Schaefer
ec7c947a6f Yet Another Build Model.
- Defines most of the interfaces
- Some simple implementation behind the interfaces to at
least get information from the extension point.
2003-04-07 02:47:01 +00:00
Doug Schaefer
44aad85270 Patch for John Camelon:
CORE
	Fixed defect 36073.
	Fixed error handling for unterminated strings in Scanner.
	Fixed offset for inclusions in the outline view.  
	Significantly updated callback structure to better suite the nature of the Code Model.
	Updated all callbacks and parser to accommodate altered callbacks.  

TESTS
	Added DOMTests::testBug36073().
2003-04-06 03:06:22 +00:00
Doug Schaefer
0ff98a152c Patch for John Camelon:
Core fix for Outline View
- Fixed bug35939.  Proper CElement position is set on
Simple Declarations, Class Specifications, Namespaces,
Enumerations and Enumerators, Macros and Inclusions.
- Callbacks updated to provide additional offset
information.
2003-04-04 18:45:09 +00:00
Doug Schaefer
7081cddca6 Patch for John Camelon:
CORE
	Fixed defects 36019, 36020, 36045.  
	Finished template declarations and their callbacks for the DOM (not the Code Model).  

TESTS
	Updated ScannerTest::testSimpleIfdef() for bug36019.  
	Updated ScannerTest::testNumerics() for bug36020.  
	Added ScannerTest::testBug36045().  
	Updated DOMTests::testTemplateDeclaration() for template grammar updates.
2003-04-04 14:05:22 +00:00
Doug Schaefer
c045393b50 Patch for Hoda Amer:
- Delta Builder Helper Functions in the CModel
- Plus some cleanups
2003-04-04 14:01:31 +00:00
Doug Schaefer
d66e2dca22 Patch for Hoda Amer adds:
- the support for namespaces in the NewModelBuilder. 
- an icon for extern variables.
- a JUnit test case for core model elements, including namespaces. The enum_obj_gif should overwrite the existing file.
2003-04-03 15:38:47 +00:00
Alain Magloire
44f52feeff updated 2003-04-03 04:29:16 +00:00
Alain Magloire
8dbf5c40a6 Bug fix, not initializing fPathEntries 2003-04-03 04:28:54 +00:00
Alain Magloire
34f18c1a07 New class implements ILibraryReference 2003-04-03 04:28:30 +00:00
Alain Magloire
eac587f614 Add new method getLibraryReferences() 2003-04-03 04:28:03 +00:00
Doug Schaefer
46d2f50c48 Patch for John Camelon:
CORE
	Updated Scanner to convert ungodly control-characters to ' '.  
	Fixed logic error in model\SimpleDeclarationWrapper.
	Added operator support to grammar (conversion and overloading).  
	Fixed parser/util/Name.toString() to support non-qualified yet multi-part names.
2003-04-03 02:59:58 +00:00
Doug Schaefer
e31f920f10 Patch for myself for a change:
- This patch changes the default for the CModel to use
the new parser.
- Also, I change the preference to be stored in the
CCorePlugin preferences instead of the silly kludge
I had before.
2003-04-02 21:30:23 +00:00
Doug Schaefer
09948618e8 Patch for Andrew Niefer:
- Modified lookup with respect to resolving ambiguous names,
reducing the number of temporary lists/sets.
- Modified adding using declarations to properly support overloaded
functions.
- Added initial support for user defined conversion sequences when
resolving overloaded functions.
2003-04-02 13:18:54 +00:00
Doug Schaefer
6b80ff9dd3 Patch for John Camelon:
CORE
 - fixed bug35906
 - updated scanner to not puke on certain control characters

TESTS
 - added testBug35906() to DOMTests.
2003-04-02 13:13:34 +00:00
Alain Magloire
2c35f5f378 updated 2003-04-02 05:00:44 +00:00