1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-02 05:03:36 +02:00
Commit graph

572 commits

Author SHA1 Message Date
John Camelon
b2840b064a Returned previous constructor to CodeReader. (thanks Andrew) 2004-08-20 13:48:53 +00:00
John Camelon
87ce0c8d20 Fixed Bug 71839 [Parser] Parser in infinite loop (ExpressionParser.errorHandling()) 2004-08-19 03:26:52 +00:00
John Camelon
9f17b51147 Workaround submitted for Bug 54040 - [Scalability] UI Responsiveness very sluggish when editing large source files
Parser.translationUnit() rethrows OutOfMemoryError after shielding it from the parser.failParse()/errorHandling().
2004-08-16 20:02:31 +00:00
John Camelon
219b499fc9 Fixed Bug 71530 [Scanner] CModel Line Numbers are incorrect w/Scanner2 2004-08-16 19:54:13 +00:00
John Camelon
3640141887 Updating visibliity of static final constants in CodeReader. 2004-08-16 18:18:07 +00:00
Andrew Niefer
0971af7891 fix parsing international files
bug 70852, 70927
2004-08-13 19:53:03 +00:00
Andrew Niefer
5bd71cea46 fix ArrayOutOfBoundsException 2004-08-13 14:50:27 +00:00
Andrew Niefer
8fde8e2822 fix bug 70073 2004-08-12 19:45:10 +00:00
Andrew Niefer
69225df954 fixing 71588 2004-08-11 20:29:12 +00:00
Andrew Niefer
16258395c2 fix 71331 2004-08-11 20:02:58 +00:00
Andrew Niefer
a7880c8fdc from a patch originally from Dave Daoust, consolidate the Scanner2 data
structures into a heirarchy, and for the char[] maps/sets, if the capacity is
<= 2, then don't use the hash and just do a linear search.

also clean up a couple of uses of ObjectSet that had size 0 in the symbol table,
use EMPTY_SET insteard.
2004-08-11 17:56:20 +00:00
cvs2svn
6c18d73efc This commit was manufactured by cvs2svn to create branch 'cdt_2_0'.
Cherrypick from master 2004-08-11 17:56:01 UTC Andrew Niefer <aniefer@ca.ibm.com> 'from a patch originally from Dave Daoust, consolidate the Scanner2 data':
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/CharTable.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/ObjectTable.java
2004-08-11 17:56:02 +00:00
Andrew Niefer
554db9cd15 Add IASTQualifiedNameElement.getFullyQualifiedNameCharArrays()
and modify Search to take advantage of the IAST providing char[]s.

Improves search performance
2004-08-10 20:40:47 +00:00
John Camelon
4a8abd4c42 Fixed Bug 70928 [Parser] Indexer complains about __cdecl 2004-08-10 19:50:00 +00:00
Andrew Niefer
88d8cbb1c8 fix bug 71410 (in 2.0.1 branch) 2004-08-10 19:34:37 +00:00
John Camelon
e3185c99dc Fixed bug 71656 - [Parser] Infinite Loop on Out of Memory Exception 2004-08-10 17:42:27 +00:00
Andrew Niefer
fd26b47ed0 This is merging the Parser performance changes from the HEAD to the 2.0.1 branch
The major performance defects this addresses are 59468, 54040, and 61675.

The following other correctness and related defects are also addressed or fixed.
68940, 69872, 71094, 68528, 71669, 61800, 68931, 68623, 69428, 69296, 69798,
69744, 69745, 68739, 69662, 69833
2004-08-10 15:58:59 +00:00
cvs2svn
10abc3427e This commit was manufactured by cvs2svn to create branch 'cdt_2_0'.
Cherrypick from master 2004-08-06 01:57:11 UTC John Camelon <jcamelon@ca.ibm.com> 'Restructured the Parser tests so that the GCC Extension specific ones are separate.':
    core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/GCCCompleteExtensionsParseTest.java
    core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/GCCParserExtensionTestSuite.java
    core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/GCCQuickParseExtensionsTest.java
    core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner2/GCCScannerExtensionsTest.java
    core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner2/ObjectMapTest.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/BasicTypeInfo.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/ITypeInfo.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/CharArraySet.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/HashTable.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/ObjectMap.java
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/ObjectSet.java
    core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/parser/ParserTimeOut.java
    core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CContentOutlinerProvider.java
2004-08-06 01:57:12 +00:00
cvs2svn
9626e24875 This commit was manufactured by cvs2svn to create branch 'cdt_2_0'.
Cherrypick from master 2004-07-16 18:34:04 UTC Doug Schaefer <doug.schaefer@windriver.com> 'Fixed up compile log so that it doesn't open up notepad on Windows.':
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/TypeInfoProvider.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/som/AR.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/som/SOM.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/som/parser/ARMember.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/som/parser/BinaryArchive.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/som/parser/SOMBinaryObject.java
    core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/som/parser/SOMParser.java
    core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/dialogs/AbstractGNUBinaryParserPage.java
    core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/dialogs/GNUSomBinaryParserPage.java
    releng/org.eclipse.cdt.releng/build.sh
    releng/org.eclipse.cdt.releng/build.xml
    releng/org.eclipse.cdt.releng/buildindex.html
    releng/org.eclipse.cdt.releng/maps/cdt.map
    releng/org.eclipse.cdt.releng/message.in
    releng/org.eclipse.cdt.releng/platform/build.properties
    releng/org.eclipse.cdt.releng/platform/customTargets.xml
    releng/org.eclipse.cdt.releng/sdk/build.properties
    releng/org.eclipse.cdt.releng/sdk/customTargets.xml
    releng/org.eclipse.cdt.releng/site.in
    releng/org.eclipse.cdt.testing-feature/feature.xml
    releng/org.eclipse.cdt.testing/plugin.xml
