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

2569 commits

Author SHA1 Message Date
John Camelon
36ec31dca2 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65610<BR>
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65623
2004-06-23 00:18:14 +00:00
Andrew Niefer
b8c65f150f tests to show that bug 68235 is not our problem 2004-06-22 21:48:31 +00:00
Doug Schaefer
112cf2a908 Scanner2 - some more minor fixes. I'm getting close to the trilogy... 2004-06-22 21:03:53 +00:00
Andrew Niefer
d75195c520 fix for bug 68229 - problems with IToken.getNext() around places where subscanners are used 2004-06-22 20:38:34 +00:00
Doug Schaefer
b0040c1336 Scanner2 - sanity point - fixed some problems I was having with comments. 2004-06-22 19:20:10 +00:00
Alain Magloire
fdfc59936c 2004-06-21 Alain Magloire
It is too late to change the icons, but still
	make a difference in a CFolder(CContainer) and
	a normal folder.
	* icons/full/obj16/sroo_obj.gif
	* src/org/eclipse/cdt/internal/ui/BaseCElementContentProvider.java
	* src/org/eclipse/cdt/internal/ui/CElementImageProvider.java
	* src/org/eclipse/cdt/internal/ui/CPluginImages.java
2004-06-22 19:16:51 +00:00
Alain Magloire
c8e604403c Fix the exclusion scheme in IPathEntry.
* model/org/eclipse/cdt/core/mode/CoreModelUtil.java
	* model/org/eclipse/cdt/internal/core/model/CContainer.java
	* model/org/eclipse/cdt/internal/core/model/Openable.java
	* model/org/eclipse/cdt/internal/core/model/SourceRoot.java
2004-06-22 19:09:17 +00:00
Hoda Amer
a2393bddc7 Patch for Tanya 2004-06-22 18:54:29 +00:00
Andrew Niefer
9bba5a8939 respond to source container changes
also check start and end of problem markers
2004-06-22 18:13:03 +00:00
David Inglis
fdb7641d45 getErrorStream did not return proper stream - fixed. 2004-06-22 17:52:03 +00:00
Doug Schaefer
27772d9655 Scanner2 - completed rewrite if function macro expansion. 2004-06-22 17:13:37 +00:00
Bogdan Gheorghe
9aebc8d6a2 Fix for 68028: Open Declaration into closed project causes PartInitException 2004-06-22 16:34:55 +00:00
Hoda Amer
7b219f7c9b Bug Fixing 2004-06-22 15:33:53 +00:00
John Camelon
70f786631a Added long-line test case to QuickParseASTTests. 2004-06-22 15:15:58 +00:00
David Inglis
167dd473b8 small schema update 2004-06-22 14:51:52 +00:00
Doug Schaefer
50da298959 Scanner2 - made a better hash function, added != to #if expressions,
started the rewrite of my macro expansion routines.
2004-06-22 14:34:37 +00:00
David Inglis
5164abb61c removed unused ext strings 2004-06-22 12:45:24 +00:00
Bogdan Gheorghe
0c2b43cb02 Fixed opening search external markers. 2004-06-22 05:03:56 +00:00
Bogdan Gheorghe
726c615400 Modified JobManager to change state from waiting to enabled on a job request. 2004-06-22 03:17:19 +00:00
Alain Magloire
b8a1c86199 update changelog. 2004-06-21 22:16:59 +00:00
Alain Magloire
416238652a 2004-06-21 Alain Magloire
Big Patch from Vladimir Hirsl
	This patch contains a binary parser core and UI elements to 'support' AIX
	XCOFF32 binaries.
2004-06-21 22:08:09 +00:00
Alain Magloire
43bd85438e The PathEntryManager was returning the array instead
of making a copy.  Potentially clients could have
	modified the contents.

	* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
	* model/org/eclipse/cdt/internal/core/model/IMacroEntry.java
	* src/org/eclipse/cdt/core/resources/ScannerProvider.java
2004-06-21 22:02:25 +00:00
Alain Magloire
8102e0ee93 This mini-patch gets rid of unnecessary "could not locate type" error
dialogs.
2004-06-21 22:00:30 +00:00
Andrew Niefer
dbcc3f2792 fix parsing of unary ampersand cast on an expression result 2004-06-21 21:35:04 +00:00
John Camelon
58d2390a65 Cached SimpleTypeSpecifiers in the CompleteParseASTFactory. Reduced parse footprint by a couple of MB. 2004-06-21 20:24:36 +00:00
Alain Magloire
252e890fed remove check for typedef 2004-06-21 19:14:22 +00:00
Alain Magloire
a2e471d3f5 - fix for bug #66108 (C++ browser cannot show members of class)
- all types now visible in the types view (ie not just classes & structs)
	- runnables now use IProgressService.busyCursorWhile (prevents progress
	dialog from being displayed during short operations)
