1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-01 12:43:26 +02:00
Commit graph

738 commits

Author SHA1 Message Date
John Camelon
0470019cbd Patch for Bogdan Gheorghe and Thomas Fletcher.
This is Thomas' patch which causes the completion engine to use the FORCE_IMMEDIATE_SEARCH option 
in the search engine. Test suite run on Windows.
2004-02-15 23:12:40 +00:00
John Camelon
bb4821dee3 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
2004-02-13 22:03:10 +00:00
John Camelon
61320a1610 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.
2004-02-10 18:30:32 +00:00
Alain Magloire
c4de83422f PR 51221
Move the search operation in a runnable.
2004-02-05 19:56:06 +00:00
Alain Magloire
af52cdf27d Fix PR 50810
COFF/PE parser the String Table had wrong value.
Guard against it.

Model:
Cache the IBinaryArchive class in Archive.
2004-02-05 17:40:58 +00:00
Alain Magloire
422c72bec0 Fix pr 51143 2004-02-03 23:16:24 +00:00
Alain Magloire
c07227b386 Patches from Thomas Fletcher to deal with PR 51106 2004-02-03 16:09:16 +00:00
John Camelon
757ce6fd26 This is the same (simple) fix as was applied last night on the HEAD branch
for https://bugs.eclipse.org/bugs/show_bug.cgi?id=50821
The consequences of not applying it is that the scanner's error handling 
strategy causes an out-of-memory error to happen on a unterminated 
character literal when CModelBuilder kicks in (i.e. on save or reconcile).
2004-01-30 16:13:25 +00:00
Alain Magloire
ee65c0abba PR 50846 Clone the properties class. 2004-01-29 15:28:58 +00:00
Alain Magloire
50432ad0de PR 50397 Elf new magic numbers by Anthony green. 2004-01-22 16:42:04 +00:00
Alain Magloire
04ea9e6ee1 Chech the range of the st_shndx field, some values
are reserved.
2004-01-13 20:50:06 +00:00
David Inglis
d9c8a82d89 fixed bug # 49851 2004-01-12 15:48:58 +00:00
Alain Magloire
01deaa0d8b updated the log 2003-12-17 01:53:48 +00:00
Alain Magloire
9fbdc58fc8 Fix PR 48921, Check for binary Object files. 2003-12-17 01:53:30 +00:00
Alain Magloire
9477658e08 updated. 2003-12-15 21:55:39 +00:00
Alain Magloire
651a0be1b0 Patch from Thomas F.
A warning was pass as an Error.
2003-12-15 21:55:29 +00:00
Doug Schaefer
9e74a89f05 Upgraded plugin versions to 1.2.1 in preparation for the
1.2.1 M1 build. Also converted plugins to use PDE containers.
2003-12-15 16:07:23 +00:00
Alain Magloire
c4de7501dd Check for null and move the shutdown of the binaryParser
after the elements been released.
2003-12-12 20:40:24 +00:00
David Inglis
b67b0d9139 fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=48596 2003-12-11 21:22:57 +00:00
David Inglis
8e30551fb7 fixed bug # 48063 2003-12-04 14:48:29 +00:00
David Inglis
7764640ca4 fixed bug# 48063 2003-12-04 14:41:46 +00:00
Alain Magloire
0865df6aef updated. 2003-11-20 19:42:12 +00:00
Alain Magloire
f9b97a95f4 Allow to get the lineNumber from a offset of symbol 2003-11-20 19:42:02 +00:00
Alain Magloire
6aa85907b9 updated. 2003-11-20 16:17:41 +00:00
Alain Magloire
1267ab88f7 Only use JDK-1.3 methods. 2003-11-20 16:17:31 +00:00
Alain Magloire
ff03b9fc87 updated. 2003-11-19 21:03:58 +00:00
Alain Magloire
65bd9c8935 Set the argument of cdec.get() to true, to allow
an update.
2003-11-19 21:03:46 +00:00
Alain Magloire
6deb0ad99c addr2line returns "??" when not finding the filename 2003-11-19 20:47:37 +00:00
Alain Magloire
9d3d0c03a0 updated. 2003-11-19 20:39:55 +00:00
Alain Magloire
c02f51e17e Do not load the symbols right away ... only on demand. 2003-11-19 20:39:41 +00:00
Alain Magloire
45c18901fd Cache the values in IBinary 2003-11-19 20:39:11 +00:00
Alain Magloire
29026f5fb0 Those are heavy changes concerning the Binary Parser.
The problem was that binaryParser scheme was
a perfomance problem affecting a lot of people
when projects were medium/big size.  The IBinaryParser
was extended to allow one more method isbinary()
so that will let the BinaryParser open() the file
only once instead of multiple time like it did before.
2003-11-18 17:16:39 +00:00
cvs2svn
6b9e66e8a6 This commit was manufactured by cvs2svn to create branch 'cdt_1_2'.
Cherrypick from master 2003-11-18 16:20:49 UTC Alain Magloire <alain@qnx.com> 'Attempt to address performance problem in the IBinaryParser':
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/ARMember.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryArchive.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/PEParser.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/coff/parser/Symbol.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/parser/ElfParser.java
    debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
    debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/SourceUtils.java
