1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 06:45:43 +02:00
Commit graph

1364 commits

Author SHA1 Message Date
Andrew Niefer
7bc8d33c1a fix bug 66744 2004-06-11 19:47:57 +00:00
Andrew Niefer
75fee20f69 fix bugs 43063 & 43498 2004-06-11 18:29:03 +00:00
Alain Magloire
79438408a9 The IncludeEntry LibraryEntry getFullIncludePath()
was returning the wrong values sometimes.

	* model/org/eclipse/cdt/internal/core/model/IncludeEntry.java
	* model/org/eclipse/cdt/internal/core/model/LibraryEntry.java
	* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
2004-06-11 16:46:46 +00:00
Andrew Niefer
7858f60f7e fix for bug 64986 - handle containers in CSearchScope 2004-06-10 20:46:57 +00:00
John Camelon
dc9f25b601 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=60264 2004-06-10 19:33:38 +00:00
John Camelon
b7caa59093 Removed more warnings. Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=66543. 2004-06-10 18:51:47 +00:00
David Inglis
47dd3dc302 last changes for runtime.compatiblity dependency removal 2004-06-10 17:38:50 +00:00
Hoda Amer
6ffa80bd87 Bug Fixing 2004-06-10 14:36:45 +00:00
Alain Magloire
cccc50485c Patch from Sam Rob to resolve 64022 2004-06-10 00:06:15 +00:00
Alain Magloire
8e45e1973c Make sure to run the PathEntryContainerInitializer.initialize()
once.
	* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
2004-06-09 21:45:03 +00:00
Andrew Niefer
8d55216fb7 fixing bug 65114, NPE in getParentClassSpecifier(), caused by template
lookup issues in the class base clause
2004-06-09 21:33:50 +00:00
Hoda Amer
e7bd887fae Bug Fixing 2004-06-09 18:17:03 +00:00
Andrew Niefer
e9c5a2b928 fix NPE for 65114. When returning references to the cache, we should also
remove them from the list they are in, so that we never try to return them
again (potentially after they had been reallocated)
2004-06-09 15:45:31 +00:00
David Inglis
de67e84c2f cleanup warnings 2004-06-09 13:43:05 +00:00
David Inglis
95eca12e8f new ICDescriptor method getDescritor(IProject project, boolean create) 2004-06-09 13:42:01 +00:00
David Inglis
1d2f0a957b I18N patch from Tanya Wolff 2004-06-09 12:37:56 +00:00
Alain Magloire
6ba0814133 Quick workaround for PR 57287.
* model/org/eclipse/cdt/core/model/CoreModel.java
2004-06-09 02:30:29 +00:00
Andrew Niefer
5ebfc42760 bug 49990 - strings for GCC expression extensions 2004-06-08 19:23:47 +00:00
Alain Magloire
c013ff1910 Patch from Dirk Dörr.
* utils/org/eclipse/cdt/utils/elf/Elf.java
2004-06-08 19:08:52 +00:00
John Camelon
8b2e0e8b4d Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65555 2004-06-08 17:57:37 +00:00
David Inglis
695c51bc99 update problem label 2004-06-08 15:55:37 +00:00
Alain Magloire
b2b0ddb9b9 Fix for PR 64090 2004-06-08 03:23:38 +00:00
Alain Magloire
eea5bdc2c8 Fix for PR 65633 2004-06-08 03:02:01 +00:00
Alain Magloire
74c63e682b Check the BaseRef when saving 2004-06-07 20:54:06 +00:00
Alain Magloire
97ade06599 Synchronized the retrieving of the PathEntryContainer 2004-06-07 20:43:13 +00:00
Hoda Amer
c6b58b792f Bug Fixing 2004-06-07 19:39:07 +00:00
Andrew Niefer
5a66875392 bug 49990 - ASTUtil.getExpressionString( IASTExpression )
- created ASTUnaryIdExpression classes
- improved handling of POSTFIX_TYPENAME_TEMPLATEID expressions
- modified handling of initializer clause for new expressions
- expression toString() functions use ASTUtil
2004-06-07 19:25:24 +00:00
Alain Magloire
cd32934c10 Fix for PR 65524
* src/org/eclipse/cdt/core/internal/filetype/ResolverModel.java
2004-06-07 17:19:37 +00:00
John Camelon
69a1d5f73d Moved KeywordSetKey to public interface.
Updated ParserFactory to allow querying upon different KeywordSetKey's.
2004-06-06 17:20:54 +00:00
John Camelon
da96e2c080 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=64268 2004-06-06 05:07:12 +00:00
John Camelon
a549ff4f27 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65569 2004-06-06 04:23:22 +00:00
John Camelon
15e615de07 Fixed translationUnit exception handling to allow ParserErrors to propogate out. 2004-06-06 03:36:52 +00:00
John Camelon
cd01f65fe6 Removed warnings that Doug introduced. 2004-06-06 03:19:38 +00:00
Doug Schaefer
608ab71cce Got rid of the break we added to translationUnit which ended up bringing
untimely endings to the parse. Also added a fix for Dave to nextToken in
the scanner which resulted in the massive increase of char[]s.
2004-06-05 02:47:08 +00:00
Doug Schaefer
a206e32d2a Changed the interface to the Scanner to take a CodeReader object.
A CodeReader simply contains a char[] and the name of the file, if any,
that the char[] is the contents of. This leads us down the path of using
char[]s in the parser instead of Strings in an attempt to cut down on
our memory usage.
2004-06-04 21:01:48 +00:00
Alain Magloire
a9c11b6167 Potential deadlock in CElement.getElementInfo()
We can no longer synch on CModelMager.  We need
	to do some fine grained lock for the LRU caching.

	* model/org/eclipse/cdt/internal/core/model/CElement.java
	* model/org/eclipse/cdt/internal/core/model/CModelManager.java
	* model/org/eclipse/cdt/internal/core/model/Openable.java