2004-06-21 18:48:53 +00:00
Alain Magloire
b16d7061a2 - fix for bug #66108 (C++ browser cannot show members of class)
- TypeParser now uses resource to get scanner info
2004-06-21 18:48:03 +00:00
David Inglis
3c69bad0a7 ask for scannerinfo of resource instead of project 2004-06-21 18:46:53 +00:00
Hoda Amer
1e470bd109 Bug Fixing 2004-06-21 18:18:15 +00:00
Andrew Niefer
574f68dad7 65623 - add rest of the index markers 2004-06-21 17:56:37 +00:00
Hoda Amer
395aab5426 Bug Fixing 2004-06-21 17:56:19 +00:00
David Inglis
889a492487 fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=68001 2004-06-21 17:52:18 +00:00
David Inglis
515919579d fixed NPE 2004-06-21 17:49:20 +00:00
Alain Magloire
d537a34599 getSourceElementsAtOffset() was not returning the children 2004-06-21 17:47:54 +00:00
John Camelon
a353701633 Fix NPE in lookupSymbolInContext() 2004-06-21 17:09:49 +00:00
Alain Magloire
dad66224a2 Do not try to create the ".cdtproject" file if it does not
exist.
2004-06-21 15:55:57 +00:00
Doug Schaefer
f132e86cc0 Fixed up the fragment name properties. Apparently you
have to put them in the plugin.properties file. Weird.
2004-06-21 15:34:49 +00:00
Alain Magloire
9ce85f46de Fix for PR 66108 2004-06-19 03:15:56 +00:00
Alain Magloire
1972c2b70a 2004-06-18 Alain Magloire
- The call CCorePlugin.getCDescriptor(..) seems to return null.
	This should be fix but meanwhile give the indexer a break by catching it.
2004-06-19 02:47:35 +00:00
Alain Magloire
a443caeb08 2004-06-18 Alain Magloire
This was heavy and lots of files were change.  The problem: to create the CElementInfo we use
	to synchronize of the CModelManager singleton instance, this was handy and allowed us to serialize
	the creation of the proxy info and save in the LRU cache.  Then came Eclipse-3.0 with job spawning
	everywhere, lots of deadlock since the CModelManager was lock and the singleton is the center
	to get all the info.  We use the same scheme as the JDT by using a ThreadLocal class cache
	to collect the information.  We fixed a couple of bug allong the way and probably introduce some.

	The tests were doing something stupid, by creating directly the TranslationUnit:
		new TranslationUnit(project, file);
	This does not work since only the sourceRoot can be the parent
	of a TranslationUnit, the tests are now fix bug we should restrict access of the class in the core model
	after 2.0.
2004-06-19 02:43:04 +00:00
Andrew Niefer
c5c4b73fed tweaks to the indexer to fix some files not getting indexed on reopen
and potential to get the indexer disabled.
2004-06-18 23:15:25 +00:00
John Camelon
ef4eaa9e09 Deferred typeid reference list creation until absolutely necessary. 2004-06-18 19:58:21 +00:00
Andrew Niefer
57bc1229ab better problem reporting when DeclarationWrapper.createASTNodes fails 2004-06-18 19:51:20 +00:00
John Camelon
5846544680 Remove NPE from ASTTypeId.getReferences() 2004-06-18 19:39:41 +00:00
John Camelon
efab1f2f3d Final adjustment on error handling. 2004-06-18 19:25:36 +00:00
John Camelon
c167ba0976 Remove infinite loop on catching Throwable/Exception in Parser.translationUnit(). 2004-06-18 19:17:29 +00:00
John Camelon
5cb25a3872 Fixed NPE in cleanup. 2004-06-18 19:00:58 +00:00
Alain Magloire
502926556a 2004-0618 Alain Magloire
Patch from Chris W. to fix PR 6606
2004-06-18 19:00:35 +00:00
John Camelon
03d8731b43 Added caching of type ID's in completeparse mode. 2004-06-18 18:54:00 +00:00