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

2754 commits

Author SHA1 Message Date
Alain Magloire
c545faa301 change the description of the structural parse 2004-08-10 18:25:41 +00:00
John Camelon
7645cbc478 Fixed 71656 - [Parser] Infinite Loop on Out of Memory Exception 2004-08-10 17:39:05 +00:00
John Camelon
cd9edbcd4f Adding additional test cases for bugs fixed indirectly through the IScanner rewrite. 2004-08-10 17:18:22 +00:00
Alain Magloire
5786d372c3 2004-08-10 Alain Magloire
* src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java
2004-08-10 16:33:24 +00:00
Andrew Niefer
0c2fcb2413 fix bug 71669 2004-08-09 18:44:52 +00:00
Bogdan Gheorghe
a3cae4a8e4 Fix for Bug 71115: Double Indexing 2004-08-09 15:15:15 +00:00
Andrew Niefer
8a46210f8c - fix problem with content assist when there are macros & header files
- fix small problem which resulted in possible erroneus scanner problems while macro pasting
2004-08-07 18:37:25 +00:00
Vladimir Hirsl
f47c792501 Added JUnit tests for following PRs (discovered during parsing of <iostream> header file):
69751, 70928, 71317, 71331, 71410, 71588, 71603.

Also a small fix for parser Problem class after String to char[] optimization.
2004-08-06 21:14:55 +00:00
Chris Wiebe
35a9a1e834 Add scheduling rule to CoreModel.run 2004-08-06 20:47:31 +00:00
Chris Wiebe
957c5e4336 Add scheduling rule to WorkbenchRunnableAdapter 2004-08-06 20:45:34 +00:00
Chris Wiebe
3da6b13c88 add scheduling rule to WorkbenchRunnableAdapter 2004-08-06 20:44:23 +00:00
Andrew Niefer
d38225d581 - add IProblem reporting to Scanner2
- modify function macro handling to fix test for bug 62009
- modify Search's use of the scanner to fix FunctionMethodPatternTest::testOperators_bug43063_bug42979
2004-08-06 19:42:57 +00:00
Chris Wiebe
f8f5b6ab82 Added new element wizard classes. 2004-08-06 17:22:58 +00:00
John Camelon
abe2eac5c3 Add __declspec support to Scanner2. 2004-08-06 14:07:01 +00:00
John Camelon
8397b85e00 Removed warning. 2004-08-06 13:11:36 +00:00
John Camelon
78c69dda4f Updating Scanner2Test to include the same coverage as ScannerTestCase. 2004-08-06 13:11:13 +00:00
John Camelon
6544ff498d Restructured the Parser tests so that the GCC Extension specific ones are separate.
Created a GCCExtensions Suite which currently is not included in ParserTestSuite.
2004-08-06 01:57:11 +00:00
John Camelon
df2be63243 Scanner2 + entire UI AutomatedSuite now pass. 2004-08-06 00:57:15 +00:00
John Camelon
33075ba9ae Further Scanner2/Content Assist work - making CA work for ppDirectives. 2004-08-05 23:26:03 +00:00
John Camelon
9e4777cd49 Fixed a bunch of ui.tests for content assist w/Scanner2. 2004-08-05 22:36:35 +00:00
John Camelon
7151e214e8 Add __signed__ keyword to Scanner2. 2004-08-05 21:51:38 +00:00
John Camelon
3a9bfe8d4b Removed warnings. 2004-08-05 21:47:27 +00:00
John Camelon
bbb4bddce2 Remove IMacroDescriptor dependency upon IASTMacro. 2004-08-05 21:46:46 +00:00
John Camelon
a6f95db7c2 Further Scanner2 progress w/Line Numbers & Content Assist. 2004-08-05 20:33:23 +00:00
Andrew Niefer
7d757bfbc2 partial fix for function macro argument substitution, this will be enough
to let Scanner2.testStringify and the tests for 60764, 36047 to pass.
2004-08-05 19:56:50 +00:00
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