1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 00:36:16 +02:00
Commit graph

586 commits

Author SHA1 Message Date
John Camelon
ceca2f6558 Patch for Andrew Niefer.
Core:
For bug42815
- Modified ICSearchResultCollector.createMatch to not take a parent 
parameter
- modified BasicSearchResultCollector to create the parent string from the 
fully qualified name of the node
- modified MatchLocator to keep track of most recent declaration for 
reporting purposes
- modified MatchLocator.report to use the most recent declaration

Core.Tests:
- Created search/SearchTestSuite
- Added SearchTestSuite to AutomatedIntegrationSuite and removed the 
individual search tests
- Added testReferencesInFunction to ClassDeclarationPatternTests
- Modified resources/search/classDecl.cpp
- Modified testNamespaceReferenceInClassBaseClause, testMacroPattern, 
testEnumerators, 
  and testEnumeratorReferences in OtherPatternTests to test the Match 
result strings

UI:
- bug42837 - fixed populating search dialog on function declarations
- bug42829 - prepopulated search dialog to any element declarations
- bug42815 - group together search results with same label
- modified CSearchResultLabelProvider to not display the "-" in the search 
label
  while sorting by name if there is no parent.
2003-09-12 13:13:58 +00:00
David Inglis
77a0015c90 deprecated ui componets due move of builders out of the core/ui 2003-09-11 20:44:26 +00:00
John Camelon
322dcaad49 CORE
Fixed Bug 42840 : Search: Cannot find things after double declarations 
	Fixed Bug 42798 : Selected #include <Angled> off by 1 char 
	Fixed Bug 42872 : dynamic cast not parsed properly 
	Partially fixed Bug 39504 : sizeof-expressions are not handled properly 
	Updated SourceElementRequestor callbacks to include IASTParameterReference callbacks. 

UI 
	Updated SourceElementRequestor callbacks to include IASTParameterReference callbacks. 

TESTS
	Added CompleteParseASTTest::testBug42840() & testBug42872().
	Moved testBug39504B(), testBug39505A() & testBug39505B() from failed to QuickParse tests.
2003-09-11 18:06:15 +00:00
Doug Schaefer
b3898357e2 Patch for Bogdan:
UI 
- This patch changes the search context menu in the CEditor, CContentPage and CView: 
    Search > C/C++ Search... 
                File Search > Workspace 
                             WorkingSets 
- C/C++ Search pops up the search dialog with the chosen element filled out. 
- File Search does a text based file search on the Workspace or a chosen WorkingSet 

Core 
- Added some error checking to the dependency generator.
2003-09-11 17:13:03 +00:00
John Camelon
32f2565b50 Patch for Hoda Amer
- Removed any reference to jdt.ineternal package for property files 
        in TextManipulationMessages and CUIMessages 
        - Added a CUIMessages.properties file to org.eclipse.cdt.internal.ui
2003-09-11 14:58:30 +00:00
John Camelon
64911fc186 Patch for Sean Evoy
Hi All,
Details are in the change log, but this patch contains work that partially 
implements incremental build. There are 2 major use cases not implemented: 
full rebuild on project settings change and properly handling header file 
changes. Both problems require build model work, so I will deliver that 
functionality in another patch. There are also fixes for bugs 41412 and 
42735.

As always, I have run the JUnit tests on Solaris (Motif) and Linux (Gtk).
2003-09-11 14:46:18 +00:00
Doug Schaefer
5a1119fd18 Got rid of the old parser. 2003-09-10 14:26:08 +00:00
Alain Magloire
9f964e420c Fix ClassCastException. 2003-09-09 19:22:54 +00:00
John Camelon
8f627892aa Core
- Hooked up the Indexer to the dependency tree. Everytime a header file 
gets modified, the including source files get reindexed. 
- Automated dependency calcuations - each time a file gets modified, its 
tree gets updated. 
- Added error logging via the PDE Error Log (Views->PDE Runtime->Error 
Log) - the indexer reports unsuccesful index attempts and the preprocessor 
reports unsuccesful inclusion resolution attempts 

UI 
- Changed the names on the search popup mens
2003-09-09 17:54:02 +00:00
John Camelon
8e62beb552 CORE & UI
Made scoping support more robust in CompleteParse mode. 
	Refactored ISourceElementRequestor (enter|exit)CodeBlock() to take IASTCodeScope rather than IASTScope. 
	Removed the now obsolete DOM.  
	Added enumerator references to ISourceElementRequestor.
	
