John Camelon
6dc6b84d4b
Fixed 72527 - [Scanner] Remove Scanner, ScannerException & clean up IScanner interface
2004-08-30 15:17:40 +00:00
Chris Wiebe
c399a92017
2004-08-25 Chris Wiebe
...
add namespace validation to CConventions
* index/org/eclipse/cdt/internal/core/messages.properties
* src/org/eclipse/cdt/core/CConventions.java
2004-08-25 21:29:45 +00:00
Bogdan Gheorghe
92d190f0ab
Fix for Bug 71500: [Indexer] all headers get indexed on project open
2004-08-19 21:12:56 +00:00
Andrew Niefer
1b940db018
fix problem encountered while trying to reproduce 70063
2004-08-19 16:10:19 +00:00
Andrew Niefer
a52e58908e
bug 72089
2004-08-17 18:53:04 +00:00
Andrew Niefer
c2f1517d54
fix parsing international files
...
bug 70852, 70927
2004-08-13 19:52:32 +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
86c0d04560
modify indexer to take advantage of IAST char[] functions
2004-08-10 21:02:33 +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
44fdb04953
Fix for Bug 69166: NPE in IndexerModelListener.processDelta
2004-07-12 17:02:26 +00:00
Bogdan Gheorghe
41c9d0faec
- Added support for search name grouping.
...
- Handled the case of CContainer in both updateIndexAddResource and
updateIndexRemoveResource.
- Added timing for merge operations - controlled by Indexer tracing option
- Modified removeSourceFolderFromIndex in IndexManager to take an IProject
2004-07-06 18:03:49 +00:00
Bogdan Gheorghe
c59364cdd5
Fix for 67656: [Indexer] getting called twice after creating a project with a file system
2004-06-29 06:42:47 +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
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
Andrew Niefer
9bba5a8939
respond to source container changes
...
also check start and end of problem markers
2004-06-22 18:13:03 +00:00
David Inglis
3c69bad0a7
ask for scannerinfo of resource instead of project
2004-06-21 18:46:53 +00:00
Andrew Niefer
574f68dad7
65623 - add rest of the index markers
2004-06-21 17:56:37 +00:00
Alain Magloire
dad66224a2
Do not try to create the ".cdtproject" file if it does not
...
exist.
2004-06-21 15:55:57 +00:00
Alain Magloire
1972c2b70a
2004-06-18 Alain Magloire
...
- The call CCorePlugin.getCDescriptor(..) seems to return null.
This should be fix but meanwhile give the indexer a break by catching it.
2004-06-19 02:47:35 +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
6603ca541d
Got rid of reporting failed indexes in log
2004-06-16 20:21:58 +00:00
Andrew Niefer
4d440deec4
don't try and check the index enabled option if the project doesnt exist
2004-06-16 17:21:51 +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
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
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
db3e3b19c4
Added warning message to status line when C/C++ search page is invoked and not all
...
projects in the workspace have indexing turned on.
2004-06-01 04:37:02 +00:00
Bogdan Gheorghe
7fa8a0305e
Fix for Bug 63831 - Ability to determine when the index is incomplete
...
Provided a way for external clients to query the index state of a project
2004-05-28 22:07:10 +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
a38caa6521
don't report problems for circular inclusions
2004-05-28 19:29:24 +00:00
Andrew Niefer
a7e23f8c15
remove warnings
2004-05-28 14:54:58 +00:00
Bogdan Gheorghe
742d1b1514
Fix for Bug 58716 - [Refactoring] Subdirectories confuse refactoring
...
Added a listener to path change events from the core model; retrigger
indexing based on the level of the change event
2004-05-27 21:17:45 +00:00
Bogdan Gheorghe
cf466da37f
Fix for Bug 62015 - Indexer to not rely on file extension for translation Unit
...
Changed all indexer file type checking to use the CoreModel file resolution services.
2004-05-27 19:07:09 +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
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
Bogdan Gheorghe
47da7cb742
Modified updateCurrentDeltaAndIndex in DeltaProcessor.java to return whether
...
we need to traverse a delta's children.
2004-05-20 19:51:23 +00:00
Bogdan Gheorghe
191dd913bd
First go at putting in source folder indexing. Index All events will index
...
source folders (still need to put in includes indexing).
2004-05-19 05:59:43 +00:00
Bogdan Gheorghe
14804f770c
Fix for bug 61332 - make sure that the timer is ready to go before starting a new index
2004-05-17 03:57:55 +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
Bogdan Gheorghe
2f19221ac0
Modified indexer friend encoding to encode IASTElaboratedTypeSpecifier
2004-05-07 16:37:35 +00:00
Bogdan Gheorghe
02876832bb
Fix for Bug 61332
2004-05-06 23:21:22 +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
72799392c9
Added code to load and store index enablement setting from a project's descriptor
2004-05-05 17:01:19 +00:00
Bogdan Gheorghe
580e67dcec
Changes to allow for enablement of the indexer at project creation time - includes new project property for disabling indexer.
2004-05-03 17:29:17 +00:00
Alain Magloire
7b5b147d8d
Leave the indexer alone it is dependent on those
...
file extensions. TODO remove later.
2004-04-30 00:21:48 +00:00
Alain Magloire
1529ec129e
Changes to working copy, to be wrap in runnable Plaform
...
operation when commiting or destroying the working copy.
Also changes to the ICElementDelta to be fired in a
Workspace runnable.
2004-04-30 00:07:29 +00:00
Hoda Amer
8bfccbdedf
Refactoring bug fixes
2004-04-26 17:40:58 +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