Andrew Niefer
8142a5cf4e
update Scanner2Test.testBug36521
2004-08-05 19:11:38 +00:00
Andrew Niefer
a502b9fbc6
-Implement Scanner2.getDefinitions
...
-fix up macro stringizing, repairs broken tests for 36509 & 36701
2004-08-05 19:05:06 +00:00
John Camelon
8c3a9a10b1
Further progress in making Scanner2 pass the IIncludeTests.
2004-08-05 17:48:22 +00:00
John Camelon
fd62bdd86c
Activated Scanner2 in HEAD.
...
Forgive me Lord, for I know what I do.
2004-08-05 15:22:00 +00:00
Alain Magloire
43fcb10cb8
2004-08-04 Alain Magloire
...
Provide filters for the Outliner.
* src/org/eclipse/cdt/internal/ui/editor/CContentOutlinePage.java
* src/org/eclipse/cdt/internal/ui/filters/MacroDirectiveFilter.java
* src/org/eclipse/cdt/internal/ui/filters/UsingDirectiveFilter.java
* plugin.properties
* plugin.xml
2004-08-04 20:05:53 +00:00
John Camelon
903d1ac7a8
Fixed defects 71094 & 68528.
2004-08-04 19:26:31 +00:00
Alain Magloire
53bb3add57
2004-08-04 Alain Magloire
...
Fix ShowInCView class
* src/org/eclipse/cdt/internal/ui/BaseCElementContentProvider.java
* src/org/eclipse/cdt/ui/CElementGrouping.java
* src/org/eclipse/cdt/ui/Includes/Grouping.java
* src/org/eclipse/cdt/ui/actions/ShowInCViewAction.java
2004-08-04 18:01:56 +00:00
Alain Magloire
2e49ff5679
Grouping off by default
2004-08-04 17:33:14 +00:00
Alain Magloire
e4e81a75b2
2004-08-04 Alain Magloire
...
Implementation of Grouping for includes.
* src/org/eclipse/cdt/internal/ui/BaseCElementContentProvider.java
* src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java
* src/org/eclipse/cdt/internal/ui/cview/CView.java
* src/org/eclipse/cdt/internal/ui/cview/CViewContentProvider.java
* src/org/eclipse/cdt/internal/ui/cview/IncludeRefContainer.java
* src/org/eclipse/cdt/internal/ui/cview/LibraryRefContainer.java
* src/org/eclipse/cdt/internal/ui/editor/CContentOutlinerProvider.java
* src/org/eclipse/cdt/internal/ui/preferences/AppearancePreferencePage.java
* src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java
* src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties
* src/org/eclipse/cdt/ui/CElementGrouping.java
* src/org/eclipse/cdt/ui/CElementSorter.java
* src/org/eclipse/cdt/ui/IncludesGrouping.java
* src/org/eclipse/cdt/ui/PreferenceConstants.java
2004-08-04 17:05:39 +00:00
Bogdan Gheorghe
16d71675fa
Patch for Tanya Wolff:
...
Fix for 71033: English "Find Refs" in Workbench Key preferences.
2004-08-04 14:18:28 +00:00
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
01eef6aa4b
2004-07-30 Alain Magloire
...
Implementation of "Add Include" add the using directive.
* icons/full/obj16/using_obj.gif
* src/org/eclipse/cdt/internal/ui/CElementImageProvider.java
* src/org/eclipse/cdt/internal/ui/CPluginImages.java
* src/org/eclipse/cdt/ui/CElementLabelProvider.java
2004-07-30 19:11:25 +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
59d90063a3
patch from Tanya Wolff, fix for 69768
2004-07-29 21:15:35 +00:00
Andrew Niefer
9ffd548ae7
remove LinkedLists, start reducing the use of Iterators
2004-07-29 21:08:36 +00:00
John Camelon
782c269d97
Patch for Vlad Hirsl.
...
This patch adds two JUnit tests for problems generated while parsing<stdio.h>.
2004-07-29 19:39:52 +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
Alain Magloire
cc96931d3e
More support for "add include"
2004-07-29 02:37:45 +00:00
Andrew Niefer
73a67bef0e
patch from Tanya Wolff TVT fix for 70124
2004-07-28 21:55:05 +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
Alain Magloire
6baa96771d
Support for addInclude action, implementation base
...
on the indexer.
2004-07-28 20:23:07 +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
b4270454a9
2004-07-24 Chris Wiebe
...
Major clean up patch on the wizards.
New button to access them.
2004-07-26 20:52:26 +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
Alain Magloire
4ea78de9e5
2004-07-23 Alain Magloire
...
Support for addInclude action, implementation base
on the indexer.
* src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java
2004-07-23 21:19:48 +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
Alain Magloire
daf324f54c
2004-07-16 Tanya Wolff
...
Fix for 70543: TVT: Source code displaying in C++ Font and Editor
* plugin.properties
2004-07-21 19:14:48 +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
Alain Magloire
117e8d5362
patch form Alex
2004-07-21 17:40:06 +00:00
John Camelon
81a765a048
Add toCharArray() to ITokenDuple. Add getCharImage() to IToken.
2004-07-21 14:32:55 +00:00