1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

6573 commits

Author SHA1 Message Date
Doug Schaefer
4271b7bd80 Removed the (non-existing) jar file for this fragment. 2005-04-04 18:48:00 +00:00
Doug Schaefer
465ceb9d64 Fix version number. 2005-04-04 18:14:25 +00:00
Bogdan Gheorghe
824a56b572 Got rid of index flags and put in a new mechanism for indexers to add files
to the index directly.
Got rid of IDocument and replaced it with IFile resources throughout all
indexing framework.
Minor refactoring of CSearchPage to get rid of internal dependency.
2005-04-04 17:46:28 +00:00
Andrew Niefer
fbc8781e59 fix 90039
don't try and look up empty names.
when resolving declarations, make sure cached binding is of expected type
2005-04-04 17:33:06 +00:00
Doug Schaefer
12508e3e76 Added the x86_64 linux port as supplied by Intel. Removed the HPUX port from the build scripts. Restructured the fragments so that the arch specific bits of the linux port get their own fragments. 2005-04-04 15:37:05 +00:00
Andrew Niefer
407dc37063 fix bug 90039
when getting expression types, don't try to reresolve bindings for names that already
have a binding.  Also, handle enumerators when they are the result of the expression
2005-04-02 01:22:44 +00:00
Doug Schaefer
67c1fbfc3f Added content assist for expressions in return statements. Also added the icon for namespaces. 2005-04-01 21:01:46 +00:00
Doug Schaefer
363f066567 Fixed an NPE when resolving prefix on a name that isn't properly hooked up in the AST. This usually occurs when a backtrack happens and the AST branch is cut off. 2005-04-01 20:12:41 +00:00
Doug Schaefer
c946e6f846 Bug 90015 - Set the offset of the EOC token to max so that it is properly considered to be at the end of the parse. 2005-04-01 19:53:00 +00:00
Andrew Niefer
6e68f25d05 fix bug 89990
when looking for name matches in a scope, don't consider qualified names because
they are really from another scope.
2005-04-01 19:40:55 +00:00
David Inglis
0202a904bd use IWorkbenchHelpSystem 2005-04-01 19:08:44 +00:00
David Inglis
d2f6140b4b use new Partitioner 2005-04-01 19:07:30 +00:00
Andrew Niefer
d151e913f6 bug 89396
when deciding whether or not to check the whole class scope, if the name is a qualified name segement, use the property of the qualified name instead
2005-04-01 18:56:59 +00:00
Doug Schaefer
df814fefe9 Really ugly update to make sure the EOC token gets included as a segment in a token duple. This allows completions immediately after the :: in a name. 2005-04-01 16:20:52 +00:00
Andrew Niefer
f7566ee272 fix bug 89828 2005-04-01 15:38:01 +00:00
Vladimir Hirsl
7abf1397a2 Per file scanner info collector and container now support -include and -imacros command line options.
Adding discovered include paths as system paths to so that they can be properly retrieved from IScannerInfo implementation.
Parser needs to be updated to ask IScannerInfoExtension implementation for both user and system include paths.
Fix for ClassCastException in CPPClassType binding.
2005-03-31 20:55:29 +00:00
Andrew Niefer
cc1cf61ddf fix bug 89851
when considering the offset of a binding, use the lowest offset of all its declarations/definitions
instead of just the offset of the declaration that was resolved first.
2005-03-31 20:24:13 +00:00
Alain Magloire
9a6a9c9350 2005-03-30 Alain Magloire
Patch from Alex Chapiro, tentative fix for PR 89662
	* utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java
2005-03-31 19:38:31 +00:00
John Camelon
6c97bf5a19 Committed patch for Devin Steffler.
FIXED 88333 - [DOM AST] ASTNodeProperty needs more descriptive value
2005-03-31 19:01:44 +00:00
Doug Schaefer
d0edd5f5d2 Added handling for macros. 2005-03-31 16:39:06 +00:00
John Camelon
fb599203be Removed Doug's Warnings. 2005-03-31 16:00:32 +00:00
Doug Schaefer
4616b8b8d4 Get ready for M6. 2005-03-31 02:31:11 +00:00
Andrew Niefer
af99524697 fix bug 89539 2005-03-30 22:48:10 +00:00
Andrew Niefer
074f1693f1 Another small step forward for templates 2005-03-30 21:48:54 +00:00
Alain Magloire
a06a9ae512 the update is not needed when changing input 2005-03-30 21:05:08 +00:00
Alain Magloire
f6796023a4 2005-03-30 Alain Magloire
Delay the processing/parsing of the WorkingCopy when creating the workingcopy
	This should speed the opening  of the CEditor.
	PR 74182
	* model/org/eclipse/cdt/internal/core/model/CReateWorkingCipyOperation.java
