head	1.78;
access;
symbols
	CDT_2_0_2_BI:1.58.2.5.0.2
	v200604120500:1.77
	v200604110500:1.77
	v200604100500:1.77
	v200604090500:1.77
	v200604080500:1.77
	v200604070500:1.77
	v200604060500:1.77
	v200604050500:1.77
	v200604041846:1.77
	v200604041825:1.77
	v200604041822:1.77
	CDT_3_0_2:1.77
	CDT_3_0_2_RC1:1.77
	CDT_3_0_2_RC0:1.77
	CDT_3_0_1:1.77
	CDT_3_0_1_b1:1.77
	CDT_3_0_1_b0:1.77
	CDT_3_0_1_RC1:1.77
	cdt_3_0:1.77.0.2
	CDT_3_0:1.77
	CDT_3_0_RC3:1.77
	CDT_3_0_RC2:1.77
	CDT_3_0_RC2_build0:1.77
	CDT_3_0_RC1:1.77
	CDT_3_0_RC1_build0:1.77
	CDT_3_0_M7b:1.77
	CDT_3_0_M7a:1.77
	CDT_3_0_M7:1.77
	CDT_3_0_M6:1.77
	CDT_2_1_1:1.66.2.1
	CDT_3_0_M5:1.71
	CDT_2_1_1_20050307:1.66.2.1
	CDT_2_1:1.66.2.1
	CDT_2_1_RC8:1.66.2.1
	CDT_2_1_RC7:1.66.2.1
	CDT_2_1_RC6:1.66.2.1
	CDT_2_1_RC5:1.66.2.1
	CDT_2_1_RC4:1.66.2.1
	CDT_2_1_RC3:1.66.2.1
	cdt_21:1.66.0.2
	Root_cdt_21:1.66
	CDT_2_1_RC2:1.66
	CDT_2_1_RC1:1.65
	CDT_2_1_RC0:1.64
	CDT_2_0_2:1.58.2.5
	cdt_ast2:1.63.0.2
	Root_cdt_ast2:1.63
	CDT_2_0:1.58
	cdt_2_0:1.58.0.2
	CDT_2_0_RC1:1.58
	CDT_2_0_M9:1.49
	CDT_2_0_M8:1.34
	CDT_1_2_1_RC3:1.24.2.4
	CDT_1_2_1_RC2:1.24.2.4
	CDT_2_0_M7:1.29
	CDT_1_2_1_RC1:1.24.2.1
	CDT_2_0_M6:1.25
	CDT_2_0_M5_1:1.25
	CDT_1_2_1_M1:1.24.2.1
	CDT_1_2_RC1:1.24
	CDT_1_2_RC0:1.24
	cdt_1_2:1.24.0.2
	Root_cdt_1_2:1.24;
locks; strict;
comment	@# @;
expand	@b@;


1.78
date	2006.04.12.17.11.09;	author dschaefer;	state dead;
branches;
next	1.77;

1.77
date	2005.04.04.17.46.28;	author gheorghe;	state Exp;
branches;
next	1.76;

1.76
date	2005.03.30.14.35.50;	author gheorghe;	state Exp;
branches;
next	1.75;

1.75
date	2005.03.29.15.33.11;	author gheorghe;	state Exp;
branches;
next	1.74;

1.74
date	2005.03.29.14.28.29;	author gheorghe;	state Exp;
branches;
next	1.73;

1.73
date	2005.03.28.17.32.14;	author gheorghe;	state Exp;
branches;
next	1.72;

1.72
date	2005.03.28.16.36.13;	author gheorghe;	state Exp;
branches;
next	1.71;

1.71
date	2005.03.18.19.06.22;	author amagloire;	state Exp;
branches;
next	1.70;

1.70
date	2005.03.16.07.31.14;	author gheorghe;	state Exp;
branches;
next	1.69;

1.69
date	2005.03.15.03.35.34;	author gheorghe;	state Exp;
branches;
next	1.68;

1.68
date	2005.03.14.05.32.07;	author gheorghe;	state Exp;
branches;
next	1.67;

1.67
date	2004.11.17.21.52.45;	author gheorghe;	state Exp;
branches;
next	1.66;

1.66
date	2004.11.12.18.49.29;	author gheorghe;	state Exp;
branches
	1.66.2.1;
next	1.65;

1.65
date	2004.11.02.21.22.55;	author gheorghe;	state Exp;
branches;
next	1.64;

1.64
date	2004.11.02.06.43.17;	author gheorghe;	state Exp;
branches;
next	1.63;

1.63
date	2004.08.19.21.12.56;	author gheorghe;	state Exp;
branches;
next	1.62;

1.62
date	2004.08.11.19.50.26;	author gheorghe;	state Exp;
branches;
next	1.61;

1.61
date	2004.07.12.17.02.26;	author gheorghe;	state Exp;
branches;
next	1.60;

1.60
date	2004.07.06.18.03.48;	author gheorghe;	state Exp;
branches;
next	1.59;

1.59
date	2004.06.29.06.42.47;	author gheorghe;	state Exp;
branches;
next	1.58;

1.58
date	2004.06.25.20.43.44;	author gheorghe;	state Exp;
branches
	1.58.2.1;
next	1.57;

1.57
date	2004.06.23.03.32.16;	author amagloire;	state Exp;
branches;
next	1.56;

1.56
date	2004.06.21.17.56.37;	author aniefer;	state Exp;
branches;
next	1.55;

1.55
date	2004.06.21.15.55.57;	author amagloire;	state Exp;
branches;
next	1.54;

1.54
date	2004.06.19.02.47.35;	author amagloire;	state Exp;
branches;
next	1.53;

1.53
date	2004.06.18.23.15.25;	author aniefer;	state Exp;
branches;
next	1.52;

1.52
date	2004.06.16.20.21.58;	author gheorghe;	state Exp;
branches;
next	1.51;

1.51
date	2004.06.14.21.29.33;	author aniefer;	state Exp;
branches;
next	1.50;

1.50
date	2004.06.14.03.31.51;	author gheorghe;	state Exp;
branches;
next	1.49;

1.49
date	2004.05.28.22.07.10;	author gheorghe;	state Exp;
branches;
next	1.48;

1.48
date	2004.05.28.19.44.48;	author gheorghe;	state Exp;
branches;
next	1.47;

1.47
date	2004.05.27.21.17.45;	author gheorghe;	state Exp;
branches;
next	1.46;

1.46
date	2004.05.27.19.07.08;	author gheorghe;	state Exp;
branches;
next	1.45;

1.45
date	2004.05.21.20.33.16;	author aniefer;	state Exp;
branches;
next	1.44;

1.44
date	2004.05.20.19.51.23;	author gheorghe;	state Exp;
branches;
next	1.43;

1.43
date	2004.05.19.05.59.43;	author gheorghe;	state Exp;
branches;
next	1.42;

1.42
date	2004.05.17.03.57.55;	author gheorghe;	state Exp;
branches;
next	1.41;

1.41
date	2004.05.07.16.37.35;	author gheorghe;	state Exp;
branches;
next	1.40;

1.40
date	2004.05.06.18.33.01;	author gheorghe;	state Exp;
branches;
next	1.39;

1.39
date	2004.05.05.17.01.19;	author gheorghe;	state Exp;
branches;
next	1.38;

1.38
date	2004.05.03.17.29.17;	author gheorghe;	state Exp;
branches;
next	1.37;

1.37
date	2004.04.21.06.33.32;	author gheorghe;	state Exp;
branches;
next	1.36;

1.36
date	2004.04.13.03.52.56;	author gheorghe;	state Exp;
branches;
next	1.35;

1.35
date	2004.04.12.17.43.20;	author gheorghe;	state Exp;
branches;
next	1.34;

1.34
date	2004.03.31.19.41.59;	author gheorghe;	state Exp;
branches;
next	1.33;

1.33
date	2004.03.31.07.57.18;	author gheorghe;	state Exp;
branches;
next	1.32;

1.32
date	2004.03.15.16.17.32;	author aniefer;	state Exp;
branches;
next	1.31;

1.31
date	2004.03.05.00.45.15;	author gheorghe;	state Exp;
branches;
next	1.30;

1.30
date	2004.02.15.23.30.53;	author jcamelon;	state Exp;
branches;
next	1.29;

1.29
date	2004.02.10.18.17.42;	author jcamelon;	state Exp;
branches;
next	1.28;

1.28
date	2004.02.03.16.04.41;	author amagloire;	state Exp;
branches;
next	1.27;

1.27
date	2004.02.03.16.03.03;	author amagloire;	state Exp;
branches;
next	1.26;

1.26
date	2004.01.27.01.21.18;	author jcamelon;	state Exp;
branches;
next	1.25;

1.25
date	2003.10.27.20.57.43;	author dschaefer;	state Exp;
branches;
next	1.24;

1.24
date	2003.10.01.22.15.34;	author jcamelon;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	2003.10.01.19.43.06;	author jcamelon;	state Exp;
branches;
next	1.22;

1.22
date	2003.10.01.13.33.33;	author jcamelon;	state Exp;
branches;
next	1.21;

1.21
date	2003.09.26.17.53.31;	author dschaefer;	state Exp;
branches;
next	1.20;

1.20
date	2003.09.23.15.17.13;	author jcamelon;	state Exp;
branches;
next	1.19;

1.19
date	2003.09.18.15.15.08;	author jcamelon;	state Exp;
branches;
next	1.18;

1.18
date	2003.09.15.17.31.22;	author jcamelon;	state Exp;
branches;
next	1.17;

1.17
date	2003.09.09.15.46.38;	author jcamelon;	state Exp;
branches;
next	1.16;

1.16
date	2003.09.08.18.10.49;	author jcamelon;	state Exp;
branches;
next	1.15;

1.15
date	2003.09.05.18.31.39;	author jcamelon;	state Exp;
branches;
next	1.14;

1.14
date	2003.08.26.19.15.58;	author dschaefer;	state Exp;
branches;
next	1.13;

1.13
date	2003.08.20.20.53.50;	author dschaefer;	state Exp;
branches;
next	1.12;

1.12
date	2003.08.12.15.20.21;	author jcamelon;	state Exp;
branches;
next	1.11;

1.11
date	2003.08.12.14.29.07;	author jcamelon;	state Exp;
branches;
next	1.10;

1.10
date	2003.08.11.19.10.45;	author jcamelon;	state Exp;
branches;
next	1.9;

1.9
date	2003.08.11.13.42.47;	author jcamelon;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.29.12.40.17;	author jcamelon;	state Exp;
branches;
next	1.7;

1.7
date	2003.07.25.15.21.57;	author jcamelon;	state Exp;
branches;
next	1.6;

1.6
date	2003.07.24.21.43.47;	author jcamelon;	state Exp;
branches;
next	1.5;

1.5
date	2003.07.24.14.20.16;	author dschaefer;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.21.21.14.06;	author dschaefer;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.11.22.12.35;	author dschaefer;	state Exp;
branches;
next	1.2;

1.2
date	2003.07.04.03.02.07;	author amagloire;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.27.14.31.27;	author dschaefer;	state Exp;
branches;
next	;

1.24.2.1
date	2003.10.27.20.44.57;	author dschaefer;	state Exp;
branches;
next	1.24.2.2;

1.24.2.2
date	2004.02.03.16.09.16;	author amagloire;	state Exp;
branches;
next	1.24.2.3;

1.24.2.3
date	2004.02.10.18.30.32;	author jcamelon;	state Exp;
branches;
next	1.24.2.4;

1.24.2.4
date	2004.02.13.22.03.10;	author jcamelon;	state Exp;
branches;
next	1.24.2.5;

1.24.2.5
date	2004.12.07.21.10.10;	author dinglis;	state Exp;
branches;
next	;

1.58.2.1
date	2004.07.12.17.01.51;	author gheorghe;	state Exp;
branches;
next	1.58.2.2;

1.58.2.2
date	2004.08.03.19.48.01;	author gheorghe;	state Exp;
branches;
next	1.58.2.3;

1.58.2.3
date	2004.08.11.20.05.35;	author gheorghe;	state Exp;
branches;
next	1.58.2.4;

