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

2601 commits

Author SHA1 Message Date
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
Bogdan Gheorghe
ada2d52b6c Fix for Bug 66933: [Selection Search] Working set name is {0} in search results 2004-06-18 18:03:47 +00:00
Andrew Niefer
38230067bd better error reporting to the callbacks around the base specifier 2004-06-18 16:02:54 +00:00
John Camelon
59f4a03242 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=67834. Thanks to Dave for the JUnit test. 2004-06-18 15:49:21 +00:00
Andrew Niefer
0454da5130 bug 67680 - better error handling around problems in the base clause specifier
fixes class cast exception
2004-06-18 15:25:56 +00:00
Hoda Amer
77483762af Patch for Tanya 2004-06-18 13:58:45 +00:00
Bogdan Gheorghe
518cc7a686 Part 2 of Fix for Bug 62668 2004-06-18 11:56:07 +00:00
Bogdan Gheorghe
564b89c196 Partial Fix for Bug 62668: [Search] Search results rely on case of file names in include statement
rather then the filesystem
2004-06-18 11:44:12 +00:00
Alain Magloire
f7dc9972f5 Patch from chris wiebe for PR 65154 2004-06-18 03:30:22 +00:00
Alain Magloire
ff1459685f the method getCDescriptor(IProject, boolean)
should check if the file exists.
2004-06-18 03:27:15 +00:00
Doug Schaefer
8a05f34b0b Scanner2 - lots of little things trying to properly scan windows/stdio/iostream. 2004-06-17 21:27:37 +00:00
Andrew Niefer
daea0331a2 67358 - F1 help 2004-06-17 20:26:13 +00:00
Hoda Amer
5da7eab400 Bug Fixing 2004-06-17 19:36:03 +00:00
Alain Magloire
d52cb5e624 2004-06-17 Alain Magloire
Changes from Chris Wiebe to deal
	with the memory consumption.
2004-06-17 19:20:08 +00:00
John Camelon
954d5b8b45 Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=67634 2004-06-17 18:44:38 +00:00
John Camelon
67ad3bb4b0 Fixed ClassCastException in CompleteParseASTTest. 2004-06-17 17:29:12 +00:00
John Camelon
6f1acede84 Patch for David Daoust - Fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=67622.<BR>
Also added 2 JUnit tests to verify.
2004-06-17 16:11:07 +00:00
Hoda Amer
2b26b06747 Bug Fixing 2004-06-17 15:28:42 +00:00
Doug Schaefer
e92ee9c4db Added undef support, including remove method for CharArrayMaps. 2004-06-17 15:25:34 +00:00