2005-03-30 20:53:36 +00:00
Andrew Niefer
f25c314c0a bug 89389 2005-03-30 20:20:41 +00:00
Bogdan Gheorghe
82b1a286d2 Patch for Devin Steffler: IndexViewer update 2005-03-30 19:47:40 +00:00
Alain Magloire
0826b3421e Share some code. 2005-03-30 17:22:42 +00:00
Andrew Niefer
585cbe890c fix failing refactor tests 2005-03-30 16:44:54 +00:00
Alain Magloire
77df20e6f9 Updating the file to reflect changes in IPathContainerExtension 2005-03-30 16:39:36 +00:00
Alain Magloire
520d41403e 2005-03-30 Alain Magloire
PR 88858 implementation.
	* model/org/eclipse/cdt/core/model/CoreModel.java
	* model/org/eclipse/cdt/core/model/IIncludeFileEntry.java
	* model/org/eclipse/cdt/core/model/IMacroFileEntry.java
	* model/org/eclipse/cdt/core/model/IPathEntry.java
	* model/org/eclipse/cdt/core/model/IPathEntryContainerExtension.java
	* model/org/eclipse/cdt/internal/core/model/DefaultPathEntryStore.java
	* model/org/eclipse/cdt/internal/core/model/IncludeFileEntry.java
	* model/org/eclipse/cdt/internal/core/model/MacroFileEntry.java
	* model/org/eclipse/cdt/internal/core/model/PathEntry.java
	* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
	* model/org/eclipse/cdt/internal/core/model/PathEntryUtil.java
	* src/org/eclipse/cdt/core/resources/ScannerInfo.java
	* src/org/eclipse/cdt/core/resources/ScannerProvider.java
2005-03-30 16:38:50 +00:00
Doug Schaefer
43222f2381 Fixed isOnTopContext to check that there are inclusions on the data stack. 2005-03-30 16:33:37 +00:00
Alain Magloire
61da45c653 2005-03-30 Alain Magloire
Fix PR 87334
	* src/org/eclipse/cdt/internal/ui/compare/CMergeViewer.java
2005-03-30 16:27:08 +00:00
Bogdan Gheorghe
3097c2f126 Modified IndexManger to get rid of an exisiting index for a project when an
indexer gets changed.
2005-03-30 14:35:50 +00:00
Vladimir Hirsl
0861c2c64f Fix for NPE in IndexEncoderUtil.calculateIndexFlags 2005-03-30 05:55:30 +00:00
Chris Wiebe
5a3d496550 2005-03-29 Chris Wiebe
prevent duplicate #includes
	* src/org/eclipse/cdt/internal/ui/wizards/NewClassCodeGenerator.java
2005-03-30 00:58:50 +00:00
Chris Wiebe
12aaa62fa7 2005-03-29 Chris Wiebe
small change for potential reduction in memory usage
	* browser/org/eclipse/cdt/core/browser/QualifiedTypeName.java
2005-03-30 00:46:55 +00:00
Chris Wiebe
6acaa7fee9 2005-03-29 Chris Wiebe
fix PR#87328 by making class wizard page publicly accessible
	refactored wizard code and added comments
	* src/org/eclipse/cdt/internal/ui/wizards/AbstractMethodStub.java
	* src/org/eclipse/cdt/internal/ui/wizards/ConstructorMethodStub.java
	* src/org/eclipse/cdt/internal/ui/wizards/DestructorMethodStub.java
	* src/org/eclipse/cdt/internal/ui/wizards/IMethodStub.java
	* src/org/eclipse/cdt/internal/ui/wizards/NewBaseClassSelectionDialog.java
	* src/org/eclipse/cdt/internal/ui/wizards/NewClassCodeGenerator.java
	* src/org/eclipse/cdt/internal/ui/wizards/NewClassWizardMessages.properties
	* src/org/eclipse/cdt/internal/ui/wizards/DestructorMethodStub.java
	* src/org/eclipse/cdt/internal/ui/wizards/DestructorMethodStub.java
	* src/org/eclipse/cdt/ui/wizards/NewClassCreationWizardPage.java
	* src/org/eclipse/cdt/internal/ui/wizards/NewClassCreationWizard.java
	* src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassWizardPrefs.java
	* src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassWizardUtil.java
	* plugin.xml
	removed:
	* src/org/eclipse/cdt/ui/wizards/NewClassCreationWizard.java
	* src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassCreationWizardPage.java
2005-03-30 00:17:45 +00:00
Chris Wiebe
1e4dae1a86 2005-03-9 Chris Wiebe
temporary fix for type parser timeout
	* browser/org/eclipse/cdt/core/browser/cache/TypeParser.java
2005-03-30 00:07:37 +00:00
Bogdan Gheorghe
7a1f792fe6 Patch for Devin Steffler: Initial IndexViewer patch 2005-03-29 21:40:34 +00:00
Vladimir Hirsl
568c1dd81e Generation of problem markers for DOM AST based indexer.
Removing indexer problem markers when problem reporting is deselected.
2005-03-29 20:48:56 +00:00
Doug Schaefer
2e76470f0f Hooked up the template engine to the new content assist processor. 2005-03-29 18:43:28 +00:00
Andrew Niefer
f8da9f5f4e bug 89039 2005-03-29 16:25:09 +00:00
Bogdan Gheorghe
50a283a448 Changed indexer change notification to run as a job.
Some additiional ICDTIndexer changes.
2005-03-29 15:33:11 +00:00
Doug Schaefer
7e8e3349ba Cleaned up some of the createCompletionNode code. 2005-03-29 15:14:10 +00:00
Bogdan Gheorghe
219aa7056b Added cumulative timer to SouceIndexer/DOMIndexer.
Purge any existing jobs from job queue on indexer change event.
Put in an indexer change nofication event that the IndexManager sends to the
newly selected indexer to allow it to react to being selected.
2005-03-29 14:28:29 +00:00
Doug Schaefer
1dbadaeb96 Removed duplicate and empty names from the completion node. 2005-03-28 21:25:24 +00:00
Doug Schaefer
c47e2bcfca Added completion for qualified names. Fixed up the images for fields. 2005-03-28 20:55:04 +00:00
Andrew Niefer
746bb4fda5 fix ClassCastException 2005-03-28 19:46:26 +00:00