1.58.2.4
date	2004.08.19.21.22.25;	author gheorghe;	state Exp;
branches;
next	1.58.2.5;

1.58.2.5
date	2004.08.25.13.10.00;	author amagloire;	state Exp;
branches;
next	1.58.2.6;

1.58.2.6
date	2004.12.16.01.33.50;	author gheorghe;	state Exp;
branches;
next	;

1.66.2.1
date	2004.11.18.14.32.46;	author gheorghe;	state Exp;
branches;
next	;


desc
@@


1.78
log
@Testing the scalability of the Commit Files dialog. No really, I've removed the old indexer, search and type cache and have fixed all the compile errors that doing so caused. A number of features are disabled to be re-enabled later.
@
text
@2005-04-04 Bogdan Gheorghe
	Got rid of IDocument and replaced it with IFile resources throughout all
	indexing framework. Got rid of index flags and put in a new mechanism for
	indexers to add files to the index directly. 
	
2005-03-30 Bogdan Gheorghe
	Modified IndexManger to get rid of an exisiting index for a project when an 
	indexer gets changed. This is needed in the case where two indexers share the same
	storage (which is the current case for all indexers) to avoid them treading
	on each other.
	
2005-03-29 Bogdan Gheorghe
	Changed indexer change notification to run as a job.
	Some additiional ICDTIndexer changes.
	
2005-03-29 Bogdan Gheorghe
	
	Added cumulative timer to SouceIndexer/DOMIndexer.
	Purge any existing jobs from job queue on indexer change event.
	Put in an indexer change nofication event that the IndexManager sends to the
	newly selected indexer to allow it to react to being selected.
	
2005-03-28 Bogdan Gheorghe

	NPE Fix for CTagsConsoleParser
	
2005-03-28 Bogdan Gheorghe

	Initial CTags Indexer contribution
	
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsEntry.java
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsAddCompilationUnitToIndex.java
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsAddFileToIndex.java
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsConsoleParser.java
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsFileReader.java
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsHeader.java
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsIndexAll.jav
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsIndexer.java
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsIndexeRequest.java
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsRemoveFromIndex.java				
	* index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsSaveIndex.java	
	
	Added timing option to all three indexers
	
	* index/org/eclipse/cdt/internal/core/index/domsourceindexer/DOMSourceIndexerRunner.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/SourceIndexerRunner.java
	
	Modified event notification for all indexers to make use of ICDTIndexer constants as opposed to ICElements, in
	order to allow indexers to request additional jobs without having to create or retrieve an ICElement
	
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/SourceIndexer.java
	* index/org/eclipse/cdt/core/index/ICDTIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
		
2005-03-18 Alain Magloire
	Move more code in the try/finally as a precaution.  Bad things
	where happening (i.e. NPE) but the monitor was not decremented
	* index/org/eclipse/cdt/internal/core/indexing/IndexManager.java

2005-03-15 Bogdan Gheorghe
	Added a check for closed projects to update code
	
2005-03-14 Bogdan Gheorghe
	Added update code for old indexer projects
	
2005-03-12 Bogdan Gheorghe
	Restructured indexer framework to allow for multiple indexers in a workspace.

	* index/org/eclipse/cdt/core/index/ICDTIndexer.java
	* index/org/eclipse/cdt/core/index/IIndexStorage.java
	* index/org/eclipse/cdt/core/index/Indexer.java
	* index/org/eclipse/cdt/core/index/IndexManager.java
	* index/org/eclipse/cdt/internal/core/index/IIndexer.java
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexerModelListener.java
	
	Moved following classes to new source indexer folder:
	
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/AddCompilationUnit.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/AddFileToIndex.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/AddFolderToIndex.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/CIndexStorage.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/CleanEncounteredHeaders.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/IndexRequest.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/RemoveFolderFromIndex.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/RemoveFromIndex.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/SaveIndex.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/SourceIndexerRequestor.java
	* index/org/eclipse/cdt/internal/core/index/sourceindexer/SourceIndexerRunner.java
	
	
2004-11-17 Bogdan Gheorghe 
	Fix for Bug 78678: Indexer stops reindexing file after repeated saves
	
	* index/org/eclipse/cdt/internal/core/search/processing/JobManager.java
	
	
2004-11-12 Bogdan Gheorghe
	Fix for Bug 78414: IProblem count increased through indexing header files stand-alone
	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/CleanEncounteredHeaders.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java	
	
	* parser/org/eclipse/cdt/internal/core/parser/problem/Problem.java
	
2004-11-02 Bogdan Gheorghe
	Fixed a bug in the index merge.
	
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	
2004-11-02 Bogdan Gheorghe
	Partial Fix for Bug 74427: Indexer needs to store more info
	
	* index/org/eclipse/cdt/core/index/IIndexDelta.java	
	* index/org/eclipse/cdt/internal/core/index/IEntryResult.java	
	* index/org/eclipse/cdt/internal/core/index/IIndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/EntryResult.java	
	* index/org/eclipse/cdt/internal/core/index/impl/GammaCompressedIndexBlock.java	
	* index/org/eclipse/cdt/internal/core/index/impl/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/index/impl/IncludeEntry.java	
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java	
	* index/org/eclipse/cdt/internal/core/index/impl/IndexDelta.java	
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFileHashedArray.java	
	* index/org/eclipse/cdt/internal/core/index/impl/IndexerOutput.java	
	* index/org/eclipse/cdt/internal/core/index/impl/InMemoryIndex.java	
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java	
	* index/org/eclipse/cdt/internal/core/index/impl/Util.java	
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/CleanEncounteredHeaders.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexerModelListener.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java	
	* dependency/org/eclipse/cdt/internal/core/sourcedependency/UpdateDependency.java	
	* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java	
	
2004-08-19 Bogdan Gheorghe
	Fix for Bug 71500: [Indexer] all headers get indexed on project open
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/CleanEncounteredHeaders.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexerModelListener.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java	
	* dependency/org/eclipse/cdt/internal/core/sourcedependency/UpdateDependency.java	
	* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java	
	
2004-08-11 Bogdan Gheorghe
	Fix for Bug 59493: need to refine index query for open-type 

	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java	
	
	
2004-07-12 Bogdan Gheorghe
	Fix for Bug 69166: NPE in IndexerModelListener.processDelta
	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexerModelListener.java	
	
2004-07-06 Bogdan Gheorghe
	Added timing for merge operations - controlled by Indexer tracing option
	Modified removeSourceFolderFromIndex in IndexManager to take an IProject
	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java	
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
		
2004-06-28 Bogdan Gheorghe
	Fix for Bug 60948: indexer should pick up all headers in include path
	
2004-06-25 Bogdan Gheorghe
	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)
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	
2004-06-22 Alain Magloire

	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.

	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java

2004-06-21 Andrew Niefer
	enable reporting of semantic problems:
		* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
		* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
		* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java

2004-06-21 Alain Magloire

	IndexManager, call CCorePlugin.getCDescriptor(.., false).
	The boolean says to the DescriptorManager to not create the file
	if it does not exists.

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-18 Andrew Niefer
	- call InderManager.jobFinishedNotification( this ) from IndexRequest.cancel() so that the IndexManager's jobSet doesn't 
	  become stale.
	- in JobManager.discardJobs, move getting the old enabledState into the synchronized block so that we can be sure its 
	  reset correctly

2004-06-16 Bogdan Gheorghe
	- Removed reporting index failed messages from log
	
2004-06-14 Andrew Niefer
	- Bugs 66799, 66981 : don't process indexer jobs if the indexer for that project is disabled.
	- also fix warnings about deprecated calls and unnecessary else statements

2004-06-13 Bogdan Gheorghe
	Fix for Bug 63275 - Ensured that only declarations and references are found for enumerations/enumerators
	
2004-05-28 Bogdan Gheorghe
    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 Bogdan Gheorghe
	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-27 Bogdan Gheorghe
	Fix for Bug 58716 - [Refactoring] Subdirectories confuse refactoring
	Added a listener to path change events from the core model; retrigger 
	indexing based on the granularity of the change event
	
2004-05-27 Bogdan Gheorghe
	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-21 Andrew Niefer
	Indexer problem reporting
		* index/org/eclipse/cdt/internal/core/messages.properties
		* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
		* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
		* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java

2004-05-18 Bogdan Gheorghe
	IndexAllProject - restored the save request.
	
2004-05-18 Bogdan Gheorghe
	First go at putting in source folder indexing. Index All events will index
	source folders (still need to put in includes indexing). DeltaProcessor only
	forwards events for source files so individual indexing doesn't need to be
 	altered. 
 	
2004-05-16 Bogdan Gheorghe
    Fix for bug 61332 - make sure that the timer is ready to go before starting
    a new index
       
2004-05-07 Bogdan Gheorghe
	Modified indexer friend encoding to encode IASTElaboratedTypeSpecifier
	
2004-05-06 Bogdan Gheorghe
	Modified AbstractIndexer to encode friends, add friends constant to IIndexConstants,
	modified SourceIndexerRequestor to add class specifier on exit instead of enter in order
	to be able to encode friends.
	
2004-05-05 Bogdan Gheorghe
	Added code to load and store index enablement setting from a project's descriptor
	
2004-05-03 Bogdan Gheorghe
	Added index enablement checking to index manager
	
2004-04-20 Bogdan Gheorghe
	Fix for Bug 54155
	
2004-04-12 Bogdan Gheorghe
	Added Indexer watchdog
	
2004-04-12 Bogdan Gheorghe
	Added Enumerator and Derived types to index
	
2004-03-31 Bogdan Gheorghe
	Added a check to SourceIndexRequestor.removeMarkers to prevent hang.
	
2004-03-31 Bogdan Gheorghe
	Modified SourceIndexer and SourceIndexerRequestor to place IProblem markers
	on resources.
	
2004-03-15 Andrew Niefer
	updated SourceIndexerRequestor with acceptTemplateParameterReference

2004-03-04 Bogdan Gheorghe
	Modified SourceIndexer to use BufferedReaders instead of passing in a char array.

2004-02-13 Bogdan Gheorghe
	PR 51232

	- Added mapping range checking to IncludeEntry to avoid out of bounds exceptions
	- Added error handling to MergeFactory to handle problems during the save operation
	- Added source file name filtering for the recreate an already existing index scenario in
	  IndexAllProject. 
	- Added more robust error handling to SourceIndexer
	- Added error handling routine to Util.getFileCharContent() to deal with potential out of 
	  memory crash
	
	* index/org/eclipse/cdt/internal/core/index/impl/IncludeEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/index/search/Util.java
	* index/org/eclipse/cdt/internal/core/index/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/index/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/index/search/indexing/AddFolderToIndex.java
	
2004-02-10 Bogdan Gheorghe
	
	- Modified some of the stored index block reading routines to use separate
	  counters, thus avoiding potential EOF exceptions.
	  
    * index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
    
2004-02-03 Alain Magloire

	PR 51106                                                                                                                   
    Patches from Thomas Fletcher dealing with the indexer.

    - Remove assumed throw/catch of an exception to be a regular occurance
    and replace with explicit test and return for bounds access to the
    particular array.
                                                                                                                             
    - Consider references outside of the mapping range the same as no longer
    valid mappings (ie -1 entries) and avoid array range exceptions.
                                                                                                                             
    * index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
    * index/org/eclipse/cdt/internal/core/index/impl/FileListBlock.java

2004-01-26 John Camelon
	Updated clients to use new Scanner logging service.
	
2003-10-22 Bogdan Gheorghe
	
	Added updateDependencies() to the IndexManager to request
	a new UpdateDependency job.
	
2003-10-01 Bogdan Gheorghe
	- Modified BlockIndexOutput.addInclude to properly flush an
	include block once it's full.
	- Flushing the CDT log after every merge
	- Logging I/O Exceptions in AddFileToIndex
	- Changed valid source file extensions in SourceIndexer to
	  use CModelManager file extensions
	
2003-09-30 Bogdan Gheorghe
	Changed logging for SourceIndexer to log file in cdt.core
	