2004-07-16 18:34:06 +00:00
cvs2svn
4f3559d20d This commit was manufactured by cvs2svn to create branch 'cdt_2_0'.
Cherrypick from master 2004-07-07 20:15:06 UTC Andrew Niefer <aniefer@ca.ibm.com> 'Refactoring pst.TypeInfo for memory performance.  see parser.changelog':
    core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/TemplateParameterTypeInfo.java
    core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/CSearchMatch.java
2004-07-07 20:15:07 +00:00
Hoda Amer
b04b89db82 Propagating bug fixes to branch. 2004-07-06 17:32:45 +00:00
Doug Schaefer
ded9a06c42 Scanner2 - turned off gratuious logging and fixed an infinite
loop that occurred in figuring out the arguments to a macro.
2004-06-25 13:32:58 +00:00
John Camelon
97dcd10e64 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=68409 2004-06-24 21:21:19 +00:00
John Camelon
78cc9ee282 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=68527 2004-06-24 18:51:49 +00:00
John Camelon
552805bba5 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=43021 2004-06-24 16:06:27 +00:00
John Camelon
68640e20a9 Patch for David Daoust - Updated IBM Copyright notices 2004-06-23 20:31:49 +00:00
Doug Schaefer
7ae8c88828 Scanner2 - fixed some bugs. fixed some of the tests to report better errors,
changed the SpeedTest to produce more accurate numbers.
2004-06-23 20:17:49 +00:00
John Camelon
3783f1b7be Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=68306 2004-06-23 18:24:41 +00:00
Doug Schaefer
d94a068c23 Scanner2 - fixed the nextToken() to match previous scanner's behavior. 2004-06-23 15:01:50 +00:00
Doug Schaefer
b97efa10b3 Scanner2 - final changes to scan the trilogy. 2004-06-23 11:36:05 +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
John Camelon
36ec31dca2 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65610<BR>
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65623
2004-06-23 00:18:14 +00:00
Doug Schaefer
112cf2a908 Scanner2 - some more minor fixes. I'm getting close to the trilogy... 2004-06-22 21:03:53 +00:00
Andrew Niefer
d75195c520 fix for bug 68229 - problems with IToken.getNext() around places where subscanners are used 2004-06-22 20:38:34 +00:00
Doug Schaefer
b0040c1336 Scanner2 - sanity point - fixed some problems I was having with comments. 2004-06-22 19:20:10 +00:00
Doug Schaefer
27772d9655 Scanner2 - completed rewrite if function macro expansion. 2004-06-22 17:13:37 +00:00
Doug Schaefer
50da298959 Scanner2 - made a better hash function, added != to #if expressions,
started the rewrite of my macro expansion routines.
2004-06-22 14:34:37 +00:00
Andrew Niefer
dbcc3f2792 fix parsing of unary ampersand cast on an expression result 2004-06-21 21:35:04 +00:00
John Camelon
58d2390a65 Cached SimpleTypeSpecifiers in the CompleteParseASTFactory. Reduced parse footprint by a couple of MB. 2004-06-21 20:24:36 +00:00
John Camelon
a353701633 Fix NPE in lookupSymbolInContext() 2004-06-21 17:09:49 +00:00
John Camelon
ef4eaa9e09 Deferred typeid reference list creation until absolutely necessary. 2004-06-18 19:58:21 +00:00
Andrew Niefer
57bc1229ab better problem reporting when DeclarationWrapper.createASTNodes fails 2004-06-18 19:51:20 +00:00
John Camelon
5846544680 Remove NPE from ASTTypeId.getReferences() 2004-06-18 19:39:41 +00:00
John Camelon
efab1f2f3d Final adjustment on error handling. 2004-06-18 19:25:36 +00:00
John Camelon
c167ba0976 Remove infinite loop on catching Throwable/Exception in Parser.translationUnit(). 2004-06-18 19:17:29 +00:00
John Camelon
5cb25a3872 Fixed NPE in cleanup. 2004-06-18 19:00:58 +00:00
John Camelon
03d8731b43 Added caching of type ID's in completeparse mode. 2004-06-18 18:54:00 +00:00
Andrew Niefer
38230067bd better error reporting to the callbacks around the base specifier 2004-06-18 16:02:54 +00:00
John Camelon
59f4a03242 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=67834. Thanks to Dave for the JUnit test. 2004-06-18 15:49:21 +00:00
Andrew Niefer
0454da5130 bug 67680 - better error handling around problems in the base clause specifier
fixes class cast exception
2004-06-18 15:25:56 +00:00