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

3846 commits

Author SHA1 Message Date
Bogdan Gheorghe
cee31b91f4 Refactoring of SourceIndexer to use new IIndexerOutput
Refactoring of IndexerOutput
2005-05-31 17:25:47 +00:00
John Camelon
657c53d31e Patch for Devin Steffler.
Note to specifically look at the changes made to CoreModel.java as this is the fix for 96865.
The rest of the patch consists of tests and the changes to CTagsIndexer.java to make it compatible with those tests.

Updated for 77383 changes:

FIXED 96865- [DOM Indexer] won't run on new Standard Make C Project
includes JUnits for AutomatedSuite to test Open Definition/Open Declaration against the DOM Indexer and the CTags Indexer
added 29 tests for the above and raised the following bugs on those tests: 96689, 96690, 96694
2005-05-31 15:44:40 +00:00
John Camelon
3d244f21f0 Added test. 2005-05-31 15:22:58 +00:00
John Camelon
24648ae9ed Moved clients towards IASTNode.getFileLocation() and away from IASTTranslationUnit.flattenLocations( ... ). 2005-05-30 20:32:56 +00:00
Andrew Niefer
e7864031ca fixing template problems
- finding class definitions for classes nested in templates.
- comparing defered template instances
2005-05-30 19:35:02 +00:00
John Camelon
1786169b2b Added IASTNode#getFileLocation().
Updated DOM Indexer to use it.
2005-05-30 19:32:59 +00:00
John Camelon
2b8a395550 Patch for Devin Steffler.
Bug 97301  	flattenLocationsToFile returns null causing NPE in indexer
2005-05-30 19:19:14 +00:00
John Camelon
680530305f Patch for David Daoust.
ArrayUtil.removeNulls() optimizations and LocationMap algorithm updates.
2005-05-30 18:55:11 +00:00
John Camelon
1a9c0d8eb7 Patch for Devin Steffler.
Bug 97301  	flattenLocationsToFile returns null causing NPE in indexer
2005-05-30 18:26:49 +00:00
John Camelon
7f446a4ff5 Warnings warnings warnings. 2005-05-30 15:56:05 +00:00
Bogdan Gheorghe
d2748911a5 Add Includes to Index for DOM Indexer 2005-05-30 15:42:42 +00:00
Bogdan Gheorghe
30c47b2964 Add a new Named Entry constructor that takes strings 2005-05-30 12:53:17 +00:00
Bogdan Gheorghe
e2a5a6dbef Changed base class storage in CTag Indexer to use INamedEntry 2005-05-30 00:14:31 +00:00
Doug Schaefer
bc8ea403ac Cleaned up warnings in the tests. 2005-05-28 02:15:24 +00:00
Doug Schaefer
cf6eeec9c8 Get rid of access to internals. 2005-05-28 01:21:57 +00:00
Doug Schaefer
6232873fa7 Get rid of access to Assert which is an internal interface in the platform runtime. 2005-05-28 01:17:30 +00:00
Bogdan Gheorghe
2e324713bd Fix for compile error in CTagEntry 2005-05-27 20:59:33 +00:00
Andrew Niefer
2e7ff71a7e turn off externally linked variables for C (77383) 2005-05-27 20:11:05 +00:00
Bogdan Gheorghe
97ac9f71a0 ITypeEntry baseTypes can now set/return IIndexEntry 2005-05-27 20:03:49 +00:00
Bogdan Gheorghe
73c23e6b19 Patch for Devin: Fix for 96992 2005-05-27 19:47:34 +00:00
Alain Magloire
52961638a3 2005-05-27 Alain Magloire
Patch from Dave Daoust to externalize some strings
	* refactor/org/eclipse/cdt/internal/core/refactoring/rename/RenameElementProcessor.java
	* src/rg/eclipse/cdt/internal/ui/CUIMessages.properties
	* src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties
	* src/org/eclipse/cdt/internal/ui/search/DOMQuery.java
	* src/org/eclipse/cdt/internal/ui/search/LevelTreeContentProvider.java
	* src/org/eclipse/cdt/internal/ui/text/contentassist/CCompletionprocessor2.java
	* src/org/eclipse/cdt/ui/dialogs/CodeFormatterBlock.java
