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

1711 commits

Author SHA1 Message Date
John Camelon
0fbb671b39 Fixed tests to pass on M6 & M7.
Inclusions were not being found as path info was incorrect.
2004-02-16 05:02:21 +00:00
Alain Magloire
5fe505bacb update. 2004-02-16 04:07:05 +00:00
Doug Schaefer
5bebbf5367 Fixed the tests to use the CTestPlugin findFileInPlugin
method. This should get the tests working on M6 and M7.
2004-02-16 03:57:06 +00:00
Doug Schaefer
7e32d05829 Fixed the tests to use the CTestPlugin findFileInPlugin
method. This should get the tests working on M6 and M7.
2004-02-16 03:45:20 +00:00
Alain Magloire
c48ea4de7f New workingset for C/C++ CElements 2004-02-16 03:28:25 +00:00
Alain Magloire
47f1f6f040 Reorganize the actions of the cview into groups. 2004-02-16 01:36:28 +00:00
John Camelon
39a6ce2544 Patch for Bogdan Gheorghe.
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-15 23:30:53 +00:00
Doug Schaefer
c7241a4d1a Fixed up the test suites to use getInstallURL and
asLocalURL to find the location of the test plugins.
2004-02-13 20:23:31 +00:00
Hoda Amer
6caa13a5b1 Patch For Tanya : Internationalization of Strings in the CModel 2004-02-13 15:58:14 +00:00
John Camelon
b416d5f3b9 Patch for Andrew Niefer.
This patch fixes the way the symbol table handles const & volatile.
It also fixes the following bugs:
47628 - signed char is parsed as char
47636 - char * and char[] are treated as different types
45697 - Parser/Symbol Table: Mismatched declarations & definition
2004-02-13 15:40:08 +00:00
Alain Magloire
c2ba759a8c Update the starter/spawner to use named pipes.
Patch from alex.
2004-02-12 21:12:51 +00:00
John Camelon
385ac1b870 org.eclipse.cdt.core
Removed IASTCompletionKind.SCOPED_REFERENCE as it was obsolete.  
	Did preliminary work to support content assist within qualified names.

org.eclipse.cdt.ui
	Updated Content Assist feature to not use IASTCompletionKind.SCOPED_REFERENCE
2004-02-12 14:20:00 +00:00
John Camelon
7f57c34082 org.eclipse.cdt.core
Restructured Parser implementation to allow for better support of Selection Search.
	Restructured Parser implementation to allow for separation between parsing expressions (Scanner) and complete C/C++ source.

org.eclipse.cdt.core.tests
	Updated tests to accommodate for new Parser class hierarchy and factories.
2004-02-11 23:14:24 +00:00
Alain Magloire
ed629518d5 register the CView to the part listener. 2004-02-11 20:43:13 +00:00
Alain Magloire
84cfa94f9b Reogornize the CView Action menus 2004-02-11 05:20:09 +00:00
John Camelon
409b1021af Patch for Andrew Niefer
This patch represents a couple of months work (off and on since the 
summer) on Parser Symbol Table support for templates.

This is symbol table support only, not parser support (that still needs to 
be done).

What does work:
- declarations, definitions & instantiations for class templates, function 
templates, & template templates 
- declarations, definitions & instantiations of class template partial 
specializations
- template ordering & argument deduction (allows implicit template 
function instatiation)

What doesn't (yet) work:
- Explicit specializations
- assorted smaller specific cases & bugs & things I havn't thought of yet
2004-02-11 03:07:33 +00:00
John Camelon
9a439466fc Workaround for Bug 51502 - Parser spins on particular file (Scalability) 2004-02-10 20:51:23 +00:00
John Camelon
901cb862ed Patch for Vladimir Hirsl
Fix for PR# 51373: NPE when trying to instantiate a CBuildConsole with non null id
2004-02-10 20:42:04 +00:00
John Camelon
a69ae2ccf2 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:17:42 +00:00
Hoda Amer
da13b999cd Content Assist Preference: Reduced search options to two choices. 2004-02-10 16:06:10 +00:00
John Camelon
3676f03756 Fixed Bug 51302 - Content Assist: No completion list available following namespace declaration. 2004-02-10 16:06:06 +00:00
Alain Magloire
78769c3537 Fix Pr 50794 .
Rename CViewSorter to CElementSorter and refactor
in org.eclipse.cdt.ui.CElementSorter
2004-02-10 15:44:52 +00:00
John Camelon
f596606ff7 org.eclipse.cdt.core
Refactored Parser.java to allow inline small functions and tightened the signatures for statement().  
	Refactored Scanner.java to allow for data to be encapsulated to allow for IScannerExtension to act upon it. 
	Partially fixed Bug 47628 - signed char is parsed as char (affects the outline view) 


org.eclipse.cdt.core.tests
	Added testBug47682() to QuickParseASTTests.java.
2004-02-10 15:33:52 +00:00
John Camelon
728eeb85f8 Patch for Andrew Niefer.
Core:
- fix class cast exception in the symbol table while traversing the 
inheritance of a class.
- filter the results of the prefix lookup for content assist so that those 
symbol without attached AST nodes aren removed so that the iterator does 
not later return a null.

Tests:
- added CompletionParseTests.testBug51260
2004-02-09 16:32:43 +00:00
Hoda Amer
2937f68a8c Patch for Bogdan : Search for function with no parameters VS ignore parameters. 2004-02-09 15:46:40 +00:00
John Camelon
90c0309950 org.eclipse.cdt.core
Added support for inline method x-references.  
	Fixed Bug 44340 - Inline functions fail to resolve references 
	Fixed Bug 51243 - Content Assist in an empty document causes a NPE 


