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

728 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
Alain Magloire
692b6647df updated. 2003-04-14 17:31:36 +00:00
Alain Magloire
4c4d89b449 If the setting is enable use the new Parser diffs. 2003-04-14 17:31:25 +00:00
Alain Magloire
507b7ea2fc Glue code to use the new parser capabilities. 2003-04-14 17:31:07 +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
45705e3e38 Patch for Andrew Niefer:
- Added tests that pass if they fail.
2003-04-11 18:42:56 +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
Alain Magloire
5d70b24cde updated 2003-04-10 19:26:23 +00:00
Alain Magloire
abc7cd65ad added "hpp" as extension for CEditor. 2003-04-10 19:26:15 +00:00
Alain Magloire
87b25a415c New image for codeassist. 2003-04-10 19:25:56 +00:00
Alain Magloire
9fabb00098 Cleanup in the EditorAction to use
the Eclipse-2.1 functionnalities.
2003-04-10 19:25:49 +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
b3f73d737d get rid of duplicate refreshings. 2003-04-09 03:07:15 +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
Alain Magloire
92da4f748c updated. 2003-04-08 14:54:05 +00:00
Alain Magloire
c7c35ceb84 updated. 2003-04-08 14:29:17 +00:00
Alain Magloire
0076f1bba6 Fix the drag & drop 2003-04-08 14:29:09 +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
e92be51ca5 Fixed broken .classpath where the parser source folder fell off. 2003-04-07 21:34:58 +00:00
Doug Schaefer
e7a699b56c Updates to the new build model. 2003-04-07 20:56:27 +00:00
Alain Magloire
c936206685 updated. 2003-04-07 19:06:27 +00:00
Alain Magloire
fdcadaa820 Enable registration to the ContentProvider menu
of the outliner
2003-04-07 19:06:18 +00:00