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

3883 commits

Author SHA1 Message Date
Andrew Niefer
2e56e1ed70 Fix qualification ranking problem 2005-06-08 22:02:49 +00:00
Andrew Niefer
f875db0ab0 fix bug 98998 (ClassCastException). Also fix ArrayIndexOutOfBounds Exceptions 2005-06-08 20:33:06 +00:00
Andrew Niefer
4fd7b386b2 bug 98760 2005-06-08 18:44:41 +00:00
Vladimir Hirsl
04cd3adec5 Discovered path container wizard page now properly displays per file scanner info.
Fixed couple of NPEs.
2005-06-08 17:55:02 +00:00
Andrew Niefer
6461cf1c92 fix bug 98784 2005-06-08 15:58:40 +00:00
Andrew Niefer
164b25ecae fix bug 98961 (ClassCastException) 2005-06-08 15:46:00 +00:00
Andrew Niefer
d3db562481 Fixing ClassCastExceptions, NPE's && ArrayIndexOutOfBounds, includes bug 98704 2005-06-08 14:24:54 +00:00
Vladimir Hirsl
6e8ba9eebb Fix for a problem with DOM indexer, where external header files in translation unit's inclusion tree were not visited.
Optimization from Dave; skipping declarations in already visited external headers.
2005-06-07 20:40:23 +00:00
Alain Magloire
3d2fcb3aa4 2005-06-07 Alain Magloire
Patch form Chris Recoskie to provide an ID to the wizard.
	* src/org/eclipse/cdt/ui/wizards/NewCProjectWizardPage.java
2005-06-07 20:25:06 +00:00
John Camelon
7d1631e8ef Fixed Bug 98806 - selectNodeForLocation fails after typename 2005-06-07 20:20:46 +00:00
Bogdan Gheorghe
f20ffd5b51 Fix for 92296 (Source Indexer doesn't encode definitions)
Fix fo 92628 (Definitions missing in new Search Engine)
Got rid of FWD_CLASS, FWD_STRUCT and FWD_UNION encodings (updated all 3 indexers)
Updated Indexer View (got rid of FWD declarations)
2005-06-07 17:48:18 +00:00
Vladimir Hirsl
2290223ab3 Fix for NPE in DOMSourceIndexerRunner.AddMarkerProblem.run().
Possible fix for PR 98571: Multiple "Starter.exe" and "cygpath.exe" when launch IDE
2005-06-06 20:22:51 +00:00
Andrew Niefer
58ed6a6cdd fixing C Bindings:
- external functions return empty function type instead of null
- optimizations for indexing
- fix bug regarding function body scopes being marked as fully cached prematurely
2005-06-06 20:11:08 +00:00
Andrew Niefer
46bac7d344 fix class cast exception 2005-06-06 16:58:37 +00:00
John Camelon
6d35ccf9b4 Patch for Devin Steffler.
Bug 98328 	[Content Assist] infinite loop encountered in C projects (related to K&R C parameters)
2005-06-06 15:52:15 +00:00
John Camelon
8a37c61a8c Patch for Devin Steffler.
Fixing ArrayUtil.removeNulls().
2005-06-06 15:41:09 +00:00
Andrew Niefer
a5ed254394 fix bug 98365 enums nested in structs (C) 2005-06-06 15:14:28 +00:00
Andrew Niefer
77ec35c624 fix bug 98502, types of typedefed enums 2005-06-06 14:40:04 +00:00
Vladimir Hirsl
30084a7e84 Fix for PR 93786: DOM Indexer adds local variables to the index
Other smaller fixes in DOM Indexer domain.
2005-06-03 20:32:18 +00:00
Andrew Niefer
072e9d936e ICPPClassType.getNestedClasses()
ICPPNamespace.getMemberBindings()

for bug 92425
2005-06-03 20:03:36 +00:00
Andrew Niefer
a31d84767b fix null pointer exceptions 2005-06-03 15:41:36 +00:00
Andrew Niefer
153639e016 implement getQualifiedName for unknown template bindings 2005-06-03 14:33:42 +00:00
Andrew Niefer
6df326b48c fix NPE in CPPField.getVisibility 2005-06-02 18:19:58 +00:00
Bogdan Gheorghe
98ac994722 Refactored CIndexStorage to persist modifier bit fields and function signatures
Updated method search pattern to make use of the newly stored info
2005-06-02 05:44:46 +00:00
John Camelon
121b48c3d1 Fixed 86282 [Parser] New expression for array of 10 pointers to funct...
Fixed 90640 [Parser] invalid syntax error with cpp 8.2-3
Fixed 90671 [Parser] [Ambiguity]invalid syntax error on cpp 14.3-2
2005-06-01 20:30:59 +00:00
Vladimir Hirsl
8e99ab5565 Modified DOM indexer to use IIndexEntry hierarchy to store index entries.
This enables more information to be stored during indexing (modifiers, function sigantures,...). Also should address definition/declaration issues raised by Devin.
2005-06-01 19:45:33 +00:00
Andrew Niefer
b7745b5167 fix NPE bug 97447 2005-06-01 19:29:12 +00:00
Andrew Niefer
e5e342776d patch from Devin Steffler for bug 97020 2005-06-01 18:38:49 +00:00
Andrew Niefer
a0e5adac22 bug 91707 - overloaded operators [] and ->
-also fix issue with defered template instances
2005-06-01 17:55:35 +00:00
John Camelon
9dc5a7dffd Fixed Bug 75858 - [Parser] [Ambiguity] Relational expression parsed as template-id 2005-06-01 15:53:48 +00:00
John Camelon
f19c9e9061 Fixed Bug 94933 - IASTTranslationUnit.flattenLocationsToFile does not work correctly 2005-06-01 13:56:45 +00:00
John Camelon
03a6a074ae Fixed Bug 97603 - [DOM AST] IASTNode.getFileLocation returns null for a macro name 2005-05-31 20:29:38 +00:00
Bogdan Gheorghe
f4ae254411 Refactor CPPSelectionTestsCTagsIndexer to check to see if the proper CTags is installed prior to running the test 2005-05-31 19:43:31 +00:00
Bogdan Gheorghe
bfee5d5b13 Added a method to CTagsIndexer to ensure that the proper version of CTags exists
Updated CPPSelectionTestsCTagsIndexer to check to see that CTags exists before running tests
2005-05-31 19:36:40 +00:00
Andrew Niefer
f7d25b8b16 fixing template problems
- better handling of explicit instantiations
- argument deductions from template instances
- fix bug clearing bindings on failed function template definition match
2005-05-31 19:25:17 +00:00
John Camelon
e5610988d7 Patch for David Daoust.
Cleaning up the Indexer View.
2005-05-31 19:23:26 +00:00
John Camelon
b208d1adfd Patch for Devin Steffler.
This patch gets rid of the work around added to CoreModel with the last patch.  It was required in order to get C(PP)SelectionTests*Indexer working but the better way to do this is to create a scanner config for the projects for those tests.

This patch also improves the speeds of CSelectionTestsCTagsIndexer and CPPSelectionTestsCTagsIndexer by adding CTagsIndexer#notifyListeners(IndexDelta) to Index.java.
2005-05-31 18:55:35 +00:00
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