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
John Camelon
0abbfb7df8 Patch for Devin Steffler.
Validation/fixes for the following defects:
FIXED 86698- [Selection] selecting from constructor chain initializer fails to find IASTNode due to stop condition
FIXED 64181- [Search] Open declaration on a namespace does not offer all possible declarations
FIXED 80823- [F3] Open Declaration should find #defines of basic_types
FIXED 64326- [Search] Hyperlink navigation does not work on referenced class/struct/union members
2005-04-28 02:25:52 +00:00
Andrew Niefer
9e7f365eba tweaks to the DOM AST view by Devin
- better handling of DOMExceptions
- don't call IScope.flushCache
2005-04-27 21:30:25 +00:00
Andrew Niefer
278786b79a fix bug 86547: default parameters and order of resolution. 2005-04-27 20:51:43 +00:00
Andrew Niefer
2794dda812 bug 92885: ArrayIndexOutOfBoundsException 2005-04-27 20:23:03 +00:00
Andrew Niefer
37e8015bf2 bug 92882: report problem for method definition not matching declaration 2005-04-27 19:29:36 +00:00
Bogdan Gheorghe
6f38f94b90 Added Indexer Preference page that sets up the indexer to use for new projects
Removed Index Enabled checkboxes from Source + Dom indexers
Added import ctags file option under CTags Indexer
Fixed Apply/OK problem
2005-04-27 19:18:13 +00:00
John Camelon
308e1f4417 Fixed Bug 92980 - [Parser] infinite loop caused by invalid source code 2005-04-27 19:11:32 +00:00
John Camelon
15fc3932fa Test to verify Bug 90648 - [Parser] [Ambiguity] in decl of reference to array 2005-04-27 18:51:48 +00:00
Andrew Niefer
af10bf00cb fixing problems encountered when resolving bindings in some order other than top down
- declarations of template parameters
- containing scope of a method
2005-04-27 18:30:34 +00:00
John Camelon
0fedc36b90 Applied patch for Devin Steffler.
Open Declarations/Search For Refs/Search for Decls actions reworked to use the new DOM.
2005-04-27 17:43:33 +00:00
John Camelon
8b54fcec9e Added in framework to allow for ambiguities to be resolved after parse completes by using a heuristic in evalutaing the validity of a binding.
Also added in extra IProblem generation in BaseScanner for invalid characters.
2 outstanding broken tests : Andrew is investigating Template failing test.
I am investigating the Refactoring broken test.
2005-04-27 16:51:32 +00:00
Andrew Niefer
4b27d3dac7 properly handle classes with qualified names or template-ids in the name 2005-04-26 22:30:06 +00:00
Andrew Niefer
56adc615f8 fix bug 92783: ArrayIndexOutOfBoundsException 2005-04-26 22:17:44 +00:00
Andrew Niefer
3fedd1b299 fix bug 92773, ClassCastException 2005-04-26 22:07:58 +00:00
Andrew Niefer
10298b85c7 fix bug 91773: allow constructor chain initializers to look in the whole class scope for bindings 2005-04-26 21:51:03 +00:00
Andrew Niefer
b3f9f20ed8 fix template instances 2005-04-26 21:39:26 +00:00
Andrew Niefer
f45b9b7692 more problem bindings in C 2005-04-26 21:28:26 +00:00
Andrew Niefer
cd54f2cfa5 bug 92791: more problem reporting from C 2005-04-26 21:21:02 +00:00
Andrew Niefer
8668326658 bug 77024 : handle implicit object parameters 2005-04-26 20:52:15 +00:00
Andrew Niefer
b3cfc78c05 add IScope.flushCache() 2005-04-26 18:27:37 +00:00
Alain Magloire
a88eb122a2 Use the offset of the IMatch 2005-04-26 17:58:50 +00:00
Andrew Niefer
241036375c bug 92768 - expected invalid type problem
- fix also class cast exception in CPPField.getPrimaryDeclaration
2005-04-26 15:59:14 +00:00
John Camelon
da93b4e50e Fixed Bug 92779 - [Parser] LocationMap#createASTMacroDefinition needs to set ASTObjectMacro's parent 2005-04-26 15:38:13 +00:00
Bogdan Gheorghe
85f5ea3b48 Update to constant references in search patterns 2005-04-25 19:22:32 +00:00
Bogdan Gheorghe
0bca2b33c3 Patch for Dave Daoust - cleans up some name references in the search tests 2005-04-25 18:53:48 +00:00
Doug Schaefer
4b511c67ae Hooked up the C Help system to the new content assist. 2005-04-25 18:35:52 +00:00
John Camelon
bc812babe8 Fix Bug 92605 - [LocationMap] context_directive_end is off by 1 somewhere
Updated DOMAST Find In View action accordingly.
2005-04-25 18:08:50 +00:00
Andrew Niefer
acb86c08b9 bug 86639 - anonymous unions
bug 80940 - content assist didn't consider delcarators subsequent to a match
2005-04-25 17:56:46 +00:00
Doug Schaefer
141d4a2510 Hooked up search to the new content assist. 2005-04-25 17:07:51 +00:00
John Camelon
d85e184a5d Fixed Bug 90978 - references to macros report wrong location information
Updated/cleaned up tests.
2005-04-25 15:26:55 +00:00
Bogdan Gheorghe
1c5c64581c Index Reader Interface Refactor - a patch contribution by Dave Daoust 2005-04-25 14:01:51 +00:00
John Camelon
d04244d5f1 Potential fix for [Parser NPE] NPE found in SavedCodeReaderFactory#createCodeReaderForTranslationUnit(String path) 2005-04-25 13:11:45 +00:00
Andrew Niefer
5b282cb2f4 - consider template parameter default values
- partially fixes 76951, fixes 90670
2005-04-22 20:32:54 +00:00
Doug Schaefer
8230e97539 Start at content assist for constructor initializers. 2005-04-22 18:20:13 +00:00
John Camelon
90c4d131cc Updated the CodeReaderCache to make it easier to test w/performance JUnits. 2005-04-22 17:49:54 +00:00
Andrew Niefer
7aef086165 fix bug 45129
- function to pointer conversion
- fix loop in argument deduction of template arguments from function types
2005-04-22 17:46:01 +00:00
Doug Schaefer
bac2cf5297 Patch for Markus: turn off old refactoring UI if new refactoring plugin loaded. Hook up new refactoring UI. 2005-04-22 17:10:10 +00:00
Vladimir Hirsl
7c8ce5b42e Added per file C/C++ Includes & Symbols property page to display per file scanner info (discovered and user specified). 2005-04-22 16:04:06 +00:00
Andrew Niefer
7d7fa374bf Templates.
- better handling of specializations
- argument deduction, ranking of specializations and overloaded function templates
- this fixes or addresses part of bugs 90682, 90684, 90668, 90686, 90672, 90678
2005-04-22 15:32:12 +00:00
Bogdan Gheorghe
365b5f320c Fix for Search Test suite (to take into account new Search Engine)
Fix for reference tests in Search Test suite
2005-04-22 15:12:07 +00:00
Bogdan Gheorghe
f9c9df1db7 Patch for Devin Steffler -
Fixed 92074- [Indexer View] constructors (now methodDecl) do not show up in Indexer View
2005-04-21 15:53:36 +00:00
Bogdan Gheorghe
cef2041f15 First pass at new Search Engine (queries the index directly - dramatically increasessearch performance; still missing definitions, function parms, Working Copy)
Refactored CIndexStorage - got rid of operations dealing with multiple indexes
Modified the SourceIndexer to encode the proper offsets for references
2005-04-21 15:46:06 +00:00
Vladimir Hirsl
2bd5fd9dfa Fix for PR 91964: Dom Indexer misses give a friend declaration for forward decls. Fixed detection of friend class/struct declaration.
Fix for PR 92060: [DOM Indexer] for C projects only seems to do macros now. Taken a different approach by wrapping calls to IIndexerOutput in anticipation of its soon change.
2005-04-21 13:46:13 +00:00
Doug Schaefer
dd0c8223c8 A half hearted attempt at completion inside a template id. 2005-04-20 20:26:02 +00:00
John Camelon
87d1920e2b Remove setImage() from IToken. 2005-04-20 17:27:06 +00:00
Doug Schaefer
0b0d156d87 Added using support. Cleaned up tEOC handling. 2005-04-20 14:14:14 +00:00
Bogdan Gheorghe
cf1d5bf0d1 Dave Daoust's patch for 91946 w/ Modifications
Cleaned up deprecated Search UI
2005-04-20 05:59:37 +00:00
John Camelon
fed558e7fc Remove warning. 2005-04-19 23:54:34 +00:00
John Camelon
d1d1ba386a Further token refactoring. 2005-04-19 21:04:12 +00:00
John Camelon
1356ff71b3 Further token refactoring. 2005-04-19 20:50:28 +00:00