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

136 commits

Author SHA1 Message Date
Bogdan Gheorghe
502f1c4822 Fix for Bug 78678: Indexer stops reindexing file after repeated saves 2004-11-17 21:52:45 +00:00
Bogdan Gheorghe
44e45fb15f Fix for Bug 78414: IProblem count increased through indexing header files stand-alone 2004-11-12 18:49:29 +00:00
Bogdan Gheorghe
762fd380d3 Fix for index merge problem 2004-11-02 21:22:55 +00:00
Bogdan Gheorghe
2473fc9bad Partial Fix for Bug 74427: Indexer needs to store more info
Add more info to the index notification mechanism
Updated Indexer Tests to use new notification mechanism
2004-11-02 06:43:17 +00:00
John Camelon
f479e84d8f Patch for Devin Steffler.
Fixed 39688 [Scanner] Macros with variable number of arguments are not supported (C99) (GCC)
- added support for C99 syntax for macros with variable arguments i.e. "..."
- added support for GCC syntax for macros with variable arguments i.e. "args..."
- added test cases for the above
2004-10-20 17:59:54 +00:00
John Camelon
19ffaa04f2 Patch for Devin Steffler
Fixed 75532 [Scanner] Wrong compare if the two declarations are in other number system.
- Octal support has been added along side Hex support in ExpressionEvaluator.java.
- SourceIndexerRequestor.java now handles IProblem.SCANNER_RELATED IProblems
- IProblems can now be thrown easily from ExpressionEvaluator.java
- IProblems are reported for malformed Decimal/Hex/Octal numbers as well as the existing EvalExceptions that occur in ExpressionEvaluator.java
- tests were added to check Octal support and that the IProblems are raised properly within ExpressionEvaluator.java
2004-10-13 20:03:32 +00:00
Chris Wiebe
cb338485bf 2004-09-22 Chris Wiebe
show warnings instead of errors for invalid filenames
	workaround for bug#24152
	* index/org/eclipse/cdt/internal/core/messages.properties
	* src/org/eclipse/cdt/core/CConventions.java
2004-09-22 20:34:39 +00:00
Chris Wiebe
565312d1a6 2004-09-22 Chris Wiebe
added file naming conventions
	* index/org/eclipse/cdt/internal/core/messages.properties
	* src/org/eclipse/cdt/core/CConventions.java
2004-09-22 18:09:30 +00:00
John Camelon
6dc6b84d4b Fixed 72527 - [Scanner] Remove Scanner, ScannerException & clean up IScanner interface 2004-08-30 15:17:40 +00:00
Chris Wiebe
c399a92017 2004-08-25 Chris Wiebe
add namespace validation to CConventions
	* index/org/eclipse/cdt/internal/core/messages.properties
	* src/org/eclipse/cdt/core/CConventions.java
2004-08-25 21:29:45 +00:00
Bogdan Gheorghe
92d190f0ab Fix for Bug 71500: [Indexer] all headers get indexed on project open 2004-08-19 21:12:56 +00:00
Andrew Niefer
1b940db018 fix problem encountered while trying to reproduce 70063 2004-08-19 16:10:19 +00:00
Andrew Niefer
a52e58908e bug 72089 2004-08-17 18:53:04 +00:00
Andrew Niefer
c2f1517d54 fix parsing international files
bug 70852, 70927
2004-08-13 19:52:32 +00:00
Bogdan Gheorghe
9df1ac81b8 Fix for Bug 59493: need to refine index query for open-type 2004-08-11 19:50:26 +00:00
Andrew Niefer
86c0d04560 modify indexer to take advantage of IAST char[] functions 2004-08-10 21:02:33 +00:00
John Camelon
a17096c97e Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=69872.
Moved TimeOut to parser public package in src/ and renamed it to ParserTimeOut.
See resolution description in the defect for more details.
2004-07-21 17:57:57 +00:00
Bogdan Gheorghe
44fdb04953 Fix for Bug 69166: NPE in IndexerModelListener.processDelta 2004-07-12 17:02:26 +00:00
Bogdan Gheorghe
41c9d0faec - Added support for search name grouping.
- Handled the case of CContainer in both updateIndexAddResource and
updateIndexRemoveResource.
- Added timing for merge operations - controlled by Indexer tracing option
- Modified removeSourceFolderFromIndex in IndexManager to take an IProject
2004-07-06 18:03:49 +00:00
Bogdan Gheorghe
c59364cdd5 Fix for 67656: [Indexer] getting called twice after creating a project with a file system 2004-06-29 06:42:47 +00:00
Bogdan Gheorghe
39fd1475ba Indirect fix for Bug 65551: [Search] Search for Variable references should not include parameters
Instead of excluding parameter references from searches, added parm declarations to the index (for
both functions and methods)
2004-06-25 20:43:44 +00:00
Bogdan Gheorghe
1075c0ba5f Fix for 68550: [Indexer] Cannot restart indexer by touching .c/.cpp/.cc files 2004-06-25 19:02:11 +00:00
John Camelon
68640e20a9 Patch for David Daoust - Updated IBM Copyright notices 2004-06-23 20:31:49 +00:00
Alain Magloire
dbaa2dcea9 Part of PR 68246.
Close the inputstream to release resource handle
	when we done with it, we can not rely on the GC to do it for us.