TESTS
	Added CompleteParseASTTest::testThrowStatement(), testScoping(), testEnumeratorReferences().
	Removed LineNumberTest source as it is obsolete.
2003-09-08 19:17:53 +00:00
John Camelon
cecd8598a0 Patch for Andrew Niefer
Core : 
- Create ParserLanguage.java
- Modified ParserFactory functions to take ParserLanguage as parameter
- Modifier Parser, Scanner & ParserSymbolTable to use new ParserLanguage 
class
- Update call to ParserFactory in Indexer, Search, CModelBuilder & 
Dependency Tree

Core.tests:
- Updated calls to ParserFactory to specify which language to use

UI:
-CStructorCreator uses the parser, modified call to ParserFactory to 
specify CPP language.
  (this is the same behaviour as before)
2003-09-08 18:11:00 +00:00
John Camelon
d1d3dec2fe Patch for Andrew Niefer
Core:
- fix patterns & indexing for Enumerators

Core.Tests:
- Added testEnumerators to OtherPatternTests.java
- Modified resources/search/classDecl.cpp to include some enumerators

UI:
- enable Selected Resources scope
- populate dialog base on selection when opened from outline view
- fix small bug that found namespaces when searching for enumerations
- tweak sorting by path to consider line number second
2003-09-05 18:31:52 +00:00
John Camelon
619b617056 CORE/UI
First pass of parsing function bodies with X-Reference information.
    Updated IASTFactory/ISourceElementRequestor to include IASTCodeScope
    constructs, clients should keep this in mind and update their implementations.

TESTS
    Updated ASTFailedTests::testBug39702() to fail more accurately.
    Added testSimpleFunctionBody(), testSimpleForLoop() to CompleteParseASTTest.java.
2003-09-04 20:47:05 +00:00
David Inglis
394aa2311a rename 2003-09-04 20:25:21 +00:00
Alain Magloire
bd3f9a8b37 Updated. 2003-09-04 19:07:21 +00:00
Alain Magloire
b08d8585ab Faulty login when checking the BuildConsole preferences. 2003-09-04 19:07:07 +00:00
David Inglis
8b7bd775ee new c option block when we move builder out of cdt 2003-09-04 17:39:43 +00:00
David Inglis
725c78475c - extern strings 2003-09-04 17:38:57 +00:00
David Inglis
c96aeb760e - extern strings
- fixed tab folder visiblity problem
2003-09-04 17:38:46 +00:00
John Camelon
1c6c93560a Patch for Hoda Amer
Core: 
        - Changed the ASTExpression of the complete package to store the 
        whole ITokenDuple for the typeId instead of just the string. 
        - Changed the ASTExpression in both quick and complete packages and 
        deleted the "id" parameter. 
        - Added partial solution to bug #42453: Exception result types not computed. 
        Now they are computed for simple types only. 
Tests: 
        Call to ASTExpression getTypeId() changed to getTypeIdString(). 
UI: 
         Solution to bug#42414 :Extraneous semi-colons in generated class methods
2003-09-04 14:39:20 +00:00
John Camelon
5022fcb844 Patch for Andrew Niefer 2003-09-04 14:13:02 +00:00
David Inglis
d6a9483ed2 fixed parser block 2003-09-04 03:03:45 +00:00
David Inglis
9e734a8588 see change log 2003-09-03 20:35:38 +00:00
Alain Magloire
645fd04fa9 updated. 2003-09-03 18:34:52 +00:00
Alain Magloire
561b82451e Change to be abstract 2003-09-03 18:34:39 +00:00
Alain Magloire
7c0ccfc714 updated 2003-09-03 13:35:33 +00:00
Alain Magloire
ce7df10349 Wrong fix to the warning. The call is needed but
not the  variable.
2003-09-03 13:33:46 +00:00
Alain Magloire
58fba52bad updated 2003-09-01 21:50:10 +00:00
Alain Magloire
3a824e75ea Facelift of D&D code for Eclipse-2.1 2003-09-01 21:49:44 +00:00
Alain Magloire
b9102ce931 updated 2003-08-31 04:46:02 +00:00
Alain Magloire
8b2c2f72e5 New Block to add ErrorParser 2003-08-31 04:45:53 +00:00
Alain Magloire
889025e925 updated 2003-08-30 21:18:46 +00:00
Alain Magloire
db710bebea Fix all the synthetic method warning from Eclipse.
New addition CheckedListDialogField.
2003-08-30 21:18:21 +00:00
Alain Magloire
9f6e4f8db6 update. 2003-08-30 05:21:34 +00:00
Alain Magloire
5e01d648f6 add new method getImageDescriptor 2003-08-30 05:21:24 +00:00
Alain Magloire
d3a258b4d7 Rewrite to use the new Parser ISourceElementRequestor. 2003-08-30 05:21:06 +00:00
John Camelon
f8a656fbcf Core:
-#39961: Template parameter signature documentation 
UI: 
        -#39968: Template Union missing an icon