org.eclipse.cdt.core.tests
	Moved testErrorHandling_1() from failed tests to CompleteParseASTTest.  
	Moved testBug44340() from failed tests to CompleteParseASTTest.
2004-02-09 04:19:11 +00:00
Hoda Amer
2e52e1bcc2 Small fixes for UI + 1 fix for CModelBuilder 2004-02-06 17:29:40 +00:00
Alain Magloire
524975ed0f new Icon from chris. 2004-02-06 14:34:30 +00:00
Alain Magloire
6cd03b77ff Patch from Chris to catch Cancel exception 2004-02-05 20:39:07 +00:00
Alain Magloire
65f227f889 2004-02-05 Alain Magloire
PR 51221
	Reformat Patch from Bogdan base on Thomas Fletcher original patch
	In a nutshell, it moves the search operation into a runnable which
	can be passed to a progress dialog.
2004-02-05 19:56:27 +00:00
Alain Magloire
8df8840f36 2004-02-05 Alain Magloire
PR 51221
	Reformat Patch from Bogdan base on Thomas Fletcher original patch
	In a nutshell, it moves the search operation into a runnable which
	can be passed to a progress dialog.

	* src/org/eclipse/cdt/internal/ui/editor/OpenDeclarationsAction.java
2004-02-05 19:53:54 +00:00
Hoda Amer
206694da40 Content Assist Preference fix 2004-02-05 18:16:08 +00:00
Alain Magloire
dfbc2241b6 Fix for PR 50810
PE/Coff guard agains bad values of String Table.

Model: cache the IBinaryArchive class in Archive.
2004-02-05 17:33:15 +00:00
Alain Magloire
9e531f825a Patch from Chris Wiebe
to deal with includes outside the workspace.
2004-02-05 16:21:45 +00:00
John Camelon
1f042fb9a2 org.eclipse.cdt.core
Added preliminary (crude) SelectionParser IParser implementation for SELECTION_PARSE clients.  

org.eclipse.cdt.core.tests
	Added preliminary SelectionParseTests to test SELECTION_PARSE clients. 
	Added SelectionParseTests to ParserTestSuite.
2004-02-05 04:01:24 +00:00
John Camelon
395c81dceb org.eclipse.cdt.core
Added preliminary (crude) SelectionParser IParser implementation for SELECTION_PARSE clients.  

org.eclipse.cdt.core.tests
	Added preliminary SelectionParseTests to test SELECTION_PARSE clients. 
	Added SelectionParseTests to ParserTestSuite.
2004-02-05 03:57:56 +00:00
Alain Magloire
8512e1b76f Fix for 51143 2004-02-03 23:15:30 +00:00
Alain Magloire
2fbfc15fe4 Fix for PR 51121 2004-02-03 18:03:23 +00:00
Alain Magloire
cfb48d06f2 PR 51115
Cache the result of the include query.
From Thomas Fletcher
2004-02-03 16:51:06 +00:00
Alain Magloire
877147feef put the PR # 2004-02-03 16:04:41 +00:00
Alain Magloire
c5c3b2e7e9 Patches from Thomas Fletcher to deal with some
short comings of the indexer when dealing with
Very large scale projects.
2004-02-03 16:03:03 +00:00
Alain Magloire
74c8d54a44 use extendedTextEditor 2004-02-02 20:53:23 +00:00
Alain Magloire
3a48d4c7c6 Give more flexibility in changing the behaviour
of the CElementLabelProvider.
2004-02-02 17:06:59 +00:00
John Camelon
0dc064bbd6 org.eclipse.cdt.core
Added CompletionKind.UNREACHABLE_CODE to IASTCompletionNode.  
	Updated Scanner to handle unreachable code scenarios in content assist.  
	Added Directives class to centralize preprocessor directive strings.  
	Added keyword completion for preprocessor lines that start with #.
2004-02-01 18:38:06 +00:00
John Camelon
695df66284 org.eclipse.cdt.core
Partial fix for Bug 47752 - Outline does not recognize functions with full body try/catch blocks 

org.eclipse.cdt.core.tests
	Added QuickParseASTTest::testBug47752.
2004-01-30 23:36:05 +00:00
John Camelon
de5b46412d Updated Scanner to allow for more robust completion in #if directives. 2004-01-30 22:41:56 +00:00
John Camelon
fbda3f7d9a org.eclipse.cdt.core
Fixed Bug 50487 - Wrong completion kind and prefix after "#ifdef" 

org.eclipse.cdt.ui.tests
	Updated CompletionFailedTest_MacroRef_NoPrefix_Bug50487, renamed it to CompletionTest_MacroRef_NoPrefix and moved to passed test package.
	Updated CompletionFailedTest_MacroRef_Prefix_Bug50487, renamed it to Y and moved to passed test package.
2004-01-30 18:28:07 +00:00
Hoda Amer
672ff00623 Content Assist Work: More JUnit tests 2004-01-29 21:17:47 +00:00
Hoda Amer
7bccc3314d Content Assist Work: More JUnit tests 2004-01-29 18:02:12 +00:00
Alain Magloire
42c82af132 Split the ChangeLog, it is getting way to big
when doing comparison.
2004-01-29 17:40:39 +00:00