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

1534 commits

Author SHA1 Message Date
Andrew Niefer
d4261f7fc8 Switch PST templates to use ObjectMap instead of HashMap
Remove use of Stack in the parser (replaced where necessary with custom
implementation)
2004-08-03 21:21:11 +00:00
Andrew Niefer
c6c90a1e95 further removal of iterators 2004-08-03 15:12:09 +00:00
Alain Magloire
fa38a77470 2004-07-30 Alain Magloire
In the StrutureParseCallback add the
		IASTUsingDirective
		IASTUsingDeclaration
	part of the return declarations
	* org/eclipse/cdt/internal/core/parser/ast/StructuralParseCallback.java
2004-07-30 19:11:05 +00:00
Alain Magloire
cfb6771929 2004-07-30 Alain Magloire
Add the Using-{directive,declaration} part of the Core Model.

	* model/org/eclipse/cdt/core/model/IUsing.java
	* model/org/eclipse/cdt/internal/core/model/CElement.java
	* model/org/eclipse/cdt/internal/core/model/CModelBuilder.java
	* model/org/eclipse/cdt/internal/core/model/Using.java
2004-07-30 19:10:49 +00:00
Andrew Niefer
9ffd548ae7 remove LinkedLists, start reducing the use of Iterators 2004-07-29 21:08:36 +00:00
Andrew Niefer
b5edc37774 Fix CompleteParseASTExpressionTest.testPrimaryCharLiteral under Scanner2 2004-07-29 17:36:51 +00:00
John Camelon
d134c5e5d3 Further Scanner2 work and improvements. 2004-07-29 14:31:21 +00:00
Andrew Niefer
bab6cc3faa patch from Tanya Wolff TVT fix for 70161 2004-07-28 21:54:46 +00:00
Andrew Niefer
89010e954f cleaning up more strings 2004-07-28 21:48:27 +00:00
Andrew Niefer
0dda631a21 modify Scanner2.scanIdentifier wrt escaped newlines.
remove a couple of uses of String
2004-07-28 20:53:13 +00:00
John Camelon
a7fcc4aa84 Scanner2 fixes for SelectionSearch & Content Assist JUnit failures. 2004-07-28 20:28:15 +00:00
John Camelon
ccb8357725 Further Scanner2 junit fixes. 2004-07-28 19:28:40 +00:00
John Camelon
c24ed6aa2a Further Scanner2 work regarding macro expansions. 2004-07-27 19:18:19 +00:00
Andrew Niefer
b08d93dfd7 last of string to char[] changes 2004-07-27 18:13:49 +00:00
Andrew Niefer
f9b6ff9584 fix problem with Keywords.cpSEMI 2004-07-27 17:35:01 +00:00
Andrew Niefer
d3dedc7ac9 fix problem introduce by my last patch 2004-07-27 16:11:26 +00:00
Andrew Niefer
2474e4f8b6 more string to char[] changes. savings of about 10 meg (old scanner) 2004-07-27 15:51:46 +00:00
Andrew Niefer
3a58a1be85 More string to char[] changes. savings of about 4 Meg on this one. 2004-07-27 14:55:57 +00:00
Alain Magloire
403548698f 2004-07-26 Alain Magloire
Fix for PR 68665
	* utils/org/eclipse/cdt/utils/coff/PE.java
2004-07-26 18:08:07 +00:00
Alain Magloire
926948769c 2004-07-26 Vladimir Hirsl
HP-UX SOM Binary parser patch

	* utils/org/eclipse/cdt/utils/com/SOM.java
2004-07-26 14:02:40 +00:00
Andrew Niefer
18d9318d4d More replacing strings with char[]. This patch brings the memory back
down to a little less than what it was before my last patch.
2004-07-22 21:32:43 +00:00
John Camelon
c19d0b2050 Patch for Chris Wiebe.
Type Cache fix for bug 69872.
2004-07-22 19:33:03 +00:00
Andrew Niefer
7f0142b2e8 Replacing strings with char arrays 2004-07-22 19:32:56 +00:00
John Camelon
05fa0e698c Start of line number support for Scanner2. 2004-07-22 19:02:45 +00:00
John Camelon
cb47b164a0 Further improve SelectionSearch w/Scanner2. 2004-07-22 18:47:50 +00:00
John Camelon
12268e9104 Added getFilename() to IToken, ITokenDuple & IASTOffsetableNamedElement.
This improves the accuracy of selection search w/the new scanner (and without).
2004-07-22 18:38:26 +00:00
John Camelon
49b74b0eea Add local inclusion capability to Scanner2. 2004-07-22 13:35:12 +00:00
John Camelon
98f3ab7804 Initial SelectionSearch support for Scanner2. 2004-07-21 20:16:43 +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
John Camelon
81a765a048 Add toCharArray() to ITokenDuple. Add getCharImage() to IToken. 2004-07-21 14:32:55 +00:00
Alain Magloire
b79790f788 2004-07-20 Alain Magloire
Fix for PR 70449
	* src/org/eclipse/cdt/core/internal/filetype/ResolverModel.java