2003-08-28 19:49:37 +00:00
Alain Magloire
f6653a6c61 updated 2003-08-28 19:47:32 +00:00
Alain Magloire
87ebd92130 Overload some methods in WorkingCopy. 2003-08-28 19:47:21 +00:00
Alain Magloire
7edad6b418 Check in the IScannerInfo for include paths. 2003-08-28 19:47:01 +00:00
Alain Magloire
572553e0f9 Use CFileElementWorkingCopy 2003-08-28 19:46:41 +00:00
Alain Magloire
6c729f13ad updated. 2003-08-27 13:17:58 +00:00
Alain Magloire
f62e609968 Update code completion to include for functions and
methods and to position the cursor appropiately.
2003-08-27 13:17:47 +00:00
Alain Magloire
397cfb2121 updated. 2003-08-26 20:18:09 +00:00
Alain Magloire
9b0231f1ec New error message. 2003-08-26 20:17:59 +00:00
Alain Magloire
a4f0b0b2cd Change the error message. 2003-08-26 20:17:48 +00:00
Doug Schaefer
8f3b6007eb Patch for Bogdan Gheorghe:
Indexer 
======= 
- Changed file extensions to prevent header files from being indexed (they will be indexed via inclusion) 

Search 
======= 
- Added scope checking to MatchLocator 
- Modified CSearchPattern to allow for destructor searches 
- Added debug tracing statements to SearchEngine 
- Added debug tracing statements to MatchLocator 

UI 
== 
- Converted CTags based OpenOnSelectionAction to OpenDeclarationsAction. For now, we do a search on all types with the selected name. 
- Hooked up OpenDeclarationsAction to search engine 

General 
======= 
- Modified start up code to set debug trace options (which are defined from the launcher). I've added the following trace components: 
        - dependency 
        - indexer 
        - indexmanager 
        - matchlocator 
        - model 
        - search 
        - parser 

- Added trace debug statements to CModelBuilder 
- Modified Util.java to make use of IDebugLogConstants
2003-08-26 19:16:03 +00:00
Doug Schaefer
a80d2f71de Patch for Bogdan Gheorghe:
Indexer 
- Added additional file extensions to supported indexed files 
- Changed the parser instantiation to pass in retrieved build info 
- Added function decl index entry based on enterFunctionBody 
- Added method decl index entry based on enterMethodBody 
- Added forward decl refs 
- Added debug tracing to AbstractIndexer 

Search 
- Changed matching and reporting functions to handle nodes 
  of type IElaboratedTypeSpecifier 

UI 
- Added a search dialog pop up item to the context menu for the 
  CEditor and CContentOutlinePage
2003-08-20 20:53:50 +00:00
Doug Schaefer
301de9ca43 Patch for Sean Evoy:
I forgot (again) that the Eclipse patching mechanism does not pay 
attention to gifs. So, here are the build icons redone with the proper 
transparency settings. Now they no longer show up as an annoying white 
blob on the grey Motif background/ or Gtk selection box.
2003-08-20 20:09:31 +00:00
Doug Schaefer
cc710063b4 Patch for Sean Evoy:
This patch contains some minor UI changes and a big chunk of work to add 
built-in symbols and includes search paths to a tool specification. 

The UI change is a switch from dynamically resizing the property page when 
an option category is selected from the list, but rather using a scrolled 
edit area. Now, if the option set is larger than the viewable area, a 
horizontal and/or vertical scrollbar is displayed.

In terms of built-ins, there is no UI support to change the values just 
yet. That is coming, but I wanted to get the framework and some 
definitions in place so that the indexer and scanner can start using them.
2003-08-20 17:52:32 +00:00