2004-06-23 03:32:16 +00:00
Andrew Niefer
9bba5a8939 respond to source container changes
also check start and end of problem markers
2004-06-22 18:13:03 +00:00
David Inglis
3c69bad0a7 ask for scannerinfo of resource instead of project 2004-06-21 18:46:53 +00:00
Andrew Niefer
574f68dad7 65623 - add rest of the index markers 2004-06-21 17:56:37 +00:00
Alain Magloire
dad66224a2 Do not try to create the ".cdtproject" file if it does not
exist.
2004-06-21 15:55:57 +00:00
Alain Magloire
1972c2b70a 2004-06-18 Alain Magloire
- The call CCorePlugin.getCDescriptor(..) seems to return null.
	This should be fix but meanwhile give the indexer a break by catching it.
2004-06-19 02:47:35 +00:00
Andrew Niefer
c5c4b73fed tweaks to the indexer to fix some files not getting indexed on reopen
and potential to get the indexer disabled.
2004-06-18 23:15:25 +00:00
Bogdan Gheorghe
6603ca541d Got rid of reporting failed indexes in log 2004-06-16 20:21:58 +00:00
Andrew Niefer
4d440deec4 don't try and check the index enabled option if the project doesnt exist 2004-06-16 17:21:51 +00:00
Andrew Niefer
7f8eb9fbd2 bugs 66981, 66799 - don't do indexer requests if the indexer is turned off
for that project.  Also, when turning off the indexer, discard the queued up
jobs for that project.
2004-06-14 21:29:33 +00:00
Bogdan Gheorghe
49500fb30e Fix for Bug 63275 - Ensure that only declarations and references are found for enumerations/enumerators 2004-06-14 03:31:51 +00:00
Doug Schaefer
a206e32d2a Changed the interface to the Scanner to take a CodeReader object.
A CodeReader simply contains a char[] and the name of the file, if any,
that the char[] is the contents of. This leads us down the path of using
char[]s in the parser instead of Strings in an attempt to cut down on
our memory usage.
2004-06-04 21:01:48 +00:00
Bogdan Gheorghe
db3e3b19c4 Added warning message to status line when C/C++ search page is invoked and not all
projects in the workspace have indexing turned on.
2004-06-01 04:37:02 +00:00
Bogdan Gheorghe
7fa8a0305e Fix for Bug 63831 - Ability to determine when the index is incomplete
Provided a way for external clients to query the index state of a project
2004-05-28 22:07:10 +00:00
Bogdan Gheorghe
eebe6d4aeb Externalized index notification job string 2004-05-28 20:18:29 +00:00
Bogdan Gheorghe
87e2ecff89 Fix for Bug 60946 - [Indexer] indexer should provide notification whenever index changes
Provide a notification to the listener of index events
Fix for Bug 44926 - add extensibility to gracefully handle preprocessor exceptions
Added an IndexProblemHandler to handle parser IProblem callbacks
2004-05-28 19:44:48 +00:00
Andrew Niefer
a38caa6521 don't report problems for circular inclusions 2004-05-28 19:29:24 +00:00
Andrew Niefer
a7e23f8c15 remove warnings 2004-05-28 14:54:58 +00:00
Bogdan Gheorghe
742d1b1514 Fix for Bug 58716 - [Refactoring] Subdirectories confuse refactoring
Added a listener to path change events from the core model; retrigger
indexing based on the level of the change event
2004-05-27 21:17:45 +00:00
Bogdan Gheorghe
cf466da37f Fix for Bug 62015 - Indexer to not rely on file extension for translation Unit
Changed all indexer file type checking to use the CoreModel file resolution services.
2004-05-27 19:07:09 +00:00
Andrew Niefer
4b1ecbf65b bug 43014, 62979: Reporting IProblems encountered during indexing. Only preprocessor problems to start 2004-05-21 20:33:16 +00:00
Bogdan Gheorghe
22055aad20 bug 63320 - Search does not consider working copies
Added a check to turn off indexer timer thread, if number entered is <= 0
2004-05-21 14:34:44 +00:00
Bogdan Gheorghe
47da7cb742 Modified updateCurrentDeltaAndIndex in DeltaProcessor.java to return whether
we need to traverse a delta's children.
2004-05-20 19:51:23 +00:00
Bogdan Gheorghe
191dd913bd First go at putting in source folder indexing. Index All events will index
source folders (still need to put in includes indexing).
2004-05-19 05:59:43 +00:00
Bogdan Gheorghe
14804f770c Fix for bug 61332 - make sure that the timer is ready to go before starting a new index 2004-05-17 03:57:55 +00:00
Andrew Niefer
35b475be54 bug 56411 - a request to index a project will restart a paused index 2004-05-14 19:15:51 +00:00
Bogdan Gheorghe
2f19221ac0 Modified indexer friend encoding to encode IASTElaboratedTypeSpecifier 2004-05-07 16:37:35 +00:00