Vladimir Hirsl
d7c2d4834e
Added offset and length parameters for index entries.
...
Refactoring of AbstractIndexer. Moved old parser specific stuff to the appropriate subclass.
2005-04-08 15:52:28 +00:00
John Camelon
cfbadc7405
Patch for Devin Steffler.
...
add the actual operator kind if need be but Andrew said it is enough to just make sure that toCharArray() always returns the same thing regardless of spaces, comments, etc
2005-04-08 15:38:23 +00:00
John Camelon
e0adfeae97
Patch for David Daoust.
...
Another test for include path ordering.
2005-04-08 15:32:40 +00:00
Bogdan Gheorghe
03caf52d38
Changed SourceIndexer to get the offsets of the name being encoded instead of the offsets of the actual element.
2005-04-08 15:27:03 +00:00
John Camelon
a65769ef8a
Infrastructure to help fix all the ambiguity bugs.
2005-04-08 15:08:30 +00:00
Bogdan Gheorghe
817b4953c6
Added offset lengths to index storage
...
Refactored IndexView to display offset lengths
2005-04-08 06:07:51 +00:00
Andrew Niefer
8ec23b43cc
bug 90666, fix class cast execption
2005-04-07 21:24:46 +00:00
Bogdan Gheorghe
7c7ae6fd68
Refactored IndexerOutput to allow for passing in the length of an offset.
2005-04-07 20:33:22 +00:00
Bogdan Gheorghe
1a961a9736
Refactored index storage framework to allow for offset storage
...
Updated source indexer and ctagsindexer to add offset info to index
Updated IndexViewer to display offsets
Updated Index Tests
2005-04-07 20:19:53 +00:00
Andrew Niefer
2f68844e68
fixing bugs:
...
90616 - Type of an expression list is the type of last item in list
90603 - array out of bounds in CPPMethod.getScope
90662 - handle invalid redefinition of class
90608 - Don't add simpleDeclarations as function definitions
90633 - only use parameters for nodes with property IASTFunctionCallExpression.FUNCTION_NAME
2005-04-07 20:00:54 +00:00
John Camelon
e46664280a
Patch for Devin Steffler.
...
JUnits that cover the ISO C++ Spec.
Praise be to him.
2005-04-07 19:27:13 +00:00
John Camelon
1834447dce
NPE fix for Devin.
2005-04-07 16:34:36 +00:00
John Camelon
208aa6b61e
Removed yet another warning.
2005-04-07 14:57:00 +00:00
John Camelon
7beab5038c
Patch for Devin Steffler.
...
ArrayIndexOutOfBoundsException fix for DOMAST View
2005-04-07 14:39:29 +00:00
John Camelon
cdbad1649e
Fixed Bug 86274 - [Bindings] references inside typeid() don't have proper bindings
...
Fixed NPE in LocationMap.
2005-04-06 21:02:57 +00:00
David Inglis
64ba811365
fixed bug# 90440
2005-04-06 19:32:08 +00:00
John Camelon
e83f41c613
Fixed Bug 87894 - [Offset] example from windows.h generates weird AST in DOM View
2005-04-06 19:24:37 +00:00
Andrew Niefer
573d7a0dff
handle typedefs of functions
2005-04-06 19:11:41 +00:00
Andrew Niefer
7a42a70017
update to previous fix for 90498.
2005-04-06 18:39:09 +00:00
Andrew Niefer
73ca558363
fix bug 90498.
...
a constructor initializer doesnt make sense after a function declarator
2005-04-06 18:30:36 +00:00
Andrew Niefer
c739209ea0
file names in problem bindings, and don't report type problems if nothing was found
2005-04-06 18:15:54 +00:00
John Camelon
3119b13099
Further LocationMap fixes to remove loops.
2005-04-06 18:05:52 +00:00
David Inglis
c3b7353bc6
some changes to try and support resource level include & symbols property page
2005-04-06 17:49:12 +00:00
John Camelon
e4d8025f1e
Fixed infinite loop (sorry).
2005-04-06 17:16:51 +00:00
David Inglis
b3308552a6
use IWorkbenchHelpSystem
2005-04-06 16:54:24 +00:00
Andrew Niefer
d4891a2e74
Templates
...
- better handling of function templates
- basic handling of class specializations
- The binding for a templated declaration is now a ICPPTemplateDefinition itself
instead of being a normal binding owned by a template definition.
2005-04-06 15:01:04 +00:00
John Camelon
627c60e181
Removed warnings
2005-04-06 14:57:07 +00:00
John Camelon
60956bf10f
Fixed Bug 90193 Scanner faililng on Local/User paths as provided in Std. Make
2005-04-06 14:20:15 +00:00
John Camelon
082daae88f
Removal of old file cache from DOMScanner.
2005-04-06 02:29:09 +00:00
John Camelon
8b59056395
Fixed Bug 85049 -[Parser2] B * bp; declaration parsed as binary expression.
2005-04-06 02:02:04 +00:00
Doug Schaefer
93e17563e0
Added handling for keywords. Externalize the error message actually made use of the one that was already there).
2005-04-05 19:27:38 +00:00
John Camelon
66fdaff822
Removal of some java.util.Lists.
2005-04-05 19:04:42 +00:00
John Camelon
a11aba0b33
Fixed Bug 88996 - [DOM AST] IASTFileLocation needs to make reference to line numbers.
2005-04-05 18:31:36 +00:00
John Camelon
01c4750bab
Fixed 88802 - [DOM AST] IASTTranslationUnit needs a method to return include directives in order in which they were encountered
2005-04-05 17:57:32 +00:00
Doug Schaefer
a09f08ae6f
Turn on new content assist by default.
2005-04-05 17:42:15 +00:00
John Camelon
17481123ab
Fixed Bug 88662 - [DOM] Problem parsing postfix expression
2005-04-05 17:38:30 +00:00
John Camelon
e2e1f585eb
Fixed Bug 87811 - [Parser] NPE found in ASTNode#getNodeLocations() with problematic KnR C
2005-04-05 17:27:56 +00:00
John Camelon
1e8393f7a2
Added support for MacroExpansions as IASTNodeLocation.
...
Fixed Bug 88108 - Add support for Macro bindings.
2005-04-05 17:06:22 +00:00
Vladimir Hirsl
e4e566f433
Removed from version 1.3 by mistake.
2005-04-05 15:04:06 +00:00
Vladimir Hirsl
2a1fa02cde
Improved filtering of indexer problem markers.
2005-04-05 12:53:23 +00:00
Alain Magloire
f0657ffcaf
2005-04-04 Alain Magloire
...
Move to Eclipse-31M6
* src/org/eclipse/cdt/internal/ui/cview/CopyAction.java
* src/org/eclipse/cdt/internal/ui/cview/CViewMessages.properties
2005-04-05 02:54:30 +00:00
John Camelon
8ba02ba51a
Removed junit.jar.
2005-04-04 19:51:17 +00:00
John Camelon
26b0ae693a
Patch for Devin Steffler.
...
This patch includes:
- ICPPASTConversionName that represents C++ conversion member functions
-> also keeps track of the IASTTypeId for the conversion member function
- ICPPASTOperatorName that represents C++ overloaded operator member function
- a couple tests
2005-04-04 19:27:22 +00:00
Doug Schaefer
cb199fd44a
Bug 90201 - When completing on a declSpecifier, we didn't bail out on the declaration and added another name for the declarator. Now we do.
2005-04-04 18:59:14 +00:00
Doug Schaefer
4271b7bd80
Removed the (non-existing) jar file for this fragment.
2005-04-04 18:48:00 +00:00
Doug Schaefer
465ceb9d64
Fix version number.
2005-04-04 18:14:25 +00:00
Bogdan Gheorghe
824a56b572
Got rid of index flags and put in a new mechanism for indexers to add files
...
to the index directly.
Got rid of IDocument and replaced it with IFile resources throughout all
indexing framework.
Minor refactoring of CSearchPage to get rid of internal dependency.
2005-04-04 17:46:28 +00:00
Andrew Niefer
fbc8781e59
fix 90039
...
don't try and look up empty names.
when resolving declarations, make sure cached binding is of expected type
2005-04-04 17:33:06 +00:00
Doug Schaefer
12508e3e76
Added the x86_64 linux port as supplied by Intel. Removed the HPUX port from the build scripts. Restructured the fragments so that the arch specific bits of the linux port get their own fragments.
2005-04-04 15:37:05 +00:00
Andrew Niefer
407dc37063
fix bug 90039
...
when getting expression types, don't try to reresolve bindings for names that already
have a binding. Also, handle enumerators when they are the result of the expression
2005-04-02 01:22:44 +00:00