2003-09-25 Bogdan Gheorghe
	Integrated the dependency service into the indexer. Changes
	as follows:
	
	org.eclipse.cdt.internal.core.index.impl:
	* IIndex - added getFileDependencies methods
	* IIndexerOutput - modified to allow dep inputs into the index
	* BlocksIndexInput - modified to allow the reading of the new index (which includes dep entries)
	* BlocksIndexOutput - added facilities to write includes to the index
	* GammaCompressedIndexBlock - modified with addIncludeEntry() and nextEntry()
	* IncludeEntry - new file
	* IncludeEntryHashedArray - new file
	* Index - Added getFileDepenendencies to query includeEntries from the index
	* IndexBlock - modified to reflect changes in GammaCompressedIndexBlock
	* IndexerOutput - added new methods from IIndexerOutput
	* IndexInput - modified to allow reading of includes from index files
	* IndexSummary - modified to save/read new format which contains include info
	* InMemoryIndex - modified InMemoryIndex to keep track of includes
	* MergeFactory - modified MergeFactory to accomodate new index file format
	* SimpleIndexInput - modified to use the new functions for includes in InMemoryIndex
	* Util - Added a quickSort for includeEntry[]
	
	org.eclipse.cdt.internal.core.search.indexing:
	* AbstractIndexer - modified to getResourceFile being indexed, added bestIncludePrefix 
	  to find include table entries, addInclude() which accepts IASTInclusion node and adds it
	  to the index
	* IIndexConstants - added includeRef constant
	* IndexManager - got rid of all dependency table references
	* SourceIndexer - modified to return resource being indexed
	* SourceIndexerRequestor - Added inclusion handling code; stack for includes
	
	
2003-09-22 Bogdan Gheorghe
	
	Took out the old CTags Indexer. Modified IndexAllProject to get
	the project path straight from the resource (bypassing the CModelManager).
	Commented out the enable section in IndexManager.
	
	Modified
	* org.eclipse.cdt.internal.core.search.indexing.IndexAllProject
	* org.eclipse.cdt.internal.core.search.indexing.IndexManager
	
	Deleted
	* org.eclipse.cdt.core.index.IndexModel
	* org.eclipse.cdt.core.index.ITagEntry
	* org.eclipse.cdt.core.index.TagFlags
	* org.eclipse.cdt.internal.core.index.CTagsCmd
	* org.eclipse.cdt.internal.core.index.CTagsEntry
	* org.eclipse.cdt.internal.core.index.CTagsFileReader
	* org.eclipse.cdt.internal.core.index.CTagsFileWriter
	* org.eclipse.cdt.internal.core.index.CTagsHeader
	* org.eclipse.cdt.internal.core.index.CTagsRunner
	* org.eclipse.cdt.internal.core.index.IndexManager
	* org.eclipse.cdt.internal.core.index.RequestList
	
2003-09-16 Andrew Niefer
	- add parameter references to index
	- modify CharOperation.match to allow escaping wildcards (bug43063)
	- modify AbstractIndexer.bestPrefix to handle wildcard escaping in name (bug43063)

2003-09-13 Andrew Niefer
	- add Typedefs to index as Types with suffix T (bug42902)
		- added addTypedefReference to AbstractIndexer
		- modified bestTypePrefix in AbstractIndexer
		- added TYPEDEF_DECL, TYPEDEF_SUFFIX to IIndexConstants
		- modified acceptTypedefReference in SourceIndexerRequestor

2003-09-09 Andrew Niefer
	Enumerator references
 	 - Added createEnumeratorFullyQualifiedName in AbstractIndexer
	 - Added addEnumeratorReference in AbstractIndexer
	 - implemented acceptEnumeratorReference in SourceIndexerRequestor

2003-09-08 Andrew Niefer
	- Modified calls to ParserFactory to specify which language to use

2003-09-05 Andrew Niefer
	- Modified how AbstractIndexer creates the fully qualified name for an enumerator (spec 7.2-10)

2003-08-26 Bogdan Gheorghe
	- Removed header file extensions from being indexed (they
	  will be indexed via inclusion)
	
2003-08-20 Bogdan Gheorghe
	- Added debug tracing in AbstractIndexer
	- Added additional file extensions to supported indexed files
	- Changed the parser instantiation to pass in retrieved build
	  info
	- Added function decl index entry based on enterFunctionBody
	- Added method decl index entry based on enterMethodBody
	- Added forward decl refs
	
2003-08-14 Bogdan Gheorghe
	- Added forward declarations to index
	
2003-08-12 Bogdan Gheorghe
	- Changed var prefix in AbstractIndexer to pass in fully
	  qualified names
	  
2003-08-11 Bogdan Gheorghe
	- Added macro declarations to the index
	- Added macro prefix to AbstractIndexer
	
2003-08-07 Bogdan Gheorghe
	- Added shutdown cleanup routine in IndexManager
	
2003-07-28 Andrew Niefer
	- added support for '?' wildcards in AbstractIndexer.bestPrefix

2003-07-25 Bogdan Gheorghe
	- Changed parser to COMPLETE mode
	- Added functionRef, methodRef, typeRef, namespaceRef, fieldRef
	
	Modified:
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
	
2003-07-24 Andrew Niefer
	- added TYPE_ALL, FUNCTION_ALL, METHOD_ALL, NAMESPACE_ALL, FIELD_ALL constants to IIndexConstants
	- modified AbstractIndexer prefix functions to properly handle searching for all occurences
	
2003-07-23 Andrew Niefer
	Modified 
	*index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
		-changed so that the index prefixes contain the qualified names of the 
		 elements in reverse order.
		-Added functions:
			bestVariablePrefix
			bestNamespacePrefix
			bestFieldPrefix
			bestFunctionPrefix
			bestMethodPrefix

2003-07-21 Bogdan Gheorghe
	Added additional declarations to index: enums, enumerators, namespace,
	functions, vars, methods, fields, typedefs.
	
	Fixed IndexManager to prevent individually added files from
	being added to the index if indexing is not enabled for the project
	
	Modified:
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
2003-07-10 Bogdan Gheorghe
	Added bestTypeDeclarationPrefix to AbstractIndexer to allow the
	search engine to create a query string for the index.
	Changed encoding in AbstractIndexer to encode fully qualified names.
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	
2003-07-03 Bogdan Gheorghe
	Updated copyright notices.
	
2003-06-25 Bogdan Gheorghe
	Added new Indexer framework:
	
	* index/org/eclipse/cdt/internal/core/index/IDocument.java
	* index/org/eclipse/cdt/internal/core/index/IEntryResult.java
	* index/org/eclipse/cdt/internal/core/index/IIndex.java
	* index/org/eclipse/cdt/internal/core/index/IIndexer.java
	* index/org/eclipse/cdt/internal/core/index/IIndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/IQueryResult.java
	
	* index/org/eclipse/cdt/internal/core/index/impl/Block.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/CodeByteStream.java
	* index/org/eclipse/cdt/internal/core/index/impl/EntryResult.java
	* index/org/eclipse/cdt/internal/core/index/impl/Field.java
	* index/org/eclipse/cdt/internal/core/index/impl/GammaCompressedIndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IFileDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFileHashedArray.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexSummary.java
	* index/org/eclipse/cdt/internal/core/index/impl/InMemoryIndex.java
	* index/org/eclipse/cdt/internal/core/index/impl/Int.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/index/impl/PropertyDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/SafeRandomAccessFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/SimpleIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/Util.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntryHashedArray.java

	* index/org/eclipse/cdt/internal/core/search/CharOperation.java
	* index/org/eclipse/cdt/internal/core/search/HashtableOfInt.java
	* index/org/eclipse/cdt/internal/core/search/SimpleLookupTable.java
	* index/org/eclipse/cdt/internal/core/search/Util.java
	* index/org/eclipse/cdt/internal/core/search/message.properties

	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexRequest.java
	* index/org/eclipse/cdt/internal/core/search/indexing/ReadWriteMonitor.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFolderFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SaveIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java

	@


1.77
log
@Got rid of index flags and put in a new mechanism for indexers to add files
to the index directly.
Got rid of IDocument and replaced it with IFile resources throughout all
indexing framework.
Minor refactoring of CSearchPage to get rid of internal dependency.
@
text
@@


1.76
log
@Modified IndexManger to get rid of an exisiting index for a project when an
indexer gets changed.
@
text
@d1 5
@


1.75
log
@Changed indexer change notification to run as a job.
Some additiional ICDTIndexer changes.
@
text
@d1 6
@


1.74
log
@Added cumulative timer to SouceIndexer/DOMIndexer.
Purge any existing jobs from job queue on indexer change event.
Put in an indexer change nofication event that the IndexManager sends to the
newly selected indexer to allow it to react to being selected.
@
text
@d2 4
@


1.73
log
@NPE Fix for CTagsConsoleParser
@
text
@d1 8
a8 1
2005-03-28 Bogdan Gheorgh
@


1.72
log
@Initial CTags Indexer contribution
Added timing option to all three indexers
Modified event notification for all indexers to make use of ICDTIndexer constants
Modified SearchEngine to work with all 3 indexers
Added UI block for CTagsIndexer
Ironed out some UI wrinkles in Indexer Block
Added indexer change event for UI Block
@
text
@d1 4
@


1.71
log
@2005-03-18 Alain Magloire
	Move more code in the try/finally as a precaution.  Bad things
	where happening (i.e. NPE) but the monitor was not decremented
	* index/org/eclipse/cdt/internal/core/indexing/IndexManager.java
@
text
@d1 28
@


1.70
log
@Fix for 87982, 88127
@
text
@d1 5
@


1.69
log
@Fix for Bugs # 87978, 87982, 87993
@
text
@d1 3
@


1.68
log
@New core framework for indexer
New UI framework for indexer
Updates to core tests/ui tests
@
text
@d1 3
@


1.67
log
@Fix for Bug 78678: Indexer stops reindexing file after repeated saves
@
text
@d1 30
@


1.66
log
@Fix for Bug 78414: IProblem count increased through indexing header files stand-alone
@
text
@d1 6
@


1.66.2.1
log
@Fix for Bug 78678: Indexer stops reindexing file after repeated saves
@
text
@a1 5
	Fix for Bug 78678: Indexer stops reindexing file after repeated saves
	
	* index/org/eclipse/cdt/internal/core/search/processing/JobManager.java
	
2004-11-12 Bogdan Gheorghe
@


1.65
log
@Fix for index merge problem
@
text
@d1 13
@


1.64
log
@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
@
text
@d2 5
@


1.63
log
@Fix for Bug 71500: [Indexer] all headers get indexed on project open
@
text
@d1 31
@


1.62
log
@Fix for Bug 59493: need to refine index query for open-type
@
text
@d1 13
@


1.61
log
@Fix for Bug 69166: NPE in IndexerModelListener.processDelta
@
text
@d1 8
@


1.60
log
@- 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
@
text
@d1 5
@


1.59
log
@Fix for 67656: [Indexer] getting called twice after creating a project with a file system
@
text
@d1 7
@


1.58
log
@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)
@
text
@d1 3
@


1.58.2.1
log
@Fix for Bug 69166: NPE in IndexerModelListener.processDelta (2.0)
@
text
@a0 5
2004-07-12 Bogdan Gheorghe
	Fix for Bug 69166: NPE in IndexerModelListener.processDelta
	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexerModelListener.java	
	
@


1.58.2.2
log
@Fix for Bug 60948: Indexer should pick up all headers in include path
@
text
@a0 4
2004-08-03 Bogdan Gheorghe 

	Fix for Bug 60948: Indexer should pick up all headers in include path
	
@


1.58.2.3
log
@Fix for Bug 59493: need to refine index query for open-type  (2.0 Stream)
@
text
@a0 7
2004-08-11 Bogdan Gheorghe
	Fix for Bug 59493: need to refine index query for open-type 

	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java	
	
@


1.58.2.4
log
@Fix for Bug 71500: [Indexer] all headers get indexed on project open
@
text
@a0 13
2004-08-19 Bogdan Gheorghe
	Fix for Bug 71500: [Indexer] all headers get indexed on project open
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/CleanEncounteredHeaders.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexerModelListener.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java	
	* dependency/org/eclipse/cdt/internal/core/sourcedependency/UpdateDependency.java	
	* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java	
	
