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

1468 commits

Author SHA1 Message Date
Alain Magloire
18d3837fe0 2005-06-08 Alain Magloire
Move to the IContentTypeManager framework: PR 86645
	* src/org/eclipse/cdt/internal/ui/CFileElementWorkingCopy.java
	* src/org/eclipse/cdt/internal/ui/editor/CEditor.java
	+ src/org/eclipse/cdt/internal/ui/preferences/CFileTypeAssociation.java
	* src/org/eclipse/cdt/internal/ui/preferences/CFileTypeDialog.java
	* src/org/eclipse/cdt/internal/ui/preferences/CFileTypesPreferenceBlock.java
	* src/org/eclipse/cdt/internal/ui/preferences/CFileTypesPreferencePage.java
	* src/org/eclipse/cdt/internal/ui/preferences/CFileTypesPropertyPage.java
	* src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties
	* src/org/eclipse/cdt/internal/ui/text/CFormattingStrategy.java
	* src/org/eclipse/cdt/internal/ui/text/contentassist/SearchCompletionContributor.java
	* plugin.xml
2005-06-09 16:06:54 +00:00
Vladimir Hirsl
04cd3adec5 Discovered path container wizard page now properly displays per file scanner info.
Fixed couple of NPEs.
2005-06-08 17:55:02 +00:00
Alain Magloire
3d2fcb3aa4 2005-06-07 Alain Magloire
Patch form Chris Recoskie to provide an ID to the wizard.
	* src/org/eclipse/cdt/ui/wizards/NewCProjectWizardPage.java
