Doug Schaefer
9d949fe555
Content assist support in for statement.
2005-04-18 01:53:39 +00:00
Doug Schaefer
80830d7267
Content assist for array dimensions/indices in C.
2005-04-18 00:18:20 +00:00
Doug Schaefer
22d8e3c713
Added content assist for array declarations and accesses.
2005-04-17 12:59:14 +00:00
Doug Schaefer
5dee577e8a
Tightened up the handling of EOC in sizeof and fixed a failed test.
2005-04-16 15:09:03 +00:00
Doug Schaefer
bbb453cd43
Got content assist inside sizeof working as well as expressions in parenthesis.
2005-04-16 14:59:58 +00:00
Doug Schaefer
7766575f77
Cleaned up some extra code that is unnecessary with completion handling at the name level.
2005-04-16 14:20:15 +00:00
Doug Schaefer
d1eda86d21
Enabled content assist in expressions in C.
2005-04-15 21:57:01 +00:00
Andrew Niefer
1e45251b74
add binding interface methods to check storage class & function specifiers on bindings.
...
add IArrayType.getArraySizeExpression
2005-04-15 21:16:44 +00:00
Doug Schaefer
6fcccd4495
Added support for completion in parameters in C++. Also cleaned up some extra names there were being added.
2005-04-15 20:57:48 +00:00
Doug Schaefer
40969959b8
Fixed content assist in if conditional to take into account the if loop.
2005-04-15 20:31:49 +00:00
Doug Schaefer
6a40f67a52
Bug 90889 - Added content assist support for the condition in an if statement.
2005-04-15 20:21:31 +00:00
Doug Schaefer
4a8943986a
Sorted and removed duplicate proposals.
2005-04-15 19:52:49 +00:00
Doug Schaefer
fbc97ffbf6
Force the parser to treat header file translation units as C++ if they are in C++ projects. Fixed completion in class definitions. Removed my duplicate binding removal code since it depended on equals comparing the bindings (which is not the case for types).
2005-04-15 18:59:23 +00:00
Bogdan Gheorghe
672f24a4d4
Fix for 91544: DOM Indexer double indexing on save
2005-04-15 17:45:23 +00:00
John Camelon
a27d2a6da5
Removed AbstactGNUSourceCodeParser#mostRelevantScopeNode
2005-04-15 15:22:06 +00:00
Andrew Niefer
21c09e5d0f
fix up CPPSemantics.declaredBefore & resolving typedefs
...
also:
90654 - conversion operators
90653 - overloaded operators
86618 - conversion of string literal (const char *) to char *
2005-04-15 14:43:29 +00:00
John Camelon
81d46bfbf6
Patch for Devin Steffler.
...
FIXED 91233: DOM AST Viewer gets stuck on C stdio
2005-04-15 13:51:21 +00:00
Vladimir Hirsl
f9a0362d08
Fix for PR 91405: Search does not find declarations of printf
...
Index entries form include files external to workspace were erroneously stored under compilation unit's file id.
2005-04-15 12:48:52 +00:00
Doug Schaefer
6df8a731ad
Turned new content assist on for C.
2005-04-14 20:31:59 +00:00
Doug Schaefer
9877d0b3bd
Turned new content assist on for C.
2005-04-14 20:29:38 +00:00
Bogdan Gheorghe
fc2141e160
Fix for 91292
2005-04-14 05:17:49 +00:00
Alain Magloire
6c706f31ae
2005-04-13 Alain Magloire
...
Fix PR 91239
* src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java
2005-04-13 19:52:36 +00:00
John Camelon
7a6f934182
Added IASTNode#getContainingFilename()
2005-04-13 17:43:40 +00:00
Doug Schaefer
22c3065bd3
Removed the assumption that working copy has a resource, which for external files is false.
2005-04-13 16:16:43 +00:00
John Camelon
da287f19be
Add toString() to ParserLanguage.
2005-04-13 02:44:15 +00:00
Bogdan Gheorghe
68d068fd86
Fix for 91127
2005-04-13 01:27:06 +00:00
Alain Magloire
ed2df81872
2005-04-12 Alain Magloire
...
Fix for PR 91163, 91165 and 91169
* src/org/eclipse/cdt/internal/ui/compare/CMergeViewer.java
* src/org/eclipse/cdt/internal/ui/editor/CEditor.java
* src/org/eclipse/cdt/internal/ui/editor/CEditor.properties
* src/org/eclipse/cdt/internal/ui/editor/asm/AsmTextEditor.java
* src/org/eclipse/cdt/internal/ui/preferences/AbstractPreferencePage.java
* src/org/eclipse/cdt/internal/ui/preferences/CEditorPreferencePage.java
* src/org/eclipse/cdt/internal/ui/preferences/CodeAssistPreferencePage.java
* src/org/eclipse/cdt/internal/ui/preferences/CSourcePreviewerUpdater.java
* src/org/eclipse/cdt/internal/ui/text/CSourceViewerConfiguration.java
* src/org/eclipse/cdt/internal/ui/text/CTextTools.java
* src/org/eclipse/cdt/ui/CUIPlugin.java
2005-04-12 22:58:55 +00:00
John Camelon
5553a5da68
Partial fix for Bug 90525 - [DOM AST] LocationMap search methods require optimization
2005-04-12 20:58:19 +00:00
Alain Magloire
9efdb0e7d9
2005-04-12 Alain Magloire
...
- icons/full: Remove obsolete directory.
2005-04-12 19:14:04 +00:00
John Camelon
2a2d602088
Applied patch for Devin Steffler.
...
ANSI C99 example test suite for JUnit.
2005-04-12 17:52:36 +00:00
Doug Schaefer
ab99ce52be
Quick fix to get completion working again in C, i.e. use the old completion with C files.
2005-04-12 15:37:55 +00:00
Andrew Niefer
975dc239e9
avoid infinite recursive loop (caused by malformed AST) by requiring that the declaration of the type of a function parameter occurs before
...
the start of that function's declarator
2005-04-11 23:23:15 +00:00
Bogdan Gheorghe
b4a9f10228
Changed indexChangeNotification to removeIndex
...
Removed Info button from indexer dialog (Bug 91001)
2005-04-11 22:15:14 +00:00
John Camelon
77f685b9ba
Wrote test.
2005-04-11 20:08:49 +00:00
Andrew Niefer
8ca6992323
bug 91006
...
recursive loop resolving typedefs
2005-04-11 18:06:36 +00:00
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