@


1.58.2.5
log
@2004-08-25 Alain Magloire

	Workaround for PR 72435, Patch From Bogdan

	* index/org/eclipse/cdt/internal/core/Util.java
@
text
@a0 6
2004-08-25 Alain Magloire

	Workaround for PR 72435, Patch From Bogdan
	
	* index/org/eclipse/cdt/internal/core/Util.java

@


1.58.2.6
log
@Fix for 79402 - Store Index Locations per Header
@
text
@a0 34
2004-12-14 Bogdan Gheorghe

	Partial Fix for Bug 74427: Indexer needs to store more info
	Fix for Bug 78678: Indexer stops reindexing file after repeated saves
	Fix for Bug 78414: IProblem count increased through indexing header files stand-alone
	
	* index/org/eclipse/cdt/core/index/IIndexDelta.java	
	* index/org/eclipse/cdt/internal/core/index/IEntryResult.java	
	* index/org/eclipse/cdt/internal/core/index/IIndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/EntryResult.java	
	* index/org/eclipse/cdt/internal/core/index/impl/GammaCompressedIndexBlock.java	
	* index/org/eclipse/cdt/internal/core/index/impl/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/index/impl/IncludeEntry.java	
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java	
	* index/org/eclipse/cdt/internal/core/index/impl/IndexDelta.java	
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFileHashedArray.java	
	* index/org/eclipse/cdt/internal/core/index/impl/IndexerOutput.java	
	* index/org/eclipse/cdt/internal/core/index/impl/InMemoryIndex.java	
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java	
	* index/org/eclipse/cdt/internal/core/index/impl/Util.java	
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/CleanEncounteredHeaders.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexerModelListener.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java	
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java	
	* dependency/org/eclipse/cdt/internal/core/sourcedependency/UpdateDependency.java	
	* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java	
	
a6 1
	
@


1.57
log
@	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.
@
text
@d1 7
@


1.56
log
@65623 - add rest of the index markers
@
text
@d1 8
@


1.55
log
@Do not try to create the ".cdtproject" file if it does not
exist.
@
text
@d1 6
@


1.54
log
@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.
@
text
@d1 6
@


1.53
log
@tweaks to the indexer to fix some files not getting indexed on reopen
and potential to get the indexer disabled.
@
text
@d1 4
@


1.52
log
@Got rid of reporting failed indexes in log
@
text
@d1 6
@


1.51
log
@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.
@
text
@d1 3
@


1.50
log
@Fix for Bug 63275 - Ensure that only declarations and references are found for enumerations/enumerators
@
text
@d1 4
@


1.49
log
@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
@
text
@d1 3
@


1.48
log
@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
@
text
@d2 4
@


1.47
log
@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
@
text
@d1 7
@


1.46
log
@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.
@
text
@d2 5
@


1.45
log
@bug 43014, 62979:  Reporting IProblems encountered during indexing.  Only preprocessor problems to start
@
text
@d1 4
@


1.44
log
@Modified updateCurrentDeltaAndIndex in DeltaProcessor.java to return whether
we need to traverse a delta's children.
@
text
@d1 7
@


1.43
log
@First go at putting in source folder indexing. Index All events will index
source folders (still need to put in includes indexing).
@
text
@d2 3
@


1.42
log
@Fix for bug 61332 - make sure that the timer is ready to go before starting a new index
@
text
@d1 6
@


1.41
log
@Modified indexer friend encoding to encode IASTElaboratedTypeSpecifier
@
text
@d1 4
@


1.40
log
@Refactored search engine to take an IMatchLocator; added friends to the index: removed derived from search page
@
text
@d1 3
@


1.39
log
@Added code to load and store index enablement setting from a project's descriptor
@
text
@d1 5
@


1.38
log
@Changes to allow for enablement of the indexer at project creation time - includes new project property for disabling indexer.
@
text
@d1 3
@


1.37
log
@Fix for Bug 54155 - [Scalability] Indexer bypassing filtering when project was closed and had no index
Fix for Search UI refresh on Linux
@
text
@d1 3
@


1.36
log
@Indexer watchdog patch
@
text
@d1 3
@


1.35
log
@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.
@
text
@d2 3
@


1.34
log
@Fix for 56943 - CDT hang on Autobuild, added missing index marker icon
@
text
@d1 3
@


1.33
log
@Fix annotations in overview bar, added index IProblem markers, added new preference page for controlling external search markers
@
text
@d2 3
@


1.32
log
@This patch is the start of parsing templates.  Template uses that don't require a template-id should work.
@
text
@d1 4
@


1.31
log
@- Added hyperlink support to the CEditor
- Added a Navigation preference page to the CEditor
- Changed SourceIndexer to use a BufferedReader
- Modified OpenDeclarationsAction to use selection search parser
@
text
@d1 3
@


1.30
log
@Patch for Bogdan Gheorghe.

Improved error handling for Indexer 
Improved error handling for MatchLocator 
Bounds checking for mappings in IncudeEntry 
Improved error handling for Merge operations 
Source file name fitering for recreating an already existing index
@
text
@d1 3
@


1.29
log
@Patch for Bogdan Gheorghe

This patch adds a layer of separation between the indexer and the parser by running the parser in its own thread. This allows the indexer to finish all jobs regardless of the individual parser outcomes. Also fixed a potential EOF bug while reading stored indexes.
@
text
@d1 1
a1 1
2004-02-09 Bogdan Gheorghe
d3 17
a20 5
	- Added a layer of separation between the parser and the indexer: we now
	  create a worker thread to run the parser in. This allows the indexer to 
	  finish all scheduled jobs regardless of how the parser performs on
	  individual files (i.e. indexing no longer affected by parser failures)
	  
d25 1
a25 2
	* index/org/eclipse/cdt/internal/core/index/search/indexing/SourceIndexer.java
	
@


1.28
log
@put the PR #
@
text
@d1 266
a266 252
2004-02-03 Alain Magloire

	PR 51106                                                                                                                   
    Patches from Thomas Fletcher dealing with the indexer.

    - Remove assumed throw/catch of an exception to be a regular occurance
    and replace with explicit test and return for bounds access to the
    particular array.
                                                                                                                             
    - Consider references outside of the mapping range the same as no longer
    valid mappings (ie -1 entries) and avoid array range exceptions.
                                                                                                                             
    * index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
    * index/org/eclipse/cdt/internal/core/index/impl/FileListBlock.java

2004-01-26 John Camelon
	Updated clients to use new Scanner logging service.
	
2003-10-22 Bogdan Gheorghe
	
	Added updateDependencies() to the IndexManager to request
	a new UpdateDependency job.
	
2003-10-01 Bogdan Gheorghe
	- Modified BlockIndexOutput.addInclude to properly flush an
	include block once it's full.
	- Flushing the CDT log after every merge
	- Logging I/O Exceptions in AddFileToIndex
	- Changed valid source file extensions in SourceIndexer to
	  use CModelManager file extensions
	
2003-09-30 Bogdan Gheorghe
	Changed logging for SourceIndexer to log file in cdt.core
	
2003-09-25 Bogdan Gheorghe
	Integrated the dependency service into the indexer. Changes
	as follows:
	
	org.eclipse.cdt.internal.core.index.impl:
	* IIndex - added getFileDependencies methods
	* IIndexerOutput - modified to allow dep inputs into the index
	* BlocksIndexInput - modified to allow the reading of the new index (which includes dep entries)
	* BlocksIndexOutput - added facilities to write includes to the index
	* GammaCompressedIndexBlock - modified with addIncludeEntry() and nextEntry()
	* IncludeEntry - new file
	* IncludeEntryHashedArray - new file
	* Index - Added getFileDepenendencies to query includeEntries from the index
	* IndexBlock - modified to reflect changes in GammaCompressedIndexBlock
	* IndexerOutput - added new methods from IIndexerOutput
	* IndexInput - modified to allow reading of includes from index files
	* IndexSummary - modified to save/read new format which contains include info
	* InMemoryIndex - modified InMemoryIndex to keep track of includes
	* MergeFactory - modified MergeFactory to accomodate new index file format
	* SimpleIndexInput - modified to use the new functions for includes in InMemoryIndex
	* Util - Added a quickSort for includeEntry[]
	
	org.eclipse.cdt.internal.core.search.indexing:
	* AbstractIndexer - modified to getResourceFile being indexed, added bestIncludePrefix 
	  to find include table entries, addInclude() which accepts IASTInclusion node and adds it
	  to the index
	* IIndexConstants - added includeRef constant
	* IndexManager - got rid of all dependency table references
	* SourceIndexer - modified to return resource being indexed
	* SourceIndexerRequestor - Added inclusion handling code; stack for includes
	
	
2003-09-22 Bogdan Gheorghe
	
	Took out the old CTags Indexer. Modified IndexAllProject to get
	the project path straight from the resource (bypassing the CModelManager).
	Commented out the enable section in IndexManager.
	
	Modified
	* org.eclipse.cdt.internal.core.search.indexing.IndexAllProject
	* org.eclipse.cdt.internal.core.search.indexing.IndexManager
	
	Deleted
	* org.eclipse.cdt.core.index.IndexModel
	* org.eclipse.cdt.core.index.ITagEntry
	* org.eclipse.cdt.core.index.TagFlags
	* org.eclipse.cdt.internal.core.index.CTagsCmd
	* org.eclipse.cdt.internal.core.index.CTagsEntry
	* org.eclipse.cdt.internal.core.index.CTagsFileReader
	* org.eclipse.cdt.internal.core.index.CTagsFileWriter
	* org.eclipse.cdt.internal.core.index.CTagsHeader
	* org.eclipse.cdt.internal.core.index.CTagsRunner
	* org.eclipse.cdt.internal.core.index.IndexManager
	* org.eclipse.cdt.internal.core.index.RequestList
	
2003-09-16 Andrew Niefer
	- add parameter references to index
	- modify CharOperation.match to allow escaping wildcards (bug43063)
	- modify AbstractIndexer.bestPrefix to handle wildcard escaping in name (bug43063)

2003-09-13 Andrew Niefer
	- add Typedefs to index as Types with suffix T (bug42902)
		- added addTypedefReference to AbstractIndexer
		- modified bestTypePrefix in AbstractIndexer
		- added TYPEDEF_DECL, TYPEDEF_SUFFIX to IIndexConstants
		- modified acceptTypedefReference in SourceIndexerRequestor

2003-09-09 Andrew Niefer
	Enumerator references
 	 - Added createEnumeratorFullyQualifiedName in AbstractIndexer
	 - Added addEnumeratorReference in AbstractIndexer
	 - implemented acceptEnumeratorReference in SourceIndexerRequestor

2003-09-08 Andrew Niefer
	- Modified calls to ParserFactory to specify which language to use

2003-09-05 Andrew Niefer
	- Modified how AbstractIndexer creates the fully qualified name for an enumerator (spec 7.2-10)

2003-08-26 Bogdan Gheorghe
	- Removed header file extensions from being indexed (they
	  will be indexed via inclusion)
	
2003-08-20 Bogdan Gheorghe
	- Added debug tracing in AbstractIndexer
	- Added additional file extensions to supported indexed files
	- Changed the parser instantiation to pass in retrieved build
	  info
	- Added function decl index entry based on enterFunctionBody
	- Added method decl index entry based on enterMethodBody
	- Added forward decl refs
	
2003-08-14 Bogdan Gheorghe
	- Added forward declarations to index
	
2003-08-12 Bogdan Gheorghe
	- Changed var prefix in AbstractIndexer to pass in fully
	  qualified names
	  
2003-08-11 Bogdan Gheorghe
	- Added macro declarations to the index
	- Added macro prefix to AbstractIndexer
	
2003-08-07 Bogdan Gheorghe
	- Added shutdown cleanup routine in IndexManager
	
2003-07-28 Andrew Niefer
	- added support for '?' wildcards in AbstractIndexer.bestPrefix