2005-05-27 19:27:55 +00:00
John Camelon
6597aae483 Fixed Bug 95411 incorrect parse of for statement 2005-05-27 19:09:16 +00:00
Bogdan Gheorghe
b453ede83c Return search results for include references 2005-05-27 18:16:29 +00:00
Andrew Niefer
52ae549c9f Patch from Devin Steffler with modifications (bug 95757) 2005-05-27 15:44:57 +00:00
Bogdan Gheorghe
3720c60ebd Refactoring for the DOM Indexer to use new IIndexEntry encoding 2005-05-26 20:00:16 +00:00
Andrew Niefer
86baacedc8 fixing invalid problem bindings:
- default constructors via parameters with default values
- expression types with typedefs
- default values vs void
2005-05-26 19:43:59 +00:00
John Camelon
3462e648ba Fixed Bug 95424 - [Parser] Bad AST from static function call 2005-05-26 18:42:10 +00:00
John Camelon
89ec5fadf6 Patch for Devin Steffler.
Fixed Bug 96702 	[Scanner] ASTNode offsets are wrong.
2005-05-26 15:59:01 +00:00
John Camelon
cf31ad398a Fixed Bug 95720 [Ambiguity] Cast Expression ambiguity 2005-05-26 15:54:32 +00:00
David Inglis
795d676119 preformance improvment for CModel 2005-05-25 19:50:52 +00:00
John Camelon
044af29ec9 Patch for Devin Steffler.
Fixed Bug 96678 - Scanner is reporting bad character problem on // comments
2005-05-25 19:17:07 +00:00
Andrew Niefer
c1bbb62c95 tests for last commit:
- types of conditional, new & delete expressions
- handle typedefs in conversions for bug 96655
2005-05-25 18:16:22 +00:00
Andrew Niefer
353cad011a - types of conditional, new & delete expressions
- handle typedefs in conversions for bug 96655
2005-05-25 18:13:45 +00:00
John Camelon
8206cea697 Patch for Devin Steffler.
Fixed Bug 86126   	[_Context] \r is included in context_directive_end
2005-05-25 17:48:39 +00:00
John Camelon
fb70c25e85 Added test. 2005-05-25 17:40:35 +00:00
John Camelon
5995f1cd0f Adjusting performance of declarator/declSpec. 2005-05-25 17:28:48 +00:00
Andrew Niefer
be835cdda0 -Fix bugs in selecting set of viable functions
-allow matching of template parameters during function calls
2005-05-25 15:28:27 +00:00
John Camelon
4f2422d695 Patch for Devin Steffler.
Bug 86870	  	[Offsets] simple #if/#define example seems flaky with offset/length
2005-05-25 14:57:08 +00:00
Andrew Niefer
14d4d30038 handle typedefs as qualifying names 2005-05-24 18:15:52 +00:00
Andrew Niefer
d1d753ba3a Relax type comparisons a bit around defered class template instances, especially in derived to base conversions. fixes a couple hundred problems parsing iostream. 2005-05-24 15:38:33 +00:00
Vladimir Hirsl
ab0ae772ae Indexer performance improvement: indexing nodes from external include files only once. 2005-05-20 20:29:35 +00:00
Andrew Niefer
30b6f0e0af modified patch from Devin Steffler, bugs 86868, 95635, 95786 2005-05-20 19:30:32 +00:00
Bogdan Gheorghe
fa2d057c98 IndexerOutput refactoring to use IIndexEntry
CTags indexer refactoring to use new IIndexEntry hierarchy, store modifiers, function signatures
2005-05-20 14:16:38 +00:00
John Camelon
eb89746de5 Fixed broken JUnits. 2005-05-20 12:10:35 +00:00
John Camelon
5af5a134fd Undo some of the last checkin to remove the performance problems I created in generating the physical parse tree. 2005-05-20 02:47:51 +00:00
Alain Magloire
10249b11c4 2005-05-19 Alain Magloire
Fixed PR 95943
	* src/org/elcipse/cdt/internla/corext/template/c/TemplateMessages.properties
	* src/org/elcipse/cdt/internla/corext/template/c/TranslationUnitContextType.java
2005-05-19 20:26:56 +00:00
Andrew Niefer
70ae4fdbaf fix bug 93573 2005-05-19 20:26:20 +00:00
Vladimir Hirsl
d92ccd3e38 Final fix for 95641: [Scanner Config] Per file scanner info not available for header files and not compiled source files.
- For include files and source files that are not compiled per file discovered scanner info defaults to project's discovered scanner info.
- A new method is added to CoreModel to determine if per resource scanner info is empty. This method will take into account effective per file discovered scanner info.
2005-05-19 20:08:18 +00:00
Andrew Niefer
68e0514086 fix bug 95714 2005-05-19 18:59:20 +00:00
John Camelon
a5843c1e7e Fixed Bug 90641 [Parser] function decl vs ctor initializer ambiguity
Fixed Bug 81806	[Parser2] [Ambiguity] Constructor Initializer is mistaken as function prototype
Fixed Bug 94779	[Ambiguity] declarator with initializer parsed as function declarator
2005-05-19 18:47:41 +00:00