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

128 commits

Author SHA1 Message Date
Bogdan Gheorghe
502f1c4822 Fix for Bug 78678: Indexer stops reindexing file after repeated saves 2004-11-17 21:52:45 +00:00
Bogdan Gheorghe
2473fc9bad Partial Fix for Bug 74427: Indexer needs to store more info
Add more info to the index notification mechanism
Updated Indexer Tests to use new notification mechanism
2004-11-02 06:43:17 +00:00
John Camelon
6dc6b84d4b Fixed 72527 - [Scanner] Remove Scanner, ScannerException & clean up IScanner interface 2004-08-30 15:17:40 +00:00
Andrew Niefer
c2f1517d54 fix parsing international files
bug 70852, 70927
2004-08-13 19:52:32 +00:00
Bogdan Gheorghe
5e29d237f6 Fix for 71964: Search parses too many times 2004-08-13 18:54:25 +00:00
Bogdan Gheorghe
9df1ac81b8 Fix for Bug 59493: need to refine index query for open-type 2004-08-11 19:50:26 +00:00
Andrew Niefer
04b2ae06b5 Add IASTQualifiedNameElement.getFullyQualifiedNameCharArrays()
and modify Search to take advantage of the IAST providing char[]s.
2004-08-10 20:40:14 +00:00
Andrew Niefer
d38225d581 - add IProblem reporting to Scanner2
- modify function macro handling to fix test for bug 62009
- modify Search's use of the scanner to fix FunctionMethodPatternTest::testOperators_bug43063_bug42979
2004-08-06 19:42:57 +00:00
John Camelon
a17096c97e Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=69872.
Moved TimeOut to parser public package in src/ and renamed it to ParserTimeOut.
See resolution description in the defect for more details.
2004-07-21 17:57:57 +00:00
Bogdan Gheorghe
39fd1475ba Indirect fix for Bug 65551: [Search] Search for Variable references should not include parameters
Instead of excluding parameter references from searches, added parm declarations to the index (for
both functions and methods)
2004-06-25 20:43:44 +00:00
Bogdan Gheorghe
1075c0ba5f Fix for 68550: [Indexer] Cannot restart indexer by touching .c/.cpp/.cc files 2004-06-25 19:02:11 +00:00
Bogdan Gheorghe
0396ced3b7 Fix for 66695: [Indexer] Manually add an include path to a file/folder is ignored
Changed CompletionEngine getScannerInfo to get the info from a resource instead of
a project in order to get a complete list of include paths
2004-06-24 21:51:38 +00:00
Andrew Niefer
0bf2405b42 68409
- fix out of memory exception while searching.
- fix hierarchical search view issues when offsets are off
2004-06-24 18:58:03 +00:00
John Camelon
68640e20a9 Patch for David Daoust - Updated IBM Copyright notices 2004-06-23 20:31:49 +00:00
Alain Magloire
dbaa2dcea9 Part of PR 68246.
Close the inputstream to release resource handle
	when we done with it, we can not rely on the GC to do it for us.