2003-07-25 Bogdan Gheorghe
	- Changed parser to COMPLETE mode
	- Added functionRef, methodRef, typeRef, namespaceRef, fieldRef
	
	Modified:
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
	
2003-07-24 Andrew Niefer
	- added TYPE_ALL, FUNCTION_ALL, METHOD_ALL, NAMESPACE_ALL, FIELD_ALL constants to IIndexConstants
	- modified AbstractIndexer prefix functions to properly handle searching for all occurences
	
2003-07-23 Andrew Niefer
	Modified 
	*index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
		-changed so that the index prefixes contain the qualified names of the 
		 elements in reverse order.
		-Added functions:
			bestVariablePrefix
			bestNamespacePrefix
			bestFieldPrefix
			bestFunctionPrefix
			bestMethodPrefix

2003-07-21 Bogdan Gheorghe
	Added additional declarations to index: enums, enumerators, namespace,
	functions, vars, methods, fields, typedefs.
	
	Fixed IndexManager to prevent individually added files from
	being added to the index if indexing is not enabled for the project
	
	Modified:
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
2003-07-10 Bogdan Gheorghe
	Added bestTypeDeclarationPrefix to AbstractIndexer to allow the
	search engine to create a query string for the index.
	Changed encoding in AbstractIndexer to encode fully qualified names.
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	
2003-07-03 Bogdan Gheorghe
	Updated copyright notices.
	
2003-06-25 Bogdan Gheorghe
	Added new Indexer framework:
	
	* index/org/eclipse/cdt/internal/core/index/IDocument.java
	* index/org/eclipse/cdt/internal/core/index/IEntryResult.java
	* index/org/eclipse/cdt/internal/core/index/IIndex.java
	* index/org/eclipse/cdt/internal/core/index/IIndexer.java
	* index/org/eclipse/cdt/internal/core/index/IIndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/IQueryResult.java
	
	* index/org/eclipse/cdt/internal/core/index/impl/Block.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/CodeByteStream.java
	* index/org/eclipse/cdt/internal/core/index/impl/EntryResult.java
	* index/org/eclipse/cdt/internal/core/index/impl/Field.java
	* index/org/eclipse/cdt/internal/core/index/impl/GammaCompressedIndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IFileDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFileHashedArray.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexSummary.java
	* index/org/eclipse/cdt/internal/core/index/impl/InMemoryIndex.java
	* index/org/eclipse/cdt/internal/core/index/impl/Int.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/index/impl/PropertyDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/SafeRandomAccessFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/SimpleIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/Util.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntryHashedArray.java

	* index/org/eclipse/cdt/internal/core/search/CharOperation.java
	* index/org/eclipse/cdt/internal/core/search/HashtableOfInt.java
	* index/org/eclipse/cdt/internal/core/search/SimpleLookupTable.java
	* index/org/eclipse/cdt/internal/core/search/Util.java
	* index/org/eclipse/cdt/internal/core/search/message.properties

	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexRequest.java
	* index/org/eclipse/cdt/internal/core/search/indexing/ReadWriteMonitor.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFolderFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SaveIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java

@


1.27
log
@Patches from Thomas Fletcher to deal with some
short comings of the indexer when dealing with
Very large scale projects.
@
text
@d2 2
a3 1
                                                                                                                             
d5 1
a5 1
                                                                                                                             
@


1.26
log
@Added traceLogs into Scanner.  	Fixed Bug 46402 : expression evaluation error on branch not taken. Added beginning of IScannerExtension and GCCScannerExtension support for gcc specific aspects. Added separate Scanner log category for tracing and updated clients to use it.
@
text
@d1 14
@


1.25
log
@Patch for Bogda Gheorghe: (44366 & 45324)
- Moved off all dependency calculations to the Indexer thread,
created a new UpdateDependency job
- Modified CSearchOperation to only lock the workspace when
tagging resources with markers.
@
text
@d1 3
@


1.24
log
@Patch for Bogdan Gheorghe

This patch: 

- changes the indexer to use whatever source/header extensions are defined in CModelManager 
- updated the search shortcut so that Ctrl + H will bring up the C/C++ search in a source/header extension file 
- flushes the CDT log file after each index merge (ie. each time the indexer completes an index)
@
text
@d1 234
a234 229
2003-10-01 Bogdan Gheorghe
	- Modified BlockIndexOutput.addInclude to properly flush an
	include block once it's full.
	- Flushing the CDT log after every merge
	- Logging I/O Exceptions in AddFileToIndex
	- Changed valid source file extensions in SourceIndexer to
	  use CModelManager file extensions
	
2003-09-30 Bogdan Gheorghe
	Changed logging for SourceIndexer to log file in cdt.core
	
2003-09-25 Bogdan Gheorghe
	Integrated the dependency service into the indexer. Changes
	as follows:
	
	org.eclipse.cdt.internal.core.index.impl:
	* IIndex - added getFileDependencies methods
	* IIndexerOutput - modified to allow dep inputs into the index
	* BlocksIndexInput - modified to allow the reading of the new index (which includes dep entries)
	* BlocksIndexOutput - added facilities to write includes to the index
	* GammaCompressedIndexBlock - modified with addIncludeEntry() and nextEntry()
	* IncludeEntry - new file
	* IncludeEntryHashedArray - new file
	* Index - Added getFileDepenendencies to query includeEntries from the index
	* IndexBlock - modified to reflect changes in GammaCompressedIndexBlock
	* IndexerOutput - added new methods from IIndexerOutput
	* IndexInput - modified to allow reading of includes from index files
	* IndexSummary - modified to save/read new format which contains include info
	* InMemoryIndex - modified InMemoryIndex to keep track of includes
	* MergeFactory - modified MergeFactory to accomodate new index file format
	* SimpleIndexInput - modified to use the new functions for includes in InMemoryIndex
	* Util - Added a quickSort for includeEntry[]
	
	org.eclipse.cdt.internal.core.search.indexing:
	* AbstractIndexer - modified to getResourceFile being indexed, added bestIncludePrefix 
	  to find include table entries, addInclude() which accepts IASTInclusion node and adds it
	  to the index
	* IIndexConstants - added includeRef constant
	* IndexManager - got rid of all dependency table references
	* SourceIndexer - modified to return resource being indexed
	* SourceIndexerRequestor - Added inclusion handling code; stack for includes
	
	
2003-09-22 Bogdan Gheorghe
	
	Took out the old CTags Indexer. Modified IndexAllProject to get
	the project path straight from the resource (bypassing the CModelManager).
	Commented out the enable section in IndexManager.
	
	Modified
	* org.eclipse.cdt.internal.core.search.indexing.IndexAllProject
	* org.eclipse.cdt.internal.core.search.indexing.IndexManager
	
	Deleted
	* org.eclipse.cdt.core.index.IndexModel
	* org.eclipse.cdt.core.index.ITagEntry
	* org.eclipse.cdt.core.index.TagFlags
	* org.eclipse.cdt.internal.core.index.CTagsCmd
	* org.eclipse.cdt.internal.core.index.CTagsEntry
	* org.eclipse.cdt.internal.core.index.CTagsFileReader
	* org.eclipse.cdt.internal.core.index.CTagsFileWriter
	* org.eclipse.cdt.internal.core.index.CTagsHeader
	* org.eclipse.cdt.internal.core.index.CTagsRunner
	* org.eclipse.cdt.internal.core.index.IndexManager
	* org.eclipse.cdt.internal.core.index.RequestList
	
2003-09-16 Andrew Niefer
	- add parameter references to index
	- modify CharOperation.match to allow escaping wildcards (bug43063)
	- modify AbstractIndexer.bestPrefix to handle wildcard escaping in name (bug43063)

2003-09-13 Andrew Niefer
	- add Typedefs to index as Types with suffix T (bug42902)
		- added addTypedefReference to AbstractIndexer
		- modified bestTypePrefix in AbstractIndexer
		- added TYPEDEF_DECL, TYPEDEF_SUFFIX to IIndexConstants
		- modified acceptTypedefReference in SourceIndexerRequestor

2003-09-09 Andrew Niefer
	Enumerator references
 	 - Added createEnumeratorFullyQualifiedName in AbstractIndexer
	 - Added addEnumeratorReference in AbstractIndexer
	 - implemented acceptEnumeratorReference in SourceIndexerRequestor

2003-09-08 Andrew Niefer
	- Modified calls to ParserFactory to specify which language to use

2003-09-05 Andrew Niefer
	- Modified how AbstractIndexer creates the fully qualified name for an enumerator (spec 7.2-10)

2003-08-26 Bogdan Gheorghe
	- Removed header file extensions from being indexed (they
	  will be indexed via inclusion)
	
2003-08-20 Bogdan Gheorghe
	- Added debug tracing in AbstractIndexer
	- Added additional file extensions to supported indexed files
	- Changed the parser instantiation to pass in retrieved build
	  info
	- Added function decl index entry based on enterFunctionBody
	- Added method decl index entry based on enterMethodBody
	- Added forward decl refs
	
2003-08-14 Bogdan Gheorghe
	- Added forward declarations to index
	
2003-08-12 Bogdan Gheorghe
	- Changed var prefix in AbstractIndexer to pass in fully
	  qualified names
	  
2003-08-11 Bogdan Gheorghe
	- Added macro declarations to the index
	- Added macro prefix to AbstractIndexer
	
2003-08-07 Bogdan Gheorghe
	- Added shutdown cleanup routine in IndexManager
	
2003-07-28 Andrew Niefer
	- added support for '?' wildcards in AbstractIndexer.bestPrefix

2003-07-25 Bogdan Gheorghe
	- Changed parser to COMPLETE mode
	- Added functionRef, methodRef, typeRef, namespaceRef, fieldRef
	
	Modified:
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
	
2003-07-24 Andrew Niefer
	- added TYPE_ALL, FUNCTION_ALL, METHOD_ALL, NAMESPACE_ALL, FIELD_ALL constants to IIndexConstants
	- modified AbstractIndexer prefix functions to properly handle searching for all occurences
	
2003-07-23 Andrew Niefer
	Modified 
	*index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
		-changed so that the index prefixes contain the qualified names of the 
		 elements in reverse order.
		-Added functions:
			bestVariablePrefix
			bestNamespacePrefix
			bestFieldPrefix
			bestFunctionPrefix
			bestMethodPrefix

2003-07-21 Bogdan Gheorghe
	Added additional declarations to index: enums, enumerators, namespace,
	functions, vars, methods, fields, typedefs.
	
	Fixed IndexManager to prevent individually added files from
	being added to the index if indexing is not enabled for the project
	
	Modified:
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
2003-07-10 Bogdan Gheorghe
	Added bestTypeDeclarationPrefix to AbstractIndexer to allow the
	search engine to create a query string for the index.
	Changed encoding in AbstractIndexer to encode fully qualified names.
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	
2003-07-03 Bogdan Gheorghe
	Updated copyright notices.
	
2003-06-25 Bogdan Gheorghe
	Added new Indexer framework:
	
	* index/org/eclipse/cdt/internal/core/index/IDocument.java
	* index/org/eclipse/cdt/internal/core/index/IEntryResult.java
	* index/org/eclipse/cdt/internal/core/index/IIndex.java
	* index/org/eclipse/cdt/internal/core/index/IIndexer.java
	* index/org/eclipse/cdt/internal/core/index/IIndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/IQueryResult.java
	
	* index/org/eclipse/cdt/internal/core/index/impl/Block.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/CodeByteStream.java
	* index/org/eclipse/cdt/internal/core/index/impl/EntryResult.java
	* index/org/eclipse/cdt/internal/core/index/impl/Field.java
	* index/org/eclipse/cdt/internal/core/index/impl/GammaCompressedIndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IFileDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFileHashedArray.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexSummary.java
	* index/org/eclipse/cdt/internal/core/index/impl/InMemoryIndex.java
	* index/org/eclipse/cdt/internal/core/index/impl/Int.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/index/impl/PropertyDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/SafeRandomAccessFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/SimpleIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/Util.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntryHashedArray.java

	* index/org/eclipse/cdt/internal/core/search/CharOperation.java
	* index/org/eclipse/cdt/internal/core/search/HashtableOfInt.java
	* index/org/eclipse/cdt/internal/core/search/SimpleLookupTable.java
	* index/org/eclipse/cdt/internal/core/search/Util.java
	* index/org/eclipse/cdt/internal/core/search/message.properties

	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexRequest.java
	* index/org/eclipse/cdt/internal/core/search/indexing/ReadWriteMonitor.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFolderFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SaveIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java

