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

3757 commits

Author SHA1 Message Date
Bogdan Gheorghe
365b5f320c Fix for Search Test suite (to take into account new Search Engine)
Fix for reference tests in Search Test suite
2005-04-22 15:12:07 +00:00
Bogdan Gheorghe
f9c9df1db7 Patch for Devin Steffler -
Fixed 92074- [Indexer View] constructors (now methodDecl) do not show up in Indexer View
2005-04-21 15:53:36 +00:00
Bogdan Gheorghe
cef2041f15 First pass at new Search Engine (queries the index directly - dramatically increasessearch performance; still missing definitions, function parms, Working Copy)
Refactored CIndexStorage - got rid of operations dealing with multiple indexes
Modified the SourceIndexer to encode the proper offsets for references
2005-04-21 15:46:06 +00:00
Vladimir Hirsl
2bd5fd9dfa Fix for PR 91964: Dom Indexer misses give a friend declaration for forward decls. Fixed detection of friend class/struct declaration.
Fix for PR 92060: [DOM Indexer] for C projects only seems to do macros now. Taken a different approach by wrapping calls to IIndexerOutput in anticipation of its soon change.
2005-04-21 13:46:13 +00:00
Doug Schaefer
dd0c8223c8 A half hearted attempt at completion inside a template id. 2005-04-20 20:26:02 +00:00
John Camelon
87d1920e2b Remove setImage() from IToken. 2005-04-20 17:27:06 +00:00
Doug Schaefer
0b0d156d87 Added using support. Cleaned up tEOC handling. 2005-04-20 14:14:14 +00:00
Bogdan Gheorghe
cf1d5bf0d1 Dave Daoust's patch for 91946 w/ Modifications
Cleaned up deprecated Search UI
2005-04-20 05:59:37 +00:00
John Camelon
fed558e7fc Remove warning. 2005-04-19 23:54:34 +00:00
John Camelon
d1d1ba386a Further token refactoring. 2005-04-19 21:04:12 +00:00
John Camelon
1356ff71b3 Further token refactoring. 2005-04-19 20:50:28 +00:00
John Camelon
8858cc1fd3 Fix broken tests. 2005-04-19 20:38:41 +00:00
Doug Schaefer
f922e4880f Tidied up some loose ends in expression completion. 2005-04-19 20:17:23 +00:00
John Camelon
e43fccacd1 Fix broken tests. 2005-04-19 20:16:43 +00:00
John Camelon
e7d6eed46d Fixed Bug 91086 - Indexer problem: Preprocessor inclusion not found 2005-04-19 19:32:33 +00:00
Andrew Niefer
ccee647b44 bug 91878: ArrayIndexOutOfBoundsException & ClassCastException 2005-04-19 19:13:09 +00:00
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
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
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