2003-11-18 16:20:50 +00:00
David Inglis
4fa34d40f6 fixed #46431 2003-11-13 20:54:45 +00:00
Hoda Amer
6cea59feeb Patch for Bogdan 2003-11-11 18:28:20 +00:00
John Camelon
b281e36768 CORE
Fixed Bug 39554 : _Pragma directive is not supported (ANSI C99) 

TESTS
	Moved testBug39554() from ASTFailedTests to QuickParseASTTests.
2003-11-07 19:49:10 +00:00
David Inglis
7684f7c2c8 Fix for 45737 & 45835 2003-11-06 19:48:07 +00:00
John Camelon
f9e17af94f CORE
Fixed Bug 44838 : exception when resolving parameter references in a constructor 
	Fixed Bug 46165 : fields referenced in constructor chains are not called back upon 
	Fixed Bug 45551 : Macro replacement in #include <file.h> directives 

TESTS
	Added CompleteParseASTTest::testBug44838().  
	Added CompleteParseASTTest::testBug46165().  
	Added ScannerTestCase::testBug45551().
2003-11-06 04:58:09 +00:00
John Camelon
5c13a1c935 CORE
Removed warnings from parser source tree.  
	Removed preliminary task tags support to clean up parser interfaces and implementation.   
	Added preliminary IProblem support to 

UI
	Updated parser clients to use new IProblem strategy.  

TESTS
	Updated parser clients to use new IProblem strategy.
2003-11-05 18:15:01 +00:00
John Camelon
29f63b1333 Added initial code assist/parser interface. 2003-11-03 14:20:38 +00:00
cvs2svn
3cd4819fac This commit was manufactured by cvs2svn to create branch 'cdt_1_2'.
Cherrypick from master 2003-11-03 14:17:15 UTC John Camelon <jcamelon@ca.ibm.com> 'Added initial code assist/parser interface.':
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/IASTCompletionNode.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/IASTNode.java
    debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/SourceLookupFactory.java
    debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/sourcelookup/DefaultSourceLocator.java
2003-11-03 14:17:16 +00:00
John Camelon
be09974d58 Patch for Andrew Niefer
core:
Fixed Bug 44925 : Search: Elaborated type specifier
Partially Fixed Bug 44510 : C/C++ Search gives wrong results 

ui:
Fixed Bug 44337 : Disabling of "definition" not making sense in Search 
dialog
Fixed Bug 44947 : Navigate from Outline: Enumeration type not 
pre-populated
Fixed Bug 44948 : Navigate via Open Declarations: typedef decl not found
2003-11-03 14:01:00 +00:00
David Inglis
8303a99e46 merge from HEAD for bugs 45734 & 45736 2003-10-30 14:04:08 +00:00
Alain Magloire
a164a003c3 updated. 2003-10-29 17:01:59 +00:00
Alain Magloire
d4daad44a8 Change the scope of some fields. 2003-10-29 17:01:50 +00:00
Alain Magloire
bbb5b11bcf Also release the BinaryContainer of the project 2003-10-29 17:01:36 +00:00
Alain Magloire
b0182c5aa6 updated 2003-10-29 16:41:09 +00:00
Alain Magloire
2408483866 updated. 2003-10-29 16:40:05 +00:00
Alain Magloire
fd938a22ef Fix to make this work for link resources. 2003-10-29 16:39:54 +00:00
Alain Magloire
25d400816f When doing ther reset of the binary parser,
recreate the project.
2003-10-29 16:39:34 +00:00