2004-06-23 03:32:16 +00:00
Bogdan Gheorghe
726c615400 Modified JobManager to change state from waiting to enabled on a job request. 2004-06-22 03:17:19 +00:00
Andrew Niefer
c5c4b73fed tweaks to the indexer to fix some files not getting indexed on reopen
and potential to get the indexer disabled.
2004-06-18 23:15:25 +00:00
Bogdan Gheorghe
2164ad4e15 Fix for 60490: Selected resources option should only be enabled/disabled in the Navigator and C/C++ Projects views 2004-06-16 05:47:37 +00:00
Andrew Niefer
7f8eb9fbd2 bugs 66981, 66799 - don't do indexer requests if the indexer is turned off
for that project.  Also, when turning off the indexer, discard the queued up
jobs for that project.
2004-06-14 21:29:33 +00:00
Andrew Niefer
e9f3066ac6 bug 67001 - synchronize indexer job countdown, and only process job
cancel on tickdown
2004-06-14 18:21:28 +00:00
Andrew Niefer
41db303fbf bug 48308 - don't block the content assist while waiting for indexing,
force the search to happen on the partial index
2004-06-14 14:39:52 +00:00
Bogdan Gheorghe
49500fb30e Fix for Bug 63275 - Ensure that only declarations and references are found for enumerations/enumerators 2004-06-14 03:31:51 +00:00
Andrew Niefer
75fee20f69 fix bugs 43063 & 43498 2004-06-11 18:29:03 +00:00
Andrew Niefer
7858f60f7e fix for bug 64986 - handle containers in CSearchScope 2004-06-10 20:46:57 +00:00
Doug Schaefer
a206e32d2a Changed the interface to the Scanner to take a CodeReader object.
A CodeReader simply contains a char[] and the name of the file, if any,
that the char[] is the contents of. This leads us down the path of using
char[]s in the parser instead of Strings in an attempt to cut down on
our memory usage.
2004-06-04 21:01:48 +00:00
Bogdan Gheorghe
eebe6d4aeb Externalized index notification job string 2004-05-28 20:18:29 +00:00
Bogdan Gheorghe
87e2ecff89 Fix for Bug 60946 - [Indexer] indexer should provide notification whenever index changes
Provide a notification to the listener of index events
Fix for Bug 44926 - add extensibility to gracefully handle preprocessor exceptions
Added an IndexProblemHandler to handle parser IProblem callbacks
2004-05-28 19:44:48 +00:00
Andrew Niefer
a7e23f8c15 remove warnings 2004-05-28 14:54:58 +00:00
Andrew Niefer
e2aba75dbb - Move cdt.internal.core.parser.util.ASTUtil to cdt.core.parser.ast
- Modify search to use ASTUtil for building function parameter strings
- Modify selection search to use parameter info in search (bug 63966)
2004-05-26 18:24:15 +00:00
Andrew Niefer
a4bc1beabc fix bug 63478 2004-05-21 21:08:40 +00:00
Andrew Niefer
4b1ecbf65b bug 43014, 62979: Reporting IProblems encountered during indexing. Only preprocessor problems to start 2004-05-21 20:33:16 +00:00
Andrew Niefer
701ada92df bug 62731 2004-05-21 18:16:58 +00:00
Bogdan Gheorghe
22055aad20 bug 63320 - Search does not consider working copies
Added a check to turn off indexer timer thread, if number entered is <= 0
2004-05-21 14:34:44 +00:00
Andrew Niefer
db5fe28b4e fix bug 62651 2004-05-18 19:20:23 +00:00
Bogdan Gheorghe
a8037dbc3a Fix for 62512
Added matching routine to IncludePattern
2004-05-18 02:29:20 +00:00
Andrew Niefer
9f21cf4d4a bug 61044 - report matches after each compilation unit 2004-05-17 18:06:33 +00:00
Bogdan Gheorghe
c3ff06502c Update search results as they come in 2004-05-17 05:14:31 +00:00
Bogdan Gheorghe
649504b424 Fix for bug 60491
Added working copy filtering to search engine
	From now on only relevent working copies are considered for search
	If no index paths are found then search will return no results regardless of any working copies passed in
2004-05-14 23:27:47 +00:00
Andrew Niefer
e22d8fbc58 show name of current index job in the progress view 2004-05-14 20:26:40 +00:00
Andrew Niefer
35b475be54 bug 56411 - a request to index a project will restart a paused index 2004-05-14 19:15:51 +00:00
Andrew Niefer
21c8756a37 bug 56411 2004-05-14 18:29:54 +00:00
Bogdan Gheorghe
79365779b6 Fix for intermittent search test failures 2004-05-12 03:48:17 +00:00
Bogdan Gheorghe
2f19221ac0 Modified indexer friend encoding to encode IASTElaboratedTypeSpecifier 2004-05-07 16:37:35 +00:00
Bogdan Gheorghe
c29caac4d0 Refactored search engine to take an IMatchLocator; added friends to the index: removed derived from search page 2004-05-06 18:33:01 +00:00
Bogdan Gheorghe
6f5c560309 Fix for Bug 54155 - [Scalability] Indexer bypassing filtering when project was closed and had no index
Fix for Search UI refresh on Linux
2004-04-21 06:33:32 +00:00
Alain Magloire
7ef1a6ed7e Change The Core Model interfaces to throw CModelException when
the fail abnormally.  This forces a lot of try{} catch(){}
bloks and rethrow to be added in the code.
2004-04-20 00:06:27 +00:00
Andrew Niefer
ed75b354ad speed up BasicSearchMatch.compareTo and .hashCode by reducing number of string objects created 2004-04-19 20:08:41 +00:00
Alain Magloire
3f68cfad81 Fix for PR 58481 2004-04-16 00:35:42 +00:00
Andrew Niefer
b3ac698a40 AST work for friend declarations
for bug 45235 AST does not capture class friend relationships 
and bug 53759 ISourceElementRequestor missing callbacks for friend declarations
2004-04-14 20:43:00 +00:00
Bogdan Gheorghe
91aab4d719 Added derived, enumerator types to the index. Modified search tests to work with new types, added new derived test. Modified Search dialog; added new types. 2004-04-12 17:43:20 +00:00