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

4853 commits

Author SHA1 Message Date
Doug Schaefer
ae94fe7955 - Fixed the test failures that arose because the targets don't
automatically copy over their configs (however now they do for
targets defined at the extension point).
- Config elements and attributes are now saved in the cdtbuild file, but
not any children.
2003-04-21 19:37:47 +00:00
Doug Schaefer
eaf3aacd4e Patch for John Camelon:
CORE/UI
Fixed Bug36551 Bad parse on attached file.
Partial Fix for Bug36631 remove linear search algorithm from OffsetMapping 
TESTS 
Added DOMTests::testBug36551(). 
Adjusted AutomatedTest to turn on line numbering. 
Added DOMFailedTests and 11 failed test cases.  
Changed CModelElementTests so that I can get on with my work.
2003-04-21 18:34:44 +00:00
Doug Schaefer
bff475c968 Patch for Andrew Niefer:
Fixed Bug36475 - Scanner does not concatenate strings
Fixed Bug36509 - Scanner turns strings into identifiers when expanding macros
Fixed Bug36521 - Scanner gets confused over commas in function like macros
Fixed Bug36695 - Scanner looses escaping on chars (ie '\4' to '4')
 
 
Moved ScannerFailedTest::testBug36475 to ScannerTestCase::testBug36475() 
Moved ScannerFailedTest::testBug36509 to ScannerTestCase::testBug36509()
Moved ScannerFailedTest::testBug36521 to ScannerTestCase::testBug36521()
Added ScannerTestCase::testBug36695()
 
Updated ScannerTestCase::testBug36047
Updated ScannerTestCase::testBug36045
2003-04-21 18:04:53 +00:00
David Inglis
8213a68d1c remove console mode, not used 2003-04-21 17:09:03 +00:00
David Inglis
445d0d51ee update ceditor to 2.0/2.1 2003-04-21 17:05:46 +00:00
David Inglis
e6ecdc51cd cleanup 2003-04-21 16:23:27 +00:00
David Inglis
fd3e1ebcc0 run the init of completion contributor in a ISafeRunnable 2003-04-21 16:19:44 +00:00
Doug Schaefer
67b40d2e68 Patch for Hoda Amer:
"Function template with body" bug fix + JUnit test
2003-04-21 16:16:59 +00:00
Doug Schaefer
bfbb6e209b Patch for Hoda Amer:
- A fix for bug 36379: The parser to set Line information when scanning as
well.
2003-04-21 14:49:26 +00:00
Doug Schaefer
b6956e3701 Update to build model.
- ablility to add configs to target and set options on configs.
2003-04-17 19:21:40 +00:00
Doug Schaefer
ec6fd870a4 Patch for John Camelon:
CORE 
        Fixed error in Elaborated Enumeration Types.   
        Fixed Bug36559  - Parsing Templates...  
        Fixed Bug36634  - Enum start line error  

TESTS 
        Updated DOMTests::testBug36600(). 
        Updated LineNumberTest::testDOMLineNos().   
        Added DOMTests::testBug36559().
2003-04-17 18:59:18 +00:00
Doug Schaefer
8fc0923c61 Patch for Hoda Amer:
- Fix for bug 36604 : NPE in CModelBuilder for given input
2003-04-17 18:34:47 +00:00
Doug Schaefer
f2da937be0 Patch for Andrew Niefer:
- Automated test framework for batch parsing files on the filesystem
2003-04-17 18:24:21 +00:00
Alain Magloire
58c8ae1977 updated. 2003-04-17 16:56:13 +00:00
Alain Magloire
7f50dfa6f3 use setSelection(ICElement) in revealInEditor. 2003-04-17 16:56:05 +00:00
Alain Magloire
49b2c967a1 new setSelection(ICElement) method 2003-04-17 16:55:46 +00:00
Doug Schaefer
861d5cdfcc Patch for John Camelon:
CORE
		 Fixed Bug36532  -   Hang on partial template definition.
		 Fixed Bug36432  -   Trying to open attached source code hangs
Eclipse. 
		 Fixed Bug36594  -   Parser Stack Overflow on unaryExpression
		 Fixed Bug36600  -   Elaborated Enumerated Types Parse Incorrectly. 

TESTS
		 Added DOMTests::testBug36532().
		 Added DOMTests::testBug36432(). 
		 Added DOMTests::testBug36594().
		 Added DOMTests::testBug36600(). 
		 Added DOMTests::testArrayOfPointerToFunctions().
2003-04-17 13:41:45 +00:00
Alain Magloire
020e55826f updated. 2003-04-17 12:59:33 +00:00
Alain Magloire
1cc6bcf4d1 Correct bug 36624
The old parser was failing.
2003-04-17 12:59:26 +00:00
Doug Schaefer
1c8f7f5637 Patch for Hoda Amer:
- Fix for bug 36506: Bad Signature For main
- Fix for bug 36498: outline view signature incorrect for templated
functions/methods 
- JUnit tests for C Model Elements.
2003-04-16 20:32:20 +00:00
Alain Magloire
8a123c8861 updated. 2003-04-16 18:46:53 +00:00
Alain Magloire
d497153ce5 updated. 2003-04-16 18:42:55 +00:00
Alain Magloire
c84084e3fa Check for a valid ITranslationUnit before making
the link to the Editor.
2003-04-16 18:42:48 +00:00
Doug Schaefer
7dd6d81653 Patch for Andrew Niefer: 2003-04-16 14:35:12 +00:00
Doug Schaefer
4ff57e8849 Fixing the ascii property. 2003-04-16 13:52:08 +00:00
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