@


1.24.2.1
log
@Patch for Bogdan: (44366 & 45324)
- Moved off all dependency calculations to the Indexer thread,
created a new UpdateDependency job
- Modified CSearchOperation to only lock the workspace
when tagging resources with markers.
@
text
@d1 229
a229 234
2003-10-22 Bogdan Gheorghe
	
	Added updateDependencies() to the IndexManager to request
	a new UpdateDependency job.
	
2003-10-01 Bogdan Gheorghe
	- Modified BlockIndexOutput.addInclude to properly flush an
	include block once it's full.
	- Flushing the CDT log after every merge
	- Logging I/O Exceptions in AddFileToIndex
	- Changed valid source file extensions in SourceIndexer to
	  use CModelManager file extensions
	
2003-09-30 Bogdan Gheorghe
	Changed logging for SourceIndexer to log file in cdt.core
	
2003-09-25 Bogdan Gheorghe
	Integrated the dependency service into the indexer. Changes
	as follows:
	
	org.eclipse.cdt.internal.core.index.impl:
	* IIndex - added getFileDependencies methods
	* IIndexerOutput - modified to allow dep inputs into the index
	* BlocksIndexInput - modified to allow the reading of the new index (which includes dep entries)
	* BlocksIndexOutput - added facilities to write includes to the index
	* GammaCompressedIndexBlock - modified with addIncludeEntry() and nextEntry()
	* IncludeEntry - new file
	* IncludeEntryHashedArray - new file
	* Index - Added getFileDepenendencies to query includeEntries from the index
	* IndexBlock - modified to reflect changes in GammaCompressedIndexBlock
	* IndexerOutput - added new methods from IIndexerOutput
	* IndexInput - modified to allow reading of includes from index files
	* IndexSummary - modified to save/read new format which contains include info
	* InMemoryIndex - modified InMemoryIndex to keep track of includes
	* MergeFactory - modified MergeFactory to accomodate new index file format
	* SimpleIndexInput - modified to use the new functions for includes in InMemoryIndex
	* Util - Added a quickSort for includeEntry[]
	
	org.eclipse.cdt.internal.core.search.indexing:
	* AbstractIndexer - modified to getResourceFile being indexed, added bestIncludePrefix 
	  to find include table entries, addInclude() which accepts IASTInclusion node and adds it
	  to the index
	* IIndexConstants - added includeRef constant
	* IndexManager - got rid of all dependency table references
	* SourceIndexer - modified to return resource being indexed
	* SourceIndexerRequestor - Added inclusion handling code; stack for includes
	
	
2003-09-22 Bogdan Gheorghe
	
	Took out the old CTags Indexer. Modified IndexAllProject to get
	the project path straight from the resource (bypassing the CModelManager).
	Commented out the enable section in IndexManager.
	
	Modified
	* org.eclipse.cdt.internal.core.search.indexing.IndexAllProject
	* org.eclipse.cdt.internal.core.search.indexing.IndexManager
	
	Deleted
	* org.eclipse.cdt.core.index.IndexModel
	* org.eclipse.cdt.core.index.ITagEntry
	* org.eclipse.cdt.core.index.TagFlags
	* org.eclipse.cdt.internal.core.index.CTagsCmd
	* org.eclipse.cdt.internal.core.index.CTagsEntry
	* org.eclipse.cdt.internal.core.index.CTagsFileReader
	* org.eclipse.cdt.internal.core.index.CTagsFileWriter
	* org.eclipse.cdt.internal.core.index.CTagsHeader
	* org.eclipse.cdt.internal.core.index.CTagsRunner
	* org.eclipse.cdt.internal.core.index.IndexManager
	* org.eclipse.cdt.internal.core.index.RequestList
	
2003-09-16 Andrew Niefer
	- add parameter references to index
	- modify CharOperation.match to allow escaping wildcards (bug43063)
	- modify AbstractIndexer.bestPrefix to handle wildcard escaping in name (bug43063)

2003-09-13 Andrew Niefer
	- add Typedefs to index as Types with suffix T (bug42902)
		- added addTypedefReference to AbstractIndexer
		- modified bestTypePrefix in AbstractIndexer
		- added TYPEDEF_DECL, TYPEDEF_SUFFIX to IIndexConstants
		- modified acceptTypedefReference in SourceIndexerRequestor

2003-09-09 Andrew Niefer
	Enumerator references
 	 - Added createEnumeratorFullyQualifiedName in AbstractIndexer
	 - Added addEnumeratorReference in AbstractIndexer
	 - implemented acceptEnumeratorReference in SourceIndexerRequestor

2003-09-08 Andrew Niefer
	- Modified calls to ParserFactory to specify which language to use

2003-09-05 Andrew Niefer
	- Modified how AbstractIndexer creates the fully qualified name for an enumerator (spec 7.2-10)

2003-08-26 Bogdan Gheorghe
	- Removed header file extensions from being indexed (they
	  will be indexed via inclusion)
	
2003-08-20 Bogdan Gheorghe
	- Added debug tracing in AbstractIndexer
	- Added additional file extensions to supported indexed files
	- Changed the parser instantiation to pass in retrieved build
	  info
	- Added function decl index entry based on enterFunctionBody
	- Added method decl index entry based on enterMethodBody
	- Added forward decl refs
	
2003-08-14 Bogdan Gheorghe
	- Added forward declarations to index
	
2003-08-12 Bogdan Gheorghe
	- Changed var prefix in AbstractIndexer to pass in fully
	  qualified names
	  
2003-08-11 Bogdan Gheorghe
	- Added macro declarations to the index
	- Added macro prefix to AbstractIndexer
	
2003-08-07 Bogdan Gheorghe
	- Added shutdown cleanup routine in IndexManager
	
2003-07-28 Andrew Niefer
	- added support for '?' wildcards in AbstractIndexer.bestPrefix

2003-07-25 Bogdan Gheorghe
	- Changed parser to COMPLETE mode
	- Added functionRef, methodRef, typeRef, namespaceRef, fieldRef
	
	Modified:
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
	
2003-07-24 Andrew Niefer
	- added TYPE_ALL, FUNCTION_ALL, METHOD_ALL, NAMESPACE_ALL, FIELD_ALL constants to IIndexConstants
	- modified AbstractIndexer prefix functions to properly handle searching for all occurences
	
2003-07-23 Andrew Niefer
	Modified 
	*index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
		-changed so that the index prefixes contain the qualified names of the 
		 elements in reverse order.
		-Added functions:
			bestVariablePrefix
			bestNamespacePrefix
			bestFieldPrefix
			bestFunctionPrefix
			bestMethodPrefix

2003-07-21 Bogdan Gheorghe
	Added additional declarations to index: enums, enumerators, namespace,
	functions, vars, methods, fields, typedefs.
	
	Fixed IndexManager to prevent individually added files from
	being added to the index if indexing is not enabled for the project
	
	Modified:
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
2003-07-10 Bogdan Gheorghe
	Added bestTypeDeclarationPrefix to AbstractIndexer to allow the
	search engine to create a query string for the index.
	Changed encoding in AbstractIndexer to encode fully qualified names.
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	
2003-07-03 Bogdan Gheorghe
	Updated copyright notices.
	
2003-06-25 Bogdan Gheorghe
	Added new Indexer framework:
	
	* index/org/eclipse/cdt/internal/core/index/IDocument.java
	* index/org/eclipse/cdt/internal/core/index/IEntryResult.java
	* index/org/eclipse/cdt/internal/core/index/IIndex.java
	* index/org/eclipse/cdt/internal/core/index/IIndexer.java
	* index/org/eclipse/cdt/internal/core/index/IIndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/IQueryResult.java
	
	* index/org/eclipse/cdt/internal/core/index/impl/Block.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/CodeByteStream.java
	* index/org/eclipse/cdt/internal/core/index/impl/EntryResult.java
	* index/org/eclipse/cdt/internal/core/index/impl/Field.java
	* index/org/eclipse/cdt/internal/core/index/impl/GammaCompressedIndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IFileDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFileHashedArray.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexSummary.java
	* index/org/eclipse/cdt/internal/core/index/impl/InMemoryIndex.java
	* index/org/eclipse/cdt/internal/core/index/impl/Int.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/index/impl/PropertyDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/SafeRandomAccessFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/SimpleIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/Util.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntryHashedArray.java

	* index/org/eclipse/cdt/internal/core/search/CharOperation.java
	* index/org/eclipse/cdt/internal/core/search/HashtableOfInt.java
	* index/org/eclipse/cdt/internal/core/search/SimpleLookupTable.java
	* index/org/eclipse/cdt/internal/core/search/Util.java
	* index/org/eclipse/cdt/internal/core/search/message.properties

	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexRequest.java
	* index/org/eclipse/cdt/internal/core/search/indexing/ReadWriteMonitor.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFolderFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SaveIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java

@


1.24.2.2
log
@Patches from Thomas Fletcher to deal with PR 51106
@
text
@a0 15
2004-02-03 Alain Magloire

	PR 51106
	Patches from Thomas Fletcher dealing with the indexer.

	- Remove assumed throw/catch of an exception to be a regular occurance
  	and replace with explicit test and return for bounds access to the
  	particular array.

	- Consider references outside of the mapping range the same as no longer
  	valid mappings (ie -1 entries) and avoid array range exceptions.                                                                                                                         

	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/FileListBlock.java

@


1.24.2.3
log
@Patch for Bogdan Gheorghe.

This patch adds a layer of separation between the indexer and the parser by running the parser in its own thread. This allows the indexer to finish all jobs regardless of the individual parser outcomes. Also fixed a potential EOF bug while reading stored indexes.
@
text
@d1 249
a249 263
2004-02-10 Bogdan Gheorghe
	PR 51232
	
	- Added a layer of separation between the parser and the indexer: we now
	  create a worker thread to run the parser in. This allows the indexer to 
	  finish all scheduled jobs regardless of how the parser performs on
	  individual files (i.e. indexing no longer affected by parser failures)
	  
	- Modified some of the stored index block reading routines to use separate
	  counters, thus avoiding potential EOF exceptions.
	  
    * index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/search/indexing/SourceIndexer.java
	
2004-02-03 Alain Magloire

	PR 51106
	Patches from Thomas Fletcher dealing with the indexer.

	- Remove assumed throw/catch of an exception to be a regular occurance
  	and replace with explicit test and return for bounds access to the
  	particular array.

	- Consider references outside of the mapping range the same as no longer
  	valid mappings (ie -1 entries) and avoid array range exceptions.                                                                                                                         

	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/FileListBlock.java

2003-10-22 Bogdan Gheorghe
	
	Added updateDependencies() to the IndexManager to request
	a new UpdateDependency job.
	
2003-10-01 Bogdan Gheorghe
	- Modified BlockIndexOutput.addInclude to properly flush an
	include block once it's full.
	- Flushing the CDT log after every merge
	- Logging I/O Exceptions in AddFileToIndex
	- Changed valid source file extensions in SourceIndexer to
	  use CModelManager file extensions
	
2003-09-30 Bogdan Gheorghe
	Changed logging for SourceIndexer to log file in cdt.core
	
