1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 13:05:22 +02:00
Commit graph

9279 commits

Author SHA1 Message Date
John Camelon
93b627eabc CORE
Updated ScannerException to be more precise and include more information.  
	Updated Parser to be more careful of how it handles particular Scanner errors in COMPLETE_PARSE mode.  
	
TESTS
	Updated ScannerTestCase to keep up to date wrt ScannerException updates.
2003-09-09 18:02:40 +00:00
John Camelon
8f627892aa Core
- Hooked up the Indexer to the dependency tree. Everytime a header file 
gets modified, the including source files get reindexed. 
- Automated dependency calcuations - each time a file gets modified, its 
tree gets updated. 
- Added error logging via the PDE Error Log (Views->PDE Runtime->Error 
Log) - the indexer reports unsuccesful index attempts and the preprocessor 
reports unsuccesful inclusion resolution attempts 

UI 
- Changed the names on the search popup mens
2003-09-09 17:54:02 +00:00
Mikhail Khodjaiants
2f62fb6d57 Final fix for PR 39484: Move 'getType' method from ICDIVariable to ICDIVaraibleObject. 2003-09-09 17:39:19 +00:00
John Camelon
ceee55836e Patch for Andrew Niefer
Core :
        Index
        Enumerator references
         - Added createEnumeratorFullyQualifiedName in AbstractIndexer
         - Added addEnumeratorReference in AbstractIndexer
         - implemented acceptEnumeratorReference in SourceIndexerRequestor

        Search
        pattern matching on function parameters:
         - modified scanForParameters in CSearchPattern
         - added getParamString in CSearchPattern
         - modified matchLevel in MethodDeclarationPattern
 
        Enumeration references
         - modified acceptEnumeratorReference in MatchLocator

core.tests:
        Modified resources/search/classDecl.cpp
         - to include more function declarations to test parameter 
matching
         - to include an enumerator reference to test enumerators
        Added testMethodDeclarationParameterMatching to 
FunctionMethodPatternTests.java
        Added testEnumeratorReferences to OtherPatternTests
2003-09-09 15:46:44 +00:00
Alain Magloire
0ec0b04c3e New draft for GNU Makefile 2003-09-09 03:52:15 +00:00
Alain Magloire
084ae250ef Some variable contains += 2003-09-09 03:51:35 +00:00
Alain Magloire
c6b5dbad42 Try command rule first. 2003-09-09 03:51:15 +00:00
Mikhail Khodjaiants
30b346c1a1 Regrouping the launch configuration constants. 2003-09-08 21:49:31 +00:00
Tanya-Marise De Sousa
2241910e55 September 8, 2003 delivery 2003-09-08 21:48:51 +00:00
Mikhail Khodjaiants
2a80da7743 New UI for the 'Debugger' page of launch configuration. 2003-09-08 21:42:43 +00:00
Mikhail Khodjaiants
ce59a25fa6 Regrouping the launch configuration constants. 2003-09-08 21:40:11 +00:00
Mikhail Khodjaiants
3da46e561e Added the 'stop-on-solib-events' option.
Changed the initialization of the hared library search path.
Changed the messages of the thrown exceptions.
2003-09-08 21:27:56 +00:00
Mikhail Khodjaiants
233b7ca8d5 Removed the internal handling of the 'stop-on-shared-library-events' option - will be moved to the mi.
Try to set the deferred breakpoints only when:
- a shared library is loaded,
- the symbols of shared library are loaded.
2003-09-08 20:48:18 +00:00
Mikhail Khodjaiants
5698a06608 Added the 'getSharedLibraryPaths' and 'setSharedLibraryPaths' methods to the 'ICDISharedLibraryManager' interface. 2003-09-08 20:33:45 +00:00
Alain Magloire
11cdc640c6 Refactor constants 2003-09-08 20:11:55 +00:00
Alain Magloire
a3e7c1ab78 _ is also part of a word 2003-09-08 20:11:37 +00:00
Alain Magloire
5cada17513 Remove obsolete constant 2003-09-08 20:11:18 +00:00
Alain Magloire
013b7794ef be aware of += and :: and := 2003-09-08 20:10:52 +00:00
Alain Magloire
f5a40d1db9 Fix the parsing. 2003-09-08 20:10:26 +00:00
Mikhail Khodjaiants
9fbe84c409 New class - SolibSearchPathBlock. Implements the UI control block to set the shared library search path. 2003-09-08 20:08:13 +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
Mikhail Khodjaiants
5ac0a1a30b CoreFileConfiguration supports shared libraries. 2003-09-08 18:43:02 +00:00
John Camelon
cecd8598a0 Patch for Andrew Niefer
Core : 
- Create ParserLanguage.java
- Modified ParserFactory functions to take ParserLanguage as parameter
- Modifier Parser, Scanner & ParserSymbolTable to use new ParserLanguage 
class
- Update call to ParserFactory in Indexer, Search, CModelBuilder & 
Dependency Tree

