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

3643 commits

Author SHA1 Message Date
John Camelon
64911fc186 Patch for Sean Evoy
Hi All,
Details are in the change log, but this patch contains work that partially 
implements incremental build. There are 2 major use cases not implemented: 
full rebuild on project settings change and properly handling header file 
changes. Both problems require build model work, so I will deliver that 
functionality in another patch. There are also fixes for bugs 41412 and 
42735.

As always, I have run the JUnit tests on Solaris (Motif) and Linux (Gtk).
2003-09-11 14:46:18 +00:00
Mikhail Khodjaiants
86bd34cb79 If breakpoint is a line breakpoint check if source locator contains the file instead of container project. 2003-09-10 21:23:38 +00:00
Tanya-Marise De Sousa
6f2e1a8f42 September 10, 2003 delivery 2003-09-10 21:16:27 +00:00
Mikhail Khodjaiants
95edb19234 Fix for PR 42790: Memory view is not cleared when target is terminated 2003-09-10 15:26:23 +00:00
Doug Schaefer
5a1119fd18 Got rid of the old parser. 2003-09-10 14:26:08 +00:00
Doug Schaefer
492f586b96 Creating zip distributions and got the source feature to work. 2003-09-10 13:40:31 +00:00
John Camelon
d4cfca7836 Patch for Hoda Amer
Core: 
        - Solved the double reference problem 
        - solution to bugs #42822, #42823, & #42822B 

Tests: 

        Moved three failed tests (bugs #42822, #42823, & #42822B) 
        from FailedCompleteParseASTExpressionTest to CompleteParseASTExpressionTest
2003-09-10 13:21:53 +00:00
Alain Magloire
79a8a117d0 Fix the parser 2003-09-10 03:10:10 +00:00
Tanya-Marise De Sousa
9c9ed44482 September 9, 2003 delivery 2003-09-09 22:18:54 +00:00
John Camelon
f2feec1e3c Patch for Bogdan Gheorghe
Here is a patch that should get the build going again...
2003-09-09 20:13:37 +00:00
John Camelon
7ff5917dad Patch for Hoda Amer
CORE
	-Added more IASTExpression.Kind handling to CompleteParseASTFactory.getExpressionResultType()	
TESTS
	-Seperated the Expression result type test in a new file : completeParseASTExpressionTests.
	-Added more test cases for simple types.
	-Added FailedCompleteParseASTExpressionTest for failed reference tests.
2003-09-09 20:01:23 +00:00
Mikhail Khodjaiants
cc49de64a7 Fix for PR 39680: Gash in error message for memory view. 2003-09-09 19:25:07 +00:00
Alain Magloire
9f964e420c Fix ClassCastException. 2003-09-09 19:22:54 +00:00
Alain Magloire
8a3a52b54a add the value part of the tootip for macros. 2003-09-09 19:09:14 +00:00
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