2004-07-21 03:04:45 +00:00
Alain Magloire
e88b751962 2004-07-20 Alain Magloire
Fix for PR 70449
	* src/org/eclipse/cdt/core/internal/filetype/ResolverModel.java
2004-07-21 03:00:39 +00:00
Andrew Niefer
58562529e5 Further transition away from java.util collections in the symbol table 2004-07-20 20:22:07 +00:00
John Camelon
34f16c8600 Fixed up enough of Scanner2 to allow Content Assist to work. 2004-07-20 14:52:52 +00:00
Andrew Niefer
b944b852c0 fix some template issues 2004-07-19 20:07:18 +00:00
John Camelon
826dbd3f7d Further Scanner2 migration work. 2004-07-19 19:41:13 +00:00
Doug Schaefer
9290f8c77d Added in commented out timing code for the completion parser. 2004-07-19 17:35:51 +00:00
John Camelon
1b2ac0d808 Further Scanner2 work. 2004-07-18 21:17:10 +00:00
Alain Magloire
1f27dd0547 2004-07-16 Alain Magloire
Fix for PR 70255

	* model/org/eclipse/cdt/internal/core/model/Binary.java
2004-07-16 19:26:00 +00:00
John Camelon
cd1605463c Minor cleanups. 2004-07-16 18:47:37 +00:00
Alain Magloire
bd43f8a328 Fix Pr 70252
* src/org/eclipse/cdt/internal/errorparsers/GCCErrorParser.java
2004-07-16 18:40:14 +00:00
Alain Magloire
224f6eb03a 2004-07-16 Vladimir Hirsl
1. Implementation of HP-UX SOM binary parser.

	* utils/org/eclipse/cdt/utils/som/AR.java
	* utils/org/eclipse/cdt/utils/som/SOM.java

	* utils/org/eclipse/cdt/utils/som/parser/ARMember.java
	* utils/org/eclipse/cdt/utils/som/parser/BinaryArchive.java
	* utils/org/eclipse/cdt/utils/som/parser/SOMParser.java
	* utils/org/eclipse/cdt/utils/som/parser/SOMBinaryObject.java
	* utils/org/eclipse/cdt/utils/som/parser/SomSymbol.java

	2. Fixed a slight ommision in XXXBinaryObject classes

	* utils/org/eclipse/cdt/utils/coff/parser/CygwinPEBinaryObject.java
	* utils/org/eclipse/cdt/utils/elf/parser/GNUElfBinaryObject.java
	* utils/org/eclipse/cdt/utils/xcoff/parser/XCOFFBinaryObject.java
2004-07-16 18:03:28 +00:00
Alain Magloire
9766cb70c6 2004-07-16 Chris Wiebe
Fixing numerous warnings.
2004-07-16 16:25:56 +00:00
Andrew Niefer
628114dbeb fix double increment 2004-07-16 13:45:21 +00:00
Andrew Niefer
658a98966c Start of removing java.util containers from the symbol table. 2004-07-15 21:01:58 +00:00
Alain Magloire
1e11fc16ef Check for Empty path in the binary and copy the []IPathEntry
for the manager.

	* model/org/eclipse/cdt/internal/core/model/Binary.java
	* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
2004-07-15 20:41:22 +00:00
John Camelon
dbd947fc1d Fixing more Scanner2 failed tests. 2004-07-15 20:15:15 +00:00
Alain Magloire
5d526c2acd 2004-07-15 Chris Wiebe
Initial draft for the type hierarchy view.
	* browser/*
2004-07-15 18:27:57 +00:00
David Inglis
75d6d6a68d added new IBinaryMEthods, cleanup all parser so that their hierarchy is cleaner, ie. straight Elf parser is nolonger a toolls provider, this come from the GNU parser 2004-07-15 17:29:47 +00:00
David Inglis
6bf1fa6737 added some missing method that probably should be there like
getBinaryObject from Symbol and getBinaryParser from IBinaryObject
2004-07-15 17:25:12 +00:00