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

508 commits

Author SHA1 Message Date
John Camelon
97e203468e CORE
Cleaned up the ParserFactory interface to check for validity of input arguments.  
	Moved NullSourceElementRequestor and ScannerInfo to public interface as requested. 
	Restructured code so that no Eclipse/CDT source outside the parser source directory is used.
	Updated parser clients to use new ParserFactory (stand-alone parser work item).  	

UI & TESTS
	Updated parser clients to use new ParserFactory (stand-alone parser work item).
2003-11-05 23:35:28 +00:00
John Camelon
56c76eb3e7 CORE
Removed warnings from parser source tree.  
	Removed preliminary task tags support to clean up parser interfaces and implementation.   
	Added preliminary IProblem support to 

UI
	Updated parser clients to use new IProblem strategy.  

TESTS
	Updated parser clients to use new IProblem strategy.
2003-11-05 18:15:21 +00:00
John Camelon
1a068f661e Patch for Andrew Niefer
core:
Fixed Bug 44925 : Search: Elaborated type specifier
Partially Fixed Bug 44510 : C/C++ Search gives wrong results 

ui:
Fixed Bug 44337 : Disabling of "definition" not making sense in Search 
dialog
Fixed Bug 44947 : Navigate from Outline: Enumeration type not 
pre-populated
Fixed Bug 44948 : Navigate via Open Declarations: typedef decl not found
2003-11-03 14:00:24 +00:00
Doug Schaefer
92669e0062 Patch for Bogda Gheorghe: (44366 & 45324)
- Moved off all dependency calculations to the Indexer thread,
created a new UpdateDependency job
- Modified CSearchOperation to only lock the workspace when
tagging resources with markers.
2003-10-27 20:57:47 +00:00
Doug Schaefer
de44b4c4a2 Merged 1.2 fixes into HEAD. Includes:
- managed make fix for infinite make recursion
- search fix for large projects
- fixes to source project so that it actually contains source
2003-10-27 18:26:54 +00:00
Hoda Amer
92c3026143 Bug fixes for New Class Wizard 2003-10-22 17:47:21 +00:00
Hoda Amer
7cfb47c220 Fix for bug#44507 2003-10-20 21:11:44 +00:00
Alain Magloire
de85b5fbaa Thomasf patch to do showInContext() 2003-10-20 19:59:16 +00:00
Alain Magloire
e0e5d2c7bf From Thomasf patch to do showIn, new method
showInContext()
2003-10-20 19:58:54 +00:00
Alain Magloire
e85f117e11 Implement Show() method, from ThomasF patch
to do ShowIn
2003-10-20 19:58:19 +00:00
Alain Magloire
f5b89e809f advertise the Cygwin PE parser Page 2003-10-19 01:17:40 +00:00
Alain Magloire
d6572b1aa6 updated. 2003-10-19 01:17:22 +00:00
Alain Magloire
e47778c1ae New Cygwin PE parser Page 2003-10-19 01:17:05 +00:00
David Inglis
fa2d7106db fixed Eclipse 3.0M4 build problems 2003-10-17 16:35:26 +00:00
Alain Magloire
6738deaf1a updated. 2003-10-16 13:53:42 +00:00
Alain Magloire
66cd500c0c Null out the page when not selected. 2003-10-16 13:53:30 +00:00
Alain Magloire
e8b7586d25 updated. 2003-10-14 20:36:47 +00:00
Alain Magloire
71c5ec9d07 New method added in ICOptionPage
Preferences getPreferences()
2003-10-14 20:36:34 +00:00
Alain Magloire
66b1d31a66 updated. 2003-10-10 19:12:11 +00:00
Alain Magloire
5353c790ba add new method. 2003-10-10 19:12:01 +00:00
Alain Magloire
2b2cf4e3c3 updated. 2003-10-08 20:10:35 +00:00
Alain Magloire
6a5352c615 Fallback to a search on the project. 2003-10-08 20:10:23 +00:00
Alain Magloire
a289e10de1 updated 2003-10-08 19:04:15 +00:00
Alain Magloire
c34904e169 Better use of selection for binary elements 2003-10-08 19:04:06 +00:00
John Camelon
bc158cc0fb Patch for Bogdan Gheorghe
This patch: 

- changes the indexer to use whatever source/header extensions are defined in CModelManager 
- updated the search shortcut so that Ctrl + H will bring up the C/C++ search in a source/header extension file 
- flushes the CDT log file after each index merge (ie. each time the indexer completes an index)
2003-10-01 22:15:38 +00:00
John Camelon
77fbc604e7 Patch for Andrew Niefer
core:
- fix bug 44026 by checking scope before reporting match in 
MatchLocator.report
ui:
-bug44032 - deleting/moving files breaks search
        * modified src/org/eclipse/cdt/ui/CSearchResultLabelProvider 
getText to return empty string instead of null
-bug43130 - Selected resources is disabled but selected
        * src/org/eclipse/cdt/internal/ui/search/CSearchPage
2003-10-01 21:33:23 +00:00
Alain Magloire
c570364866 updated. 2003-10-01 20:27:22 +00:00
Alain Magloire
4c02dcaa92 Missing property 2003-10-01 20:27:12 +00:00
Doug Schaefer
fe07db2d72 Upversioning everything to 1.2.0. 2003-10-01 20:23:21 +00:00
David Inglis
fc7419740e fixed preference saving bug with bin parser page 2003-10-01 14:15:13 +00:00
John Camelon
46a9e7fd6f Patch for Bogdan Gheorghe.
Here's a patch that creates and manages a CDT log file in the .metadata\.plugins\org.eclipse.cdt.core folder. This log file, for now, will contain indexer failure messages and parser failure messages - particularly inclusion failures. These messages were being logged to the PDE error log which, given the number of failures that we can expect on some files, was filling up rather quickly. I put a 5MB limit on the CDT log file after which it gets deleted and a new one gets created. The intent of this log file is to help a user figure out why something isn't being indexed properly - the usual reasons are: i) can't find an include file, ii) symbols not defined. 

Also in this patch are 2 minor UI fixes: i) dedicated to Brent - Ctrl+H now brings up the C++ Search Dialog for all C Editor supported extensions, and ii) especially for Alain - F3 will perform a Open Declarations.
2003-10-01 13:33:39 +00:00
John Camelon
c4640566cb Patch for Andrew Niefer
UI:
Bug 43923 - Search: Results pane title missing Working Set's name
        - implement CSearchUtil.toString( IWorkingSet [] )
        * src/org/eclipse/cdt/internal/ui/search/CSearchUtil.java
2003-09-30 18:25:50 +00:00
Alain Magloire
cde1f83a0c new definition. 2003-09-30 17:08:28 +00:00
Alain Magloire
b60fc95e44 updated. 2003-09-30 17:08:15 +00:00
John Camelon
80271560e8 Patch for Hoda Amer
UI: 
         Fix for bug#43524 : Removing a define from a  .c file causes issues in the outline
2003-09-30 14:16:26 +00:00
John Camelon
b0138f2973 Patch for Hoda Amer
Documentation needs a different help ID for each CEditor preference page.
2003-09-29 14:56:38 +00:00
David Inglis
7348d15aa0 fixed bug#43776 2003-09-26 20:46:14 +00:00
Doug Schaefer
3b2b1c6a42 Patch for Bogdan Gheorghe:
This patch integrates the dependency calculator into
the indexer. As a result the underlying indexer file storage
format has changes. Lots of detail in the change logs of
exactly what changed...
2003-09-26 17:53:45 +00:00
John Camelon
9df570138a Patch for Hoda Amer
UI: 
        Solution to : 
        bug#43149: Code Assist Preferences: Background Color not working.... 
        bug#43153:  Code Assist Preferences: Disabling "Insert single proposa... 
        bug#43154: Code Assist Preferences: Enable Auto activation not working 
        bug#42224: Code Assist preferences Do not work properly
2003-09-26 15:25:45 +00:00
John Camelon
05f6b423c8 Patch for Andrew Niefer
fix bug 43129 - report definitions for variables, fields, enumerators and 
namespaces.

core:
- check definitions for variables, fields, enumerators and namespaces
- handle enter/exitLinkageSpecification
  * search/org/eclipse/cdt/internal/core/search/matching/MatchLocator.java
  * 
search/org/eclipse/cdt/internal/core/search/matching/CSearchPattern.java

core.tests:
-added testbug43129() in OtherPatternTests
modified:
* resources/search/include.h
* resources/search/classDecl.cpp
* search/org/eclipse/cdt/core/search/tests/OtherPatternTests.java

ui:
 modify UI to allow selecting Definitions for more items
* src/org/eclipse/cdt/internal/ui/search/CSearchPage.java
2003-09-26 14:58:17 +00:00
John Camelon
939af66d2e Patch for Andrew Niefer
partial fix for bug 43664 - Search cannot report matches outside of 
workspace.

This enables non-ui reporting of matches outside the workspace.  So 
clients of search, like code assist will get external results.

We still need a resource to report a match to the search view so no 
external matches in the UI.

core:
Modify Matchlocator to not try and create a link if we have no resource, 
instead just use the path

core.tests:
added testNoResourceSearching() to OtherPatternTests

ui:
modify CSearchResultCollector to accept matches without resources, but not 
attempt to report
them in the UI.
* src/org/eclipse/cdt/internal/ui/search/CSearchResultCollector.java
2003-09-25 19:51:50 +00:00
John Camelon
ba0a125734 Patch for Hoda Amer
Core: 
        - Last part of solution to bug#42453: Expression result types not computed 
        Added the handling of POSTFIX_TYPENAME_IDENTIFIER 
        Completed bug#43221: POSTFIX_TYPENAME_IDENTIFIER not implemented 
        - Solution to bug#43644 : 6 triangle icons appearing in outline viewer when typing ... 
Tests: 
        Enabled CompleteParseASTExpressionTest.testPostfixTypenameIdentifier() 
UI: 
        Solution to bug#43646: Code Assist won't work if missing end bracket
2003-09-25 19:40:39 +00:00
Alain Magloire
33cfdee33a updated. 2003-09-25 14:10:30 +00:00
Alain Magloire
4464c93627 New Help ids for the CEditor Preference Page 2003-09-25 14:09:59 +00:00
David Inglis
74fd9f04c9 added seach to default c perscetive 2003-09-25 13:45:28 +00:00
David Inglis
d1e8e5afbd new class wizard enablement should only be on ccnature 2003-09-25 13:45:12 +00:00
Alain Magloire
18908c982d updated. 2003-09-24 15:07:43 +00:00
Alain Magloire
7c16d44639 remove on unused method 2003-09-24 15:07:30 +00:00
Alain Magloire
f683a336e5 File and Folder Wizard removed in plugin.xml
not needed.
2003-09-24 14:22:29 +00:00
John Camelon
ef856ea3e1 Patch for Hoda Amer
Core: 
        Solution to bug#43373: No reference to static member in definition  (Major) 
        Solution to bug#43371: constructor incorrectly marked private (Normal) 
Tests: 
        Added CompleteParseASTTest.testBug43373() 
        Added QuickParseASTTests.testBug43371() 
UI: 
        Solution to bug#43143: Naming of Code Assist Menus/Tab are not consistent 
        changed both names to Content Assist. No tests provided.
2003-09-23 20:46:22 +00:00