2004-06-04 17:38:44 +00:00
Andrew Niefer
88bb7ba72b better cleanup after recursive template loop. 2004-06-04 15:39:39 +00:00
John Camelon
effb8b9fdb Patch for David Daoust -Optimize the scanner to not tokenize the macro parameters if the expansion is null. 2004-06-04 15:30:09 +00:00
John Camelon
f8ede5731b Patch for David Daoust - remove all instances of sub-Scanners in the scanner. Performance gains abound. 2004-06-04 14:27:46 +00:00
Andrew Niefer
b6aed83db2 fix bug 64939 - recursive loop 2004-06-03 18:48:17 +00:00
John Camelon
c3338eda94 Updated Parser.translationUnit() to catch all Throwable rather than Exception 2004-06-03 18:23:56 +00:00
John Camelon
a3995849f5 Put a public interface on accessing KeywordSets in ParserFactory.<BR>
Added preprocessor directives to KeywordSetKey.ALL.
2004-06-03 17:59:43 +00:00
Alain Magloire
9ca9d91f64 The Elf class should not depend of GNU
binutils tools like Addr2line or CPPFilt
	It is an Elf Parser and the needs of those tools
	are now part of IBinaryParser class
	* utils/org/eclipse/cdt/uitls/elf/AR.java
	* utils/org/eclipse/cdt/uitls/elf/Elf.java
	* utils/org/eclipse/cdt/uitls/elf/ElfHelperjava
	* utils/org/eclipse/cdt/uitls/elf/parser/ElfBinaryObject.java
2004-06-03 16:02:20 +00:00
David Inglis
4d51a02662 add throws CoreException on getStream.... 2004-06-03 15:16:56 +00:00
Alain Magloire
d12ebf93d3 Catch IndexOutOfBound 2004-06-03 02:57:51 +00:00
John Camelon
1193d6341a Fixed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=47752 <BR>
Fixed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=64321
2004-06-03 00:38:37 +00:00
John Camelon
d0c897c1e9 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=61603 2004-06-03 00:17:30 +00:00
John Camelon
33a07a1b47 Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=64318 2004-06-02 23:48:40 +00:00
John Camelon
fb57293d47 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=52988 <BR>
Moved KeywordSets.Key to its own class and thus removing the dependency between the Scanner/Parser to the static Keyword Set tables (improves footprint).  <BR>
Updated CompletionEngine to not set the parser timeout if the value entered is <= 0 (to allow for easier debugging and profiling).
2004-06-02 23:14:20 +00:00
John Camelon
5a685e501f Fixed concurrent parse issue w/TypeId singleton. 2004-06-02 18:17:55 +00:00