2005-06-07 20:25:06 +00:00
Bogdan Gheorghe
f20ffd5b51 Fix for 92296 (Source Indexer doesn't encode definitions)
Fix fo 92628 (Definitions missing in new Search Engine)
Got rid of FWD_CLASS, FWD_STRUCT and FWD_UNION encodings (updated all 3 indexers)
Updated Indexer View (got rid of FWD declarations)
2005-06-07 17:48:18 +00:00
John Camelon
24648ae9ed Moved clients towards IASTNode.getFileLocation() and away from IASTTranslationUnit.flattenLocations( ... ). 2005-05-30 20:32:56 +00:00
Alain Magloire
52961638a3 2005-05-27 Alain Magloire
Patch from Dave Daoust to externalize some strings
	* refactor/org/eclipse/cdt/internal/core/refactoring/rename/RenameElementProcessor.java
	* src/rg/eclipse/cdt/internal/ui/CUIMessages.properties
	* src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties
	* src/org/eclipse/cdt/internal/ui/search/DOMQuery.java
	* src/org/eclipse/cdt/internal/ui/search/LevelTreeContentProvider.java
	* src/org/eclipse/cdt/internal/ui/text/contentassist/CCompletionprocessor2.java
	* src/org/eclipse/cdt/ui/dialogs/CodeFormatterBlock.java
2005-05-27 19:27:55 +00:00
Alain Magloire
10249b11c4 2005-05-19 Alain Magloire
Fixed PR 95943
	* src/org/elcipse/cdt/internla/corext/template/c/TemplateMessages.properties
	* src/org/elcipse/cdt/internla/corext/template/c/TranslationUnitContextType.java
2005-05-19 20:26:56 +00:00
David Inglis
0024d82142 fixed bug # 95556 2005-05-19 01:50:59 +00:00
David Inglis
3ee88519f0 fixed bug # 95556 2005-05-19 01:47:27 +00:00
Bogdan Gheorghe
55f4eca137 Fix for 9551: [Open Declaration] does not highlight proper offsets with CTags when Indexer is required 2005-05-17 17:11:12 +00:00
John Camelon
3fa54b37ea Applied patch for Devin Steffler.
FIXED 94135- All Declarations does not include the namespace scope in the search pattern
FIXED 95202- [NPE] on Open Declarations for C++ spec example
FIXED 95219- [Ctrl+Click] is enabled on everything except for keywords
FIXED 95224- [Open Definition] of destructor should have the same logic as constructors
FIXED 95225- [open definition] within constructor in a throw statement fails
FIXED 95229- [open declaration] infinite loop on keyword operator
FIXED 95372- DOMQuery#isLocal() should not reference internal DOM packages
2005-05-16 21:28:45 +00:00
Bogdan Gheorghe
b920965dab Changed IMatch to return a IMatchLocatable instead of startOffset/endOffset (IMatchLocatable can then be further cast into IOffsetLocatable or ILineLocatable)
Updated all clients.
2005-05-16 18:24:31 +00:00
Doug Schaefer
bdecfcfc41 Cleaned up some obvious NLS warnings. Also turned off the warnings for the tests plugins. 2005-05-16 14:44:03 +00:00
Andrew Niefer
793e00edda modified version of patch from Devin Steffler for bug 95202 2005-05-13 19:52:38 +00:00
John Camelon
15c8faed14 Applied patch for Devin Steffler.
FIXED 43128- Search: cannot find declarations of local variables
2005-05-13 14:15:44 +00:00
Alain Magloire
af17efc7a8 2005-05-12 Alain Magloire
Fix multiple warnings, the use of:
	Workbench.setHelp() --> PlatformUI.getWorkbench().getHelpSystem().getHelp()
	Use IShellProvider instead of shell.
	* files too many to enumerate
2005-05-12 14:34:45 +00:00
Alain Magloire
f1a99f9bca Remove warning. 2005-05-12 14:03:08 +00:00
Alain Magloire
8ecb6c287e 2005-05-12 Alain Magloire
Fix PR 93970
	* src/org/eclipse/cdt/internal/ui/cview/SelectionTransferDragAdapter.java
	* src/org/eclipse/cdt/internal/ui/cview/SelectionTransferDropAdapter.java
2005-05-12 13:58:31 +00:00
Vladimir Hirsl
fb26e4691f Fix for PR 91442: [Scanner Config] Saving per file DSC for Mozilla project chokes the system.
When there is new per file scanner info for number of files in a project, the project is refreshed only once (no recursive processing of change delta).
2005-05-11 20:07:41 +00:00
Bogdan Gheorghe
efe6bad409 Fix for 94132 2005-05-09 18:25:22 +00:00
Alain Magloire
ecd91d8fe3 2005-05-09 Alain Magloire
Patch from David Daoust, PR 94120
	* src/org/eclipse/cdt/internal/ui/wizards/CWizardRegistry.java
2005-05-09 16:11:08 +00:00
John Camelon
9d13cdeb95 Keep the annoations for now.
Note to self: reverse this right before M7.
2005-05-06 18:02:28 +00:00
Alain Magloire
d00b5656b6 2005-05-06 Alain Magloire
PR 93902 to fix warnings.
	* plugin.xml
	* src/org/eclipse/cdt/internal/ui/search/FindDeclarationsInWorkingSet.java
	* src/org/eclipse/cdt/internal/ui/search/FindRefsInWorkingSet.java
	* src/org/eclipse/cdt/internal/ui/search/WorkingSetFindAction.java
	* src/org/eclipse/cdt/internal/ui/text/HelpCompletionContribution.java
	* src/org/eclipse/cdt/ui/CUIPlugin.java
2005-05-06 14:18:31 +00:00
Vladimir Hirsl
39e465b9a8 Fix for PR 92599: [Indexer] Remove annotation markers preference from DOMIndexer & friends
- Replaced indexer problem markers property page block for DOMIndexer.
  (from SourceIndexerBlock to NullIndexerBlock).
  Only inclusion not found preprocessor problem markers are going to be
  generated (there isn't an option in UI to disable/enable them yet).
- Also, fixed deleting of indexer problem markers when indexer is changed.
2005-05-04 18:58:40 +00:00
John Camelon
d5663f5134 Patch for Devin Steffler.
FIXED 72716- [Search] Search actions in "magic" include files do not work.
2005-05-03 18:48:24 +00:00
John Camelon
f8927a9f4c Commented out RefactoringRegressionTests#testFunction_31.
Patch for Devin Steffler.
FIXED 69063- [Search] Open Definition vs Open Declaration.
2005-05-03 15:48:34 +00:00
John Camelon
e95f21d2d8 Patch for Devin Steffler.
FIXED 93281- [Open Declaration] the entire operator string shouldn't have to be selected for features to work
2005-05-02 17:40:48 +00:00
Bogdan Gheorghe
c8d7b84191 Fix for IndexerBlock not persisting selected indexer for new projects 2005-04-29 20:11:57 +00:00
John Camelon
5e0e6d7eb2 Patch for Devin Steffler.
FIXED 86993- [Selection] CPPASTLinkageSpecification with bad offset due to macro expansion causes selection to fail in CPP
FIXED 93167- [Open Declaration] on destructor requires the entire word to be selected
FIXED 92632- [IBinding] CPPClassInstance binding has no declaration
FIXED - prevent DOM AST View from showing internal interfaces
2005-04-29 00:56:11 +00:00
John Camelon
0abbfb7df8 Patch for Devin Steffler.
Validation/fixes for the following defects:
FIXED 86698- [Selection] selecting from constructor chain initializer fails to find IASTNode due to stop condition
FIXED 64181- [Search] Open declaration on a namespace does not offer all possible declarations
FIXED 80823- [F3] Open Declaration should find #defines of basic_types
FIXED 64326- [Search] Hyperlink navigation does not work on referenced class/struct/union members
2005-04-28 02:25:52 +00:00
Bogdan Gheorghe
6f38f94b90 Added Indexer Preference page that sets up the indexer to use for new projects
Removed Index Enabled checkboxes from Source + Dom indexers
Added import ctags file option under CTags Indexer
Fixed Apply/OK problem
2005-04-27 19:18:13 +00:00
John Camelon
0fedc36b90 Applied patch for Devin Steffler.
Open Declarations/Search For Refs/Search for Decls actions reworked to use the new DOM.
2005-04-27 17:43:33 +00:00
Alain Magloire
a88eb122a2 Use the offset of the IMatch 2005-04-26 17:58:50 +00:00
Doug Schaefer
4b511c67ae Hooked up the C Help system to the new content assist. 2005-04-25 18:35:52 +00:00
Doug Schaefer
141d4a2510 Hooked up search to the new content assist. 2005-04-25 17:07:51 +00:00
Bogdan Gheorghe
1c5c64581c Index Reader Interface Refactor - a patch contribution by Dave Daoust 2005-04-25 14:01:51 +00:00
Doug Schaefer
bac2cf5297 Patch for Markus: turn off old refactoring UI if new refactoring plugin loaded. Hook up new refactoring UI. 2005-04-22 17:10:10 +00:00
Vladimir Hirsl
7c8ce5b42e Added per file C/C++ Includes & Symbols property page to display per file scanner info (discovered and user specified). 2005-04-22 16:04:06 +00:00
Bogdan Gheorghe
cef2041f15 First pass at new Search Engine (queries the index directly - dramatically increasessearch performance; still missing definitions, function parms, Working Copy)
Refactored CIndexStorage - got rid of operations dealing with multiple indexes
Modified the SourceIndexer to encode the proper offsets for references
2005-04-21 15:46:06 +00:00
Doug Schaefer
0b0d156d87 Added using support. Cleaned up tEOC handling. 2005-04-20 14:14:14 +00:00
Bogdan Gheorghe
cf1d5bf0d1 Dave Daoust's patch for 91946 w/ Modifications
Cleaned up deprecated Search UI
2005-04-20 05:59:37 +00:00
Doug Schaefer
6368adec2a Added support for varargs. 2005-04-19 18:03:28 +00:00
Doug Schaefer
b829c4ed8e Added token counts to debug message in content assist. 2005-04-19 17:58:35 +00:00
Doug Schaefer
4a8943986a Sorted and removed duplicate proposals. 2005-04-15 19:52:49 +00:00
Doug Schaefer
fbc97ffbf6 Force the parser to treat header file translation units as C++ if they are in C++ projects. Fixed completion in class definitions. Removed my duplicate binding removal code since it depended on equals comparing the bindings (which is not the case for types). 2005-04-15 18:59:23 +00:00
Doug Schaefer
6df8a731ad Turned new content assist on for C. 2005-04-14 20:31:59 +00:00
Doug Schaefer
9877d0b3bd Turned new content assist on for C. 2005-04-14 20:29:38 +00:00
Bogdan Gheorghe
fc2141e160 Fix for 91292 2005-04-14 05:17:49 +00:00
Alain Magloire
6c706f31ae 2005-04-13 Alain Magloire
Fix PR 91239
	* src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java
2005-04-13 19:52:36 +00:00
Doug Schaefer
22c3065bd3 Removed the assumption that working copy has a resource, which for external files is false. 2005-04-13 16:16:43 +00:00