Core.tests:
- Updated calls to ParserFactory to specify which language to use

UI:
-CStructorCreator uses the parser, modified call to ParserFactory to 
specify CPP language.
  (this is the same behaviour as before)
2003-09-08 18:11:00 +00:00
Alain Magloire
7f1f51e837 indent 2003-09-08 16:20:25 +00:00
Alain Magloire
f4a7b9bcc3 null out the makefile variable 2003-09-08 16:20:15 +00:00
Alain Magloire
78f034de45 Fix to the parser 2003-09-08 16:19:39 +00:00
David Inglis
b871d57ad8 added scheme for CProject extension 2003-09-08 14:03:15 +00:00
John Camelon
6c33540aab Patch for Hoda Amer
Core : 
    Added references to variables with pointers in solution of bug#42453:Expression result types not computed 
Tests: 
        Added tests to CompleteParseASTTest to test the expression result type for function calls that reference variables with pointers (bug#42453).
2003-09-08 12:31:30 +00:00
Alain Magloire
e6e17610e5 Work on code completion and hover. 2003-09-08 04:59:14 +00:00
Alain Magloire
b618113882 Put imports 2003-09-08 04:58:16 +00:00
Alain Magloire
02988e794e trim strings 2003-09-08 04:57:59 +00:00
Alain Magloire
a8edb98ca7 Makefile adapter. 2003-09-08 04:57:30 +00:00
Alain Magloire
3638c876a5 new File BadStatement 2003-09-08 04:57:16 +00:00
Alain Magloire
b5bfa05375 Add BadStatement 2003-09-08 04:56:50 +00:00
Alain Magloire
39e50dd226 Change visibility of fields. 2003-09-07 19:52:20 +00:00
Alain Magloire
a408d89e9f change visibility of fProject 2003-09-07 19:51:46 +00:00
Alain Magloire
15c9704c98 refactor effect of a rename 2003-09-07 19:45:37 +00:00
Alain Magloire
afecf0245a New images for the Makefile editor. 2003-09-07 19:45:15 +00:00
Alain Magloire
11fbc47cb2 Rename to Makefile*.java instead of Make*.java
Files are for managing Makefile related things.
2003-09-07 19:44:27 +00:00
Alain Magloire
9147013836 Implements the interface of IMakefile 2003-09-07 19:42:53 +00:00
Alain Magloire
3e86e80afd Interface of the Makefile parser 2003-09-07 19:42:06 +00:00
Tanya-Marise De Sousa
371823e7b4 September 6, 2003 delivery 2003-09-06 16:36:23 +00:00
Tanya-Marise De Sousa
0638cb0ed9 September 5, 2003 delivery 2003-09-05 21:09:56 +00:00
David Inglis
ad843c5751 finish up project convertion to convert old make target to new targets
finish up build target dialog
   - add/remove/delete now working
   - displayed as a table
2003-09-05 20:52:24 +00:00
David Inglis
428e119084 added project to createion of make target for initial default settings 2003-09-05 20:51:03 +00:00
David Inglis
ffaa2d3da7 remove scanner and build model on configure 2003-09-05 20:50:34 +00:00
John Camelon
8b12ea5492 CORE
Continue to add support for parsing within function bodies.  
	Add workaround for 1.2 for inline function declaration-before-use chicken-and-egg.
	
TESTS
	Added CompleteParseASTTest::testSimpleIfStatement(), testSimpleWhileStatement(). 
	testSimpleSwitchStatement(), testSimpleDoStatement().
2003-09-05 19:24:11 +00:00
John Camelon
d1d3dec2fe Patch for Andrew Niefer
Core:
- fix patterns & indexing for Enumerators

Core.Tests:
- Added testEnumerators to OtherPatternTests.java
- Modified resources/search/classDecl.cpp to include some enumerators

UI:
- enable Selected Resources scope
- populate dialog base on selection when opened from outline view
- fix small bug that found namespaces when searching for enumerations
- tweak sorting by path to consider line number second
2003-09-05 18:31:52 +00:00
Alain Magloire
4a6ab5ef38 updated. 2003-09-05 16:23:23 +00:00
Alain Magloire
553b984d2f Wrap the master fd, since they are share by two streams 2003-09-05 16:23:11 +00:00