2003-09-25 Bogdan Gheorghe
	Integrated the dependency service into the indexer. Changes
	as follows:
	
	org.eclipse.cdt.internal.core.index.impl:
	* IIndex - added getFileDependencies methods
	* IIndexerOutput - modified to allow dep inputs into the index
	* BlocksIndexInput - modified to allow the reading of the new index (which includes dep entries)
	* BlocksIndexOutput - added facilities to write includes to the index
	* GammaCompressedIndexBlock - modified with addIncludeEntry() and nextEntry()
	* IncludeEntry - new file
	* IncludeEntryHashedArray - new file
	* Index - Added getFileDepenendencies to query includeEntries from the index
	* IndexBlock - modified to reflect changes in GammaCompressedIndexBlock
	* IndexerOutput - added new methods from IIndexerOutput
	* IndexInput - modified to allow reading of includes from index files
	* IndexSummary - modified to save/read new format which contains include info
	* InMemoryIndex - modified InMemoryIndex to keep track of includes
	* MergeFactory - modified MergeFactory to accomodate new index file format
	* SimpleIndexInput - modified to use the new functions for includes in InMemoryIndex
	* Util - Added a quickSort for includeEntry[]
	
	org.eclipse.cdt.internal.core.search.indexing:
	* AbstractIndexer - modified to getResourceFile being indexed, added bestIncludePrefix 
	  to find include table entries, addInclude() which accepts IASTInclusion node and adds it
	  to the index
	* IIndexConstants - added includeRef constant
	* IndexManager - got rid of all dependency table references
	* SourceIndexer - modified to return resource being indexed
	* SourceIndexerRequestor - Added inclusion handling code; stack for includes
	
	
2003-09-22 Bogdan Gheorghe
	
	Took out the old CTags Indexer. Modified IndexAllProject to get
	the project path straight from the resource (bypassing the CModelManager).
	Commented out the enable section in IndexManager.
	
	Modified
	* org.eclipse.cdt.internal.core.search.indexing.IndexAllProject
	* org.eclipse.cdt.internal.core.search.indexing.IndexManager
	
	Deleted
	* org.eclipse.cdt.core.index.IndexModel
	* org.eclipse.cdt.core.index.ITagEntry
	* org.eclipse.cdt.core.index.TagFlags
	* org.eclipse.cdt.internal.core.index.CTagsCmd
	* org.eclipse.cdt.internal.core.index.CTagsEntry
	* org.eclipse.cdt.internal.core.index.CTagsFileReader
	* org.eclipse.cdt.internal.core.index.CTagsFileWriter
	* org.eclipse.cdt.internal.core.index.CTagsHeader
	* org.eclipse.cdt.internal.core.index.CTagsRunner
	* org.eclipse.cdt.internal.core.index.IndexManager
	* org.eclipse.cdt.internal.core.index.RequestList
	
2003-09-16 Andrew Niefer
	- add parameter references to index
	- modify CharOperation.match to allow escaping wildcards (bug43063)
	- modify AbstractIndexer.bestPrefix to handle wildcard escaping in name (bug43063)

2003-09-13 Andrew Niefer
	- add Typedefs to index as Types with suffix T (bug42902)
		- added addTypedefReference to AbstractIndexer
		- modified bestTypePrefix in AbstractIndexer
		- added TYPEDEF_DECL, TYPEDEF_SUFFIX to IIndexConstants
		- modified acceptTypedefReference in SourceIndexerRequestor

2003-09-09 Andrew Niefer
	Enumerator references
 	 - Added createEnumeratorFullyQualifiedName in AbstractIndexer
	 - Added addEnumeratorReference in AbstractIndexer
	 - implemented acceptEnumeratorReference in SourceIndexerRequestor

2003-09-08 Andrew Niefer
	- Modified calls to ParserFactory to specify which language to use

2003-09-05 Andrew Niefer
	- Modified how AbstractIndexer creates the fully qualified name for an enumerator (spec 7.2-10)

2003-08-26 Bogdan Gheorghe
	- Removed header file extensions from being indexed (they
	  will be indexed via inclusion)
	
2003-08-20 Bogdan Gheorghe
	- Added debug tracing in AbstractIndexer
	- Added additional file extensions to supported indexed files
	- Changed the parser instantiation to pass in retrieved build
	  info
	- Added function decl index entry based on enterFunctionBody
	- Added method decl index entry based on enterMethodBody
	- Added forward decl refs
	
2003-08-14 Bogdan Gheorghe
	- Added forward declarations to index
	
2003-08-12 Bogdan Gheorghe
	- Changed var prefix in AbstractIndexer to pass in fully
	  qualified names
	  
2003-08-11 Bogdan Gheorghe
	- Added macro declarations to the index
	- Added macro prefix to AbstractIndexer
	
2003-08-07 Bogdan Gheorghe
	- Added shutdown cleanup routine in IndexManager
	
2003-07-28 Andrew Niefer
	- added support for '?' wildcards in AbstractIndexer.bestPrefix

2003-07-25 Bogdan Gheorghe
	- Changed parser to COMPLETE mode
	- Added functionRef, methodRef, typeRef, namespaceRef, fieldRef
	
	Modified:
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
	
2003-07-24 Andrew Niefer
	- added TYPE_ALL, FUNCTION_ALL, METHOD_ALL, NAMESPACE_ALL, FIELD_ALL constants to IIndexConstants
	- modified AbstractIndexer prefix functions to properly handle searching for all occurences
	
2003-07-23 Andrew Niefer
	Modified 
	*index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
		-changed so that the index prefixes contain the qualified names of the 
		 elements in reverse order.
		-Added functions:
			bestVariablePrefix
			bestNamespacePrefix
			bestFieldPrefix
			bestFunctionPrefix
			bestMethodPrefix

2003-07-21 Bogdan Gheorghe
	Added additional declarations to index: enums, enumerators, namespace,
	functions, vars, methods, fields, typedefs.
	
	Fixed IndexManager to prevent individually added files from
	being added to the index if indexing is not enabled for the project
	
	Modified:
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
	
2003-07-10 Bogdan Gheorghe
	Added bestTypeDeclarationPrefix to AbstractIndexer to allow the
	search engine to create a query string for the index.
	Changed encoding in AbstractIndexer to encode fully qualified names.
	
	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	
2003-07-03 Bogdan Gheorghe
	Updated copyright notices.
	
2003-06-25 Bogdan Gheorghe
	Added new Indexer framework:
	
	* index/org/eclipse/cdt/internal/core/index/IDocument.java
	* index/org/eclipse/cdt/internal/core/index/IEntryResult.java
	* index/org/eclipse/cdt/internal/core/index/IIndex.java
	* index/org/eclipse/cdt/internal/core/index/IIndexer.java
	* index/org/eclipse/cdt/internal/core/index/IIndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/IQueryResult.java
	
	* index/org/eclipse/cdt/internal/core/index/impl/Block.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/CodeByteStream.java
	* index/org/eclipse/cdt/internal/core/index/impl/EntryResult.java
	* index/org/eclipse/cdt/internal/core/index/impl/Field.java
	* index/org/eclipse/cdt/internal/core/index/impl/GammaCompressedIndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IFileDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFileHashedArray.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexSummary.java
	* index/org/eclipse/cdt/internal/core/index/impl/InMemoryIndex.java
	* index/org/eclipse/cdt/internal/core/index/impl/Int.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/index/impl/PropertyDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/SafeRandomAccessFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/SimpleIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/Util.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntryHashedArray.java

	* index/org/eclipse/cdt/internal/core/search/CharOperation.java
	* index/org/eclipse/cdt/internal/core/search/HashtableOfInt.java
	* index/org/eclipse/cdt/internal/core/search/SimpleLookupTable.java
	* index/org/eclipse/cdt/internal/core/search/Util.java
	* index/org/eclipse/cdt/internal/core/search/message.properties

	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexRequest.java
	* index/org/eclipse/cdt/internal/core/search/indexing/ReadWriteMonitor.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFolderFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SaveIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java

@


1.24.2.4
log
@Patch for Bogdan Gheorghe
In this patch: 

- Improved error handling for Indexer 
- Improved error handling for MatchLocator 
- Bounds checking for mappings in IncudeEntry 
- Improved error handling for Merge operations 
- Source file name fitering for recreating an already existing index
@
text
@d1 1
a1 1
2004-02-13 Bogdan Gheorghe
a2 17

	- Added mapping range checking to IncludeEntry to avoid out of bounds exceptions
	- Added error handling to MergeFactory to handle problems during the save operation
	- Added source file name filtering for the recreate an already existing index scenario in
	  IndexAllProject. 
	- Added more robust error handling to SourceIndexer
	- Added error handling routine to Util.getFileCharContent() to deal with potential out of 
	  memory crash
	
	* index/org/eclipse/cdt/internal/core/index/impl/IncludeEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/index/search/Util.java
	* index/org/eclipse/cdt/internal/core/index/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/index/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/index/search/indexing/AddFolderToIndex.java
	
2004-02-10 Bogdan Gheorghe
d4 5
d13 1
@


1.24.2.5
log
@patch from Bogdan
"This patch adds an index enablement tab to the project properties page for both managed and standard make projects for the 1.2 stream. "
@
text
@a0 7
2004-12-07 Bogdan Gheorghe
	- Added Index Enablement checking

	* index/org/eclipse/cdt/internal/core/index/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/index/search/indexing/IndexRequest.java
	
	 
@


1.23
log
@Patch for Bogdan Gheorghe.


This patch fixes the indexer merge problem on large projects. 

Automation Test Suite run on Windows + Linux.
@
text
@d2 1
a2 1
	Modified BlockIndexOutput.addInclude to properly flush an
d4 4
@


1.22
log
@Patch for Bogdan Gheorghe. 

Here's a patch that creates and manages a CDT log file in the .metadata\.plugins\org.eclipse.cdt.core folder. This log file, for now, will contain indexer failure messages and parser failure messages - particularly inclusion failures. These messages were being logged to the PDE error log which, given the number of failures that we can expect on some files, was filling up rather quickly. I put a 5MB limit on the CDT log file after which it gets deleted and a new one gets created. The intent of this log file is to help a user figure out why something isn't being indexed properly - the usual reasons are: i) can't find an include file, ii) symbols not defined. 

Also in this patch are 2 minor UI fixes: i) dedicated to Brent - Ctrl+H now brings up the C++ Search Dialog for all C Editor supported extensions, and ii) especially for Alain - F3 will perform a Open Declarations.
@
text
@d1 4
@


1.21
log
@Patch for Bogdan Gheorghe:
This patch integrates the dependency calculator into
the indexer. As a result the underlying indexer file storage
format has changes. Lots of detail in the change logs of
exactly what changed...
@
text
@d1 3
@


1.20
log
@Patch for Bogdan Gheorghe

Fixed  Bug 42685, Bug 43474. 

This patch: 
  - removes the old CTags Indexer 
  - removes the remaining Indexer block UI item under  Project Properties 
  - enables the Indexer on all projects
@
text
@d1 32
@


1.19
log
@Patch for Andrew Niefer

core :
        - add parameter references to index
        - modify CharOperation.match to allow escaping wildcards 
(bug43063)
        - modify AbstractIndexer.bestPrefix to handle wildcard escaping in 
name (bug43063)
        - modify CSearchPattern to handle escaping wildcards (bug43063)
        - modify enterFunctionBody and enterMethodBody to fix bug42979
        - search for Parameter References
        - added setThrowExceptionOnBadCharacterRead to IScanner to help 
with wildcard bug43063

tests:
        - modified resources/search/classDecl.cpp & include.h to include 
some operators
        - added testOperators_bug43063_bug42979() to 
MethodDeclarationPatternTests
        - added testParameterREferences to OtherPatternTests
@
text
@d1 23
@


1.18
log
@This patch is for the following bugs:
bug42836 - Navigate/search: prepopulate template classes from Outline...
bug42902 - Search: Cannot find typedef
bug43016 - Search: Cannot find macro declarations
 
 Core:
 - add Typedefs to index as Types with suffix T (bug42902)
         - added addTypedefReference to AbstractIndexer
         - modified bestTypePrefix in AbstractIndexer
 - added TYPEDEF_DECL, TYPEDEF_SUFFIX to IIndexConstants
         - modified acceptTypedefReference in SourceIndexerRequestor
 -Searching for Typedefs: (bug42902)
         - modified setElementInfo in BasicSearchResultCollector
        - added TYPEDEF to ICSearchConstants
         - modified CSearchPattern & ClassDeclarationPattern
         - implemented acceptTypedef* in MatchLocator
 
 Core.tests
 - updated testIndexContents and testIndexAll and added them back into the 
   IndexManagerTests suite
 - modified resources/search/classDecl.cpp to include a typedef
  - added testbug42902_TypeDefs to ClassDeclarationPatternTests
  - updated testNamespaceReferenceInClassBaseClause in OtherPatternTests
 
 UI
 - modified performAction & determineInitValuesFrom in CSearchPage
 - modified getImage in CSearchResultLabelProvider
@
text
@d1 5
@


1.17
log
@Patch for Andrew Niefer

Core :
        Index
        Enumerator references
         - Added createEnumeratorFullyQualifiedName in AbstractIndexer
         - Added addEnumeratorReference in AbstractIndexer
         - implemented acceptEnumeratorReference in SourceIndexerRequestor

        Search
        pattern matching on function parameters:
         - modified scanForParameters in CSearchPattern
         - added getParamString in CSearchPattern
         - modified matchLevel in MethodDeclarationPattern
 
        Enumeration references
         - modified acceptEnumeratorReference in MatchLocator

core.tests:
        Modified resources/search/classDecl.cpp
         - to include more function declarations to test parameter 
matching
         - to include an enumerator reference to test enumerators
        Added testMethodDeclarationParameterMatching to 
FunctionMethodPatternTests.java
        Added testEnumeratorReferences to OtherPatternTests
@
text
@d1 7
@


1.16
log
@Patch for Andrew Niefer

Core : 
- Create ParserLanguage.java
- Modified ParserFactory functions to take ParserLanguage as parameter
- Modifier Parser, Scanner & ParserSymbolTable to use new ParserLanguage 
class
- Update call to ParserFactory in Indexer, Search, CModelBuilder & 
Dependency Tree

Core.tests:
- Updated calls to ParserFactory to specify which language to use

UI:
-CStructorCreator uses the parser, modified call to ParserFactory to 
specify CPP language.
  (this is the same behaviour as before)
@
text
@d1 6
@


1.15
log
@Patch for Andrew Niefer

Core:
- fix patterns & indexing for Enumerators

Core.Tests:
- Added testEnumerators to OtherPatternTests.java
- Modified resources/search/classDecl.cpp to include some enumerators

UI:
- enable Selected Resources scope
- populate dialog base on selection when opened from outline view
- fix small bug that found namespaces when searching for enumerations
- tweak sorting by path to consider line number second
@
text
@d1 3
@


1.14
log
@Patch for Bogdan Gheorghe:
Indexer 
======= 
- Changed file extensions to prevent header files from being indexed (they will be indexed via inclusion) 

Search 
======= 
- Added scope checking to MatchLocator 
- Modified CSearchPattern to allow for destructor searches 
- Added debug tracing statements to SearchEngine 
- Added debug tracing statements to MatchLocator 

UI 
== 
- Converted CTags based OpenOnSelectionAction to OpenDeclarationsAction. For now, we do a search on all types with the selected name. 
- Hooked up OpenDeclarationsAction to search engine 

General 
======= 
- Modified start up code to set debug trace options (which are defined from the launcher). I've added the following trace components: 
        - dependency 
        - indexer 
        - indexmanager 
        - matchlocator 
        - model 
        - search 
        - parser 

- Added trace debug statements to CModelBuilder 
- Modified Util.java to make use of IDebugLogConstants
@
text
@d1 3
@


1.13
log
@Patch for Bogdan Gheorghe:
Indexer 
- Added additional file extensions to supported indexed files 
- Changed the parser instantiation to pass in retrieved build info 
- Added function decl index entry based on enterFunctionBody 
- Added method decl index entry based on enterMethodBody 
- Added forward decl refs 
- Added debug tracing to AbstractIndexer 

Search 
- Changed matching and reporting functions to handle nodes 
  of type IElaboratedTypeSpecifier 

UI 
- Added a search dialog pop up item to the context menu for the 
  CEditor and CContentOutlinePage
@
text
@d1 4
@


1.12
log
@Patch for Bogdan Gheorghe

This patch combines the field and variable search patterns into one in order to allow qualified searches on variables.
@
text
@d1 12
@


1.11
log
@Patch for Bogdan Gheorghe. 

This patch adds working copy search, macro search and combines the function and method search patterns into one.
@
text
@d1 4
@


1.10
log
@Patch for Bogdan (Fancy Pants) Gheorghe

This patch adds macro declarations to the index.
@
text
@d3 1
@


1.9
log
@Patch for Bogdan Gheorghe

Put in Indexer shut down which cleans up the .metadata directory of any suspicious looking index files 
Put in CSearchScope changes (in both UI and core) to enable working set searches
@
text
@d1 3
@


1.8
log
@Patch for Andrew Niefer

core:
- fixed a couple of bugs to do with searching for globally qualified 
patterns
- fixed a bug to do with the '?' wildcard
- fixed a bug to do with searching for functions/methods using patterns 
specifying parameters

tests:
- new search tests:
                ClassDeclarationPatternTests.testClassReferenceInFieldType
                ClassDeclarationPatternTests.testClassReferences
 ClassDeclarationPatternTests.testEnumerationReferenceVisibleByInheritance
                ClassDeclarationPatternTests.testGloballyQualifiedItem
 ClassDeclarationPatternTests.testTypeReferenceVisibleByUsingDirective
                FunctionMethodPatternTests.testMethodDeclaration
                FunctionMethodPatternTests.testMethodDeclarationWithParams
                OtherPatternTests.testFieldDeclaration
                OtherPatternTests.testNamespaceDeclaration
                OtherPatternTests.testNamespaceReferenceInClassBaseClause
                OtherPatternTests.testNamespaceReferenceInUsingDirective
                OtherPatternTests.testVariableDeclaration
@
text
@d1 3
@


1.7
log
@Patch for Bogdan Gheorghe.  

This patch adds type refs, function refs, method refs,  fireld refs and namespace refs to the index and changes the parser mode to complete parse.
@
text
@d1 3
@


1.6
log
@Patch for Andrew Niefer

This patch is for the search.  No new things can be searched yet, but this 
brings more things closer to being able to be searched.

        - Implemented decodeIndexEntry & matchIndexEntry for all patterns
        - changed MatchLocator to use a COMPLETE_PARSE.
        - added TYPE_ALL, FUNCTION_ALL, METHOD_ALL, NAMESPACE_ALL, 
FIELD_ALL constants to IIndexConstants
        - modified AbstractIndexer prefix functions to properly handle 
searching for all occurences
@
text
@d1 11
@


1.5
log
@Patch for Andrew Niefer:
Core:
- modifications to the Indexer to better support qualified names
- functions to create Index entry prefixes for the different Search 
Patterns
- all of the search patterns are now being created and all do at least 
some matching
- all of the parser callbacks for declarations, definitions, and 
references are now being handled, though the patterns and indexer both 
need some work here

Core.tests:
- new BaseSearchTest which creates a project and uses the indexer
- new test class FunctionMethodPatternTests to test aspects of the 
Function & Method patterns
- new test class OtherPatternTests to test the other (Namespace, Field & 
variable) patterns
- new tests to test index prefixes for the patterns

UI:
- handle more varied search results and display more icons
@
text
@d2 4
@


1.4
log
@Patch for Bogdan Gheorghe:
- adds namespaces, enums, typedefs, functions,
methods, fields and vars to the index.
- also fixes a problem with the Search label provider
which caused it to not display properly under some
conditions.
@
text
@d1 12
@


1.3
log
@Patch for Bogdan Gheorghe:
- support for class specifier search
- a new C/C++ search menu item.
@
text
@d1 14
@


1.2
log
@Changes form Bogdan to add support for adding individual
source file to the indexer.  Also when removing projects
to remove the files in the indexer working tasks.
@
text
@d1 68
a68 61
2003-07-03 Bogdan Gheorghe
	Updated copyright notices.
	
2003-06-25 Bogdan Gheorghe
	Added new Indexer framework:
	
	* index/org/eclipse/cdt/internal/core/index/IDocument.java
	* index/org/eclipse/cdt/internal/core/index/IEntryResult.java
	* index/org/eclipse/cdt/internal/core/index/IIndex.java
	* index/org/eclipse/cdt/internal/core/index/IIndexer.java
	* index/org/eclipse/cdt/internal/core/index/IIndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/IQueryResult.java
	
	* index/org/eclipse/cdt/internal/core/index/impl/Block.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/CodeByteStream.java
	* index/org/eclipse/cdt/internal/core/index/impl/EntryResult.java
	* index/org/eclipse/cdt/internal/core/index/impl/Field.java
	* index/org/eclipse/cdt/internal/core/index/impl/GammaCompressedIndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IFileDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFileHashedArray.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexSummary.java
	* index/org/eclipse/cdt/internal/core/index/impl/InMemoryIndex.java
	* index/org/eclipse/cdt/internal/core/index/impl/Int.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/index/impl/PropertyDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/SafeRandomAccessFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/SimpleIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/Util.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntryHashedArray.java

	* index/org/eclipse/cdt/internal/core/search/CharOperation.java
	* index/org/eclipse/cdt/internal/core/search/HashtableOfInt.java
	* index/org/eclipse/cdt/internal/core/search/SimpleLookupTable.java
	* index/org/eclipse/cdt/internal/core/search/Util.java
	* index/org/eclipse/cdt/internal/core/search/message.properties

	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexRequest.java
	* index/org/eclipse/cdt/internal/core/search/indexing/ReadWriteMonitor.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFolderFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SaveIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java

@


1.1
log
@Patch for Bogdan Gheorghe:
- The initial framework for the new indexer.
- Added a checkbox to the Indexer tab on the
C/C++ Projects settings dialog to turn on the
indexing on a per project basis.
@
text
@d1 61
a61 59
2003-06-25 Bogdan Gheorghe

	Added new Indexer framework:
	
	* index/org/eclipse/cdt/internal/core/index/IDocument.java
	* index/org/eclipse/cdt/internal/core/index/IEntryResult.java
	* index/org/eclipse/cdt/internal/core/index/IIndex.java
	* index/org/eclipse/cdt/internal/core/index/IIndexer.java
	* index/org/eclipse/cdt/internal/core/index/IIndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/IQueryResult.java
	
	* index/org/eclipse/cdt/internal/core/index/impl/Block.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/BlocksIndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/CodeByteStream.java
	* index/org/eclipse/cdt/internal/core/index/impl/EntryResult.java
	* index/org/eclipse/cdt/internal/core/index/impl/Field.java
	* index/org/eclipse/cdt/internal/core/index/impl/GammaCompressedIndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IFileDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/index/impl/Index.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexBlock.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexedFileHashedArray.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexerOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexOutput.java
	* index/org/eclipse/cdt/internal/core/index/impl/IndexSummary.java
	* index/org/eclipse/cdt/internal/core/index/impl/InMemoryIndex.java
	* index/org/eclipse/cdt/internal/core/index/impl/Int.java
	* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
	* index/org/eclipse/cdt/internal/core/index/impl/PropertyDocument.java
	* index/org/eclipse/cdt/internal/core/index/impl/SafeRandomAccessFile.java
	* index/org/eclipse/cdt/internal/core/index/impl/SimpleIndexInput.java
	* index/org/eclipse/cdt/internal/core/index/impl/Util.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
	* index/org/eclipse/cdt/internal/core/index/impl/WordEntryHashedArray.java

	* index/org/eclipse/cdt/internal/core/search/CharOperation.java
	* index/org/eclipse/cdt/internal/core/search/HashtableOfInt.java
	* index/org/eclipse/cdt/internal/core/search/SimpleLookupTable.java
	* index/org/eclipse/cdt/internal/core/search/Util.java
	* index/org/eclipse/cdt/internal/core/search/message.properties

	* index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddCompilationUnitToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFileToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/AddFolderToIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IIndexConstants.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexAllProject.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexManager.java
	* index/org/eclipse/cdt/internal/core/search/indexing/IndexRequest.java
	* index/org/eclipse/cdt/internal/core/search/indexing/ReadWriteMonitor.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFolderFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/RemoveFromIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SaveIndex.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexer.java
	* index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java

@

