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

3774 commits

Author SHA1 Message Date
Sean Evoy
aba55c1109 Fixes for 41590, 44159, 51640, and 51646 2004-02-17 14:20:11 +00:00
Andrew Niefer
8cf9302004 52120 - Document ParserSymbolTableException
Comments added to the ISymbol interfaces to indicate which
exception reasons are thrown by which function
2004-02-16 20:58:22 +00:00
Andrew Niefer
c1a246da20 Search Refactoring for bugs
50983 - OrPattern not visible
51250 - search engine throws runtime exception OperationCanceledException
2004-02-16 20:46:12 +00:00
Alain Magloire
a693c52f25 new method getElementAtOffset()
Change CElement.equals()
2004-02-16 19:34:09 +00:00
Alain Magloire
f427f3d5eb Change CElement.equals() 2004-02-16 19:33:43 +00:00
Alain Magloire
61416ad865 new method getElementAtOffset() 2004-02-16 19:33:13 +00:00
Alain Magloire
c4af8be231 Use ITextEditor instead of CEditor for portability 2004-02-16 19:26:37 +00:00
Alain Magloire
ccd19b3db1 should not be here. 2004-02-16 18:10:01 +00:00
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
Thomas Fletcher
3f2a1ba9ff Further enhancements for PR 39580. If the icons are
different (ie debug and release) then the executables 
show up as different entries when they should show up
as the same with different "qualifiers"
2004-02-15 17:32:45 +00:00
Doug Schaefer
04649e1b68 *** empty log message *** 2004-02-13 22:06:26 +00:00
Doug Schaefer
da22a3b5db Upgraded doc.user plugin.xml 2004-02-13 20:42:16 +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
Doug Schaefer
1300bda0b8 Quick fix to get the debugger working in M7. I had to
define a new extension to org.eclipse.debug.ui.contexts
and provide the appropriate binding to our debug
model.
2004-02-13 19:07:04 +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
Thomas Fletcher
e4929dfcd1 Fix to address PR 39580 to improve scalability. 2004-02-12 09:00:58 +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
d3531f1429 use String.endsWith("(gdb)") to find the prompt 2004-02-11 20:48:14 +00:00
Alain Magloire
ed629518d5 register the CView to the part listener. 2004-02-11 20:43:13 +00:00
Mikhail Khodjaiants
934d7c87a0 Fix for bug 51062: Source locator oddness. 2004-02-11 19:33:05 +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
Mikhail Khodjaiants
843606db1d Fix for bug 40108: The memory view does not handle big/little endian. 2004-02-10 23:18:09 +00:00
Mikhail Khodjaiants
fd9750f26f Merging changes from 1.2.1 branch. 2004-02-10 23:00:21 +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
Mikhail Khodjaiants
7fb590779b Fix for bug 51519: Enable 'Format' action if multiple variables are selected. 2004-02-10 20:15:00 +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