Andrew Niefer
12c064978c
bug 91577. Do a IType.isSameType instead of IType.equals
2005-04-19 18:57:46 +00:00
John Camelon
1da410d13a
Further cleanup of Tokens for performance/memory.
2005-04-19 18:48:29 +00:00
Doug Schaefer
6368adec2a
Added support for varargs.
2005-04-19 18:03:28 +00:00
Doug Schaefer
b829c4ed8e
Added token counts to debug message in content assist.
2005-04-19 17:58:35 +00:00
Andrew Niefer
e832d582ff
bug 90817: promote caching methods to IScope and support remove binding
2005-04-19 17:45:50 +00:00
John Camelon
bd75012bd8
Added token2 for new implementations of IToken.
...
Saves 1MB of memory off tokens for parsing the trilogy (removing filename char array).
2005-04-19 17:20:41 +00:00
Bogdan Gheorghe
5ae8e3d4b7
Patch for Devin Steffler w/ Modifications - Indexer View Search
2005-04-18 19:06:02 +00:00
Vladimir Hirsl
f91d763e74
Utility function added: PerProjectSICollector.calculateCompilerBuiltins(IProject)
...
Static method to return compiler built-in scanner info.
2005-04-18 18:40:44 +00:00
Doug Schaefer
03c02af46b
Fixed declarations in C. Added more tests.
2005-04-18 18:30:27 +00:00
John Camelon
dbb59673ce
Partial fix/adjustment for Bug 91530 - FileTypeResolver reports a C++ header file as a C file.
...
InternalASTServiceProvider#getTranslationUnit() now assumes that a header file is a C++ file.
2005-04-18 17:46:27 +00:00
Doug Schaefer
241c3fcffe
JUnits for resolve prefix.
2005-04-18 17:07:03 +00:00
Leo Treggiari
ec7b7d4076
Apply patches:
...
1. Bob Monteleone - initial Discrete Custom Build Step support
2. Mikhail Sennikovsky - initial isSupported support
3. Norbert Pleott - support list of binary parsers in targetPlatform binaryParser attribute
2005-04-18 04:15:07 +00:00
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
Alain Magloire
847c9e8064
2005-04-15 Alain Magloire
...
Fix Pr 91581
* src/org/eclipse/cdt/debug/internal/core/breakpoint/CAddressBreakpoint.java
2005-04-15 18:24:52 +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
Alain Magloire
c7b5a7da63
2005-04-13 Alain Magloire
...
Fix PR 91002
* src/org/eclipse/cdt/debug/mi/internal/preferences/MIPreferencePage.java
2005-04-13 16:24:08 +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
Mikhail Khodjaiants
78c55ad047
Bug 91155: Wrong icon for "Restart".
2005-04-12 16:10:05 +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