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

3596 commits

Author SHA1 Message Date
Alain Magloire
e4ecea9c92 2005-04-11 Alain Magloire
Fix PR 91000: NPE in CEditorHoverConfigurationBlock
	* src/org/eclipse/cdt/internal/ui/preferences/CEditorHoverConfigurationBlock.java
	* src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties
2005-04-11 17:29:30 +00:00
Vladimir Hirsl
033cc2b06d Fix for PR 90193: Scanner faililng on Local/User paths as provided in Std. Make
User specified include paths (through the UI) are now created with isSystemInclude attribute set to true.
2005-04-11 05:16:11 +00:00
David Inglis
db68d20348 added some useful methods for creating UI controls 2005-04-11 00:56:03 +00:00
David Inglis
83852ed86c show id if no text 2005-04-11 00:55:22 +00:00
John Camelon
26907961a3 Fixed 90851 - [DOM AST] NPE in LocationMap.defineObjectStyleMacro 2005-04-10 21:54:27 +00:00
Bogdan Gheorghe
985b120edf Put in various CTags problem reporting via IndexMarkers.
Changed CTags execution to pass just the arguments in the Launch array.
Modified creation of CTags file to work on all platforms.
Cleaned up CTags block UI.
Fixed IndexerTests to take into account new toString() representation of IEntryResults.
2005-04-09 18:43:06 +00:00
Andrew Niefer
94d86b038e fix bug 90623
- allow redeclaration of typedefs of same type
- allow redeclaration of a typedef to itself
- if the type of a typedef is a typedef, return that typedef's type for getType()
- when considering declared offset of a template instance, use the templated version
2005-04-08 22:35:30 +00:00
Andrew Niefer
d5375ee2e1 fix ArrayIndex && NullPointer exceptions.
- use null function scope for implicit methods,
- implicit methods have public visibility
2005-04-08 20:51:11 +00:00
Andrew Niefer
e3119d2a9d fix bug 90611
there is no ambiguity between a using and its original
2005-04-08 20:26:49 +00:00
Vladimir Hirsl
6edbe49fa3 Added offset and length parameters for index entries.
Refactoring of AbstractIndexer. Moved old parser specific stuff to the appropriate subclass.
2005-04-08 19:35:43 +00:00
Andrew Niefer
81150f40fe fix 90253.
also clean up CVisitor creating bindings off declarators
2005-04-08 19:14:18 +00:00
Bogdan Gheorghe
8dc0e039c4 Indexer JUnit Fix 2005-04-08 18:53:46 +00:00
John Camelon
f1b89e7b94 Applied patch for Devin Steffler.
patch includes:
- made getUnpreprocessedSignature public in IASTNode
- refactored it to be named getRawSignature
2005-04-08 17:58:25 +00:00
Alain Magloire
daa9f4e175 2005-04-08 Alain Magloire
New icons from the IBM folks(Patch from DDaoust)
	* icons/*
	* src/org/eclipse/cdt/internal/ui/CPluginImages.java
	* src/org/eclipse/cdt/internal/ui/cview/CViewActionGroup.java
	* src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java
	* src/org/eclipse/cdt/internal/ui/cview/OpenProjectGroup.java
	* plugin.xml
2005-04-08 16:26:21 +00:00
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