1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-12 03:25:22 +02:00
Commit graph

506 commits

Author SHA1 Message Date
John Camelon
0470019cbd Patch for Bogdan Gheorghe and Thomas Fletcher.
This is Thomas' patch which causes the completion engine to use the FORCE_IMMEDIATE_SEARCH option 
in the search engine. Test suite run on Windows.
2004-02-15 23:12:40 +00:00
Alain Magloire
c4de83422f PR 51221
Move the search operation in a runnable.
2004-02-05 19:56:06 +00:00
Alain Magloire
be766c6e3a PR 51121, patch from Chris Wiebe to fix
and race condition.
2004-02-03 18:08:58 +00:00
Alain Magloire
a26a745733 Patch from thomas fletcher to deal with
PR 51115
2004-02-03 16:59:47 +00:00
Alain Magloire
cc70558135 Fix bug 49595, the error parser order was not save. 2004-01-07 17:47:02 +00:00
Alain Magloire
f08bee5165 updated. 2003-12-30 16:35:12 +00:00
Alain Magloire
e3eddeb9d1 fix to setSelection() 2003-12-30 16:34:41 +00:00
Alain Magloire
a145cca177 updated entries 2003-12-19 19:51:02 +00:00
Alain Magloire
8816ca1791 PR 40247. Fix the Sorting in the CView, 2003-12-19 19:50:31 +00:00
David Inglis
c452780998 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=48619 2003-12-15 18:28:16 +00:00
David Inglis
8c5882d036 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=48619 2003-12-15 18:22:43 +00:00
Doug Schaefer
9e74a89f05 Upgraded plugin versions to 1.2.1 in preparation for the
1.2.1 M1 build. Also converted plugins to use PDE containers.
2003-12-15 16:07:23 +00:00
David Inglis
b67b0d9139 fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=48596 2003-12-11 21:22:57 +00:00
Hoda Amer
d42dfce8c4 New Class Wizard small API change 2003-12-09 14:48:09 +00:00
David Inglis
5e41c259a0 fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=46685 2003-11-14 17:56:29 +00:00
Doug Schaefer
f69b3bad49 Patch for Sean Evoy:
- Fixes for bugzilla 44451 and 44841
2003-11-13 20:20:06 +00:00
Hoda Amer
6cea59feeb Patch for Bogdan 2003-11-11 18:28:20 +00:00
John Camelon
5c13a1c935 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:01 +00:00
John Camelon
be09974d58 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:01:00 +00:00
Doug Schaefer
c94898ad2b Patch for Bogdan: (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:45:09 +00:00
Hoda Amer
2282ebb711 Fix for outline flickers problem 2003-10-27 13:26:10 +00:00
Doug Schaefer
b648b93070 Patch for Bogdan Gheorghe:
- Add in option (which is turned on by default) to limit the
scope of the code assist search to the file and it's inclusions
as opposed to the entire project.
2003-10-09 17:46:59 +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
Alain Magloire
4695acb1d8 Refactoring of LocalSelectionTransfer to CLocalSelectionTransfer. 2003-09-23 19:50:48 +00:00
Alain Magloire
1a59094cd1 Remove warnings. 2003-09-23 19:49:56 +00:00