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

3731 commits

Author SHA1 Message Date
Alain Magloire
d00b5656b6 2005-05-06 Alain Magloire
PR 93902 to fix warnings.
	* plugin.xml
	* src/org/eclipse/cdt/internal/ui/search/FindDeclarationsInWorkingSet.java
	* src/org/eclipse/cdt/internal/ui/search/FindRefsInWorkingSet.java
	* src/org/eclipse/cdt/internal/ui/search/WorkingSetFindAction.java
	* src/org/eclipse/cdt/internal/ui/text/HelpCompletionContribution.java
	* src/org/eclipse/cdt/ui/CUIPlugin.java
2005-05-06 14:18:31 +00:00
John Camelon
c4c31b724f Bug 90606 - [IBinding] Problem from sizeof ambiguity
Bug 86861 - [Parser] IASTProblemStatement with cast expression as selector
2005-05-05 18:53:50 +00:00
Bogdan Gheorghe
ea15dddbc9 Refactored CTags Indexer to allow individual tags to add themslves to an Indexer Output (consolidated CTagsIndexAll and CTagsAddCompilationUnit)
CTagFileReader logic change to read in all tags in ctags file
Patch from Dave with fix for TempVA merge problem (Indexer View was opening BlocksInput without close) + other UI improvements
Renamed generated CTags file
Refactored indexer tests to not depend on EntryResult toString()
2005-05-05 04:25:16 +00:00
Andrew Niefer
641fbeb7a6 start of support for template parameter qualified types 2005-05-04 20:40:04 +00:00
John Camelon
037b93c764 Added some more tests. 2005-05-04 19:55:14 +00:00
Vladimir Hirsl
39e465b9a8 Fix for PR 92599: [Indexer] Remove annotation markers preference from DOMIndexer & friends
- Replaced indexer problem markers property page block for DOMIndexer.
  (from SourceIndexerBlock to NullIndexerBlock).
  Only inclusion not found preprocessor problem markers are going to be
  generated (there isn't an option in UI to disable/enable them yet).
- Also, fixed deleting of indexer problem markers when indexer is changed.
2005-05-04 18:58:40 +00:00
John Camelon
2bd5960655 Fixed locations for scanner problems. 2005-05-04 15:28:22 +00:00
John Camelon
249b5eb68e Removed warning. 2005-05-04 15:27:30 +00:00
John Camelon
d5663f5134 Patch for Devin Steffler.
FIXED 72716- [Search] Search actions in "magic" include files do not work.
2005-05-03 18:48:24 +00:00
John Camelon
c338788697 Forgot to comment broken test out of suite(). 2005-05-03 18:01:39 +00:00
Andrew Niefer
14aa4c430a speciializing nested templates with partial specializations 2005-05-03 15:56:18 +00:00
John Camelon
f8927a9f4c Commented out RefactoringRegressionTests#testFunction_31.
Patch for Devin Steffler.
FIXED 69063- [Search] Open Definition vs Open Declaration.
2005-05-03 15:48:34 +00:00
Andrew Niefer
3726661919 instantiating template template parameters 2005-05-03 15:24:42 +00:00
John Camelon
75c231fe01 Fixed Bug 92915 - [Parser] CDOM doesn't support parse of external files (IStorage) 2005-05-03 15:17:44 +00:00
Bogdan Gheorghe
8488a0d863 Added function definitions for CTags Parser
Refactored IIndexerOutput to take definitons for functions/methods
2005-05-03 04:41:58 +00:00
Bogdan Gheorghe
bdb7bbaf87 Some new index constants
Patch for Dave - IndexerView refactoring
2005-05-03 03:43:13 +00:00
John Camelon
dade6639b1 Works for me.
Test validation of 90647.
2005-05-02 22:48:36 +00:00
Andrew Niefer
0eef81cbaa fix part of bug 90678
-using declarations of class templates
2005-05-02 20:31:27 +00:00
John Camelon
d2e2b4f4b1 Fixed Bug 93123 - No way to determine if an IASTName is a definition 2005-05-02 20:15:51 +00:00
Andrew Niefer
8468711bac fix bug 90673
- template parameter as a target for resolving function references without parameters
2005-05-02 20:06:07 +00:00
Andrew Niefer
c69bab5a9f fix bug 90626- problems with using declarations 2005-05-02 19:42:24 +00:00
Andrew Niefer
2bd9664bb0 Template Bindings
-Distinguish between specializations and instantiations
- better handling of explicit specializations
- don't need to instantiate an explicit specialization
2005-05-02 18:04:32 +00:00
Vladimir Hirsl
8fb7e7383f Fix for PR 96762: DOM indexer misses some obvious symbols
Fixed calculation of file locations for names inside macro definitions.
2005-05-02 17:44:39 +00:00
John Camelon
e95f21d2d8 Patch for Devin Steffler.
FIXED 93281- [Open Declaration] the entire operator string shouldn't have to be selected for features to work
2005-05-02 17:40:48 +00:00
Bogdan Gheorghe
d3314df607 Patch from Dave - refactored EntryResults to decode index information within the Entry Result itself; updated Index View to make use of new EntryResult 2005-05-02 16:11:40 +00:00
Bogdan Gheorghe
c8d7b84191 Fix for IndexerBlock not persisting selected indexer for new projects 2005-04-29 20:11:57 +00:00
John Camelon
82d7ca2e7a Move failed tests to passing lot. 2005-04-29 01:03:20 +00:00
John Camelon
5e0e6d7eb2 Patch for Devin Steffler.
FIXED 86993- [Selection] CPPASTLinkageSpecification with bad offset due to macro expansion causes selection to fail in CPP
FIXED 93167- [Open Declaration] on destructor requires the entire word to be selected
FIXED 92632- [IBinding] CPPClassInstance binding has no declaration
FIXED - prevent DOM AST View from showing internal interfaces
2005-04-29 00:56:11 +00:00
Andrew Niefer
99aff8d4bd - fix NPE in CPPMethod.isInline
- default base clause visibility for classes is private, others are public
2005-04-28 21:56:40 +00:00
Andrew Niefer
6fa2b47130 template fixes
- instantiating a template within itself
- finding the definiition of a class template
2005-04-28 20:34:27 +00:00
Alain Magloire
10b6e03e06 2005-04-28 Alain Magloire
Patch from Devlin Steffler
	FIXED 84606- CDT needs to take advantage of background refresh of projects
	* src/org/eclipse/cdt/core/CCorePlugin.java
2005-04-28 17:22:07 +00:00
John Camelon
3bdeb43cf3 Fixed Bug 92806 - Clean up C & C++ Syntax AST Nodes for array usage. 2005-04-28 15:55:18 +00:00
John Camelon
027dc8cb93 Fixed Bug 93114 - [Parser] ClassCastException found in CPPASTProblem#getMessage() due to LocationMap$MacroExpansionLocation 2005-04-28 13:52:34 +00:00
John Camelon
7c6f79c6bc Add Declaration Ambiguity impl for C++. 2005-04-28 13:45:35 +00:00
John Camelon
f74fc1c0ac Add Declaration Ambiguity interface. 2005-04-28 13:45:05 +00:00
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