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
c390aa43bf
Update speed test to show token count.
2004-06-05 02:20:22 +00:00
Alain Magloire
272ee95ac1
Do not show includes/libraries Container if they no children
2004-06-05 01:36:01 +00:00
Alain Magloire
1e489f25e0
Fix for PR 60650
...
* src/org/eclipse/cdt/ui/wizards/NewClassWizardPage.java
2004-06-04 21:57:38 +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
157f44eef3
Submitted tests to validate fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=61972
2004-06-04 15:03:15 +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
Alain Magloire
0041b93111
Fix for PR 64197 60906
...
* src/org/eclipse/cdt/ui/dialogs/BinaryParserBlock.java
2004-06-04 02:27:14 +00:00
Alain Magloire
df3c06eb4b
Again the problem:
...
Eclipse filename association with editors is done strictly via
the plugin.xml(and Preference Page).
The CDT is ship with a sensible default i.e. *.c, *.h, *.cpp etc ..
We use an hack in EditorUtility.getEditorID(...)
To change this behaviour for the CView and the
COutliner.
Added support for DoubleClick to open a header
in the outliner.
Related PRs: 64834, 44363
2004-06-04 02:05:39 +00:00
Doug Schaefer
18ef4dfec9
Update to the speed test.
2004-06-03 19:38:06 +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
2989ee4537
fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65564
2004-06-03 15:52:16 +00:00
David Inglis
4d51a02662
add throws CoreException on getStream....
2004-06-03 15:16:56 +00:00
Alain Magloire
965f0a205d
Patch from Sam Rob, fix for 64783
...
* src/org/eclipse/cdt/internal/ui/preferences/CFileTypesPreferencePage.java
* src/org/eclipse/cdt/internal/ui/preferences/CFileTypesPropertyPage.java
2004-06-03 14:42:21 +00:00
Andrew Niefer
6ceb2d0ee8
bug 65477
2004-06-03 13:45:11 +00:00
Doug Schaefer
34bb8dd348
Added a speed test so that I can track the progress of the parser performance work.
2004-06-03 12:53:47 +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
Andrew Niefer
47cf73d0b6
guard against possible NPEs
2004-06-02 21:40:22 +00:00
Andrew Niefer
29789baba4
bugs 60318 64739
2004-06-02 21:22:37 +00:00
Andrew Niefer
390e03694a
fix NPEs (bug 65145)
2004-06-02 19:09:25 +00:00
John Camelon
5a685e501f
Fixed concurrent parse issue w/TypeId singleton.
2004-06-02 18:17:55 +00:00
John Camelon
bf8c96a8b1
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=64271
2004-06-02 17:39:45 +00:00
Bogdan Gheorghe
3f2cd224a1
Fix for Bug 61241 - [Search] Closing the Search view mid search causes an error
2004-06-02 17:20:01 +00:00
Alain Magloire
a354b64c58
Wrong label
2004-06-02 15:48:29 +00:00
John Camelon
3394347e31
Further caching in the CompleteParseASTFactory.
2004-06-02 14:53:20 +00:00
Alain Magloire
cab2547573
Format the source Hovering better.
...
* src/org/eclipse/cdt/internal/ui/text/c/hover/CSourceHover.java
* src/org/eclipse/cdt/internal/ui/text/c/hover/SourceViewerInformationControl.java
2004-06-02 02:32:10 +00:00
Andrew Niefer
0cbc0f095d
fix warning
2004-06-01 21:55:13 +00:00
Andrew Niefer
cb4ec57f90
Make the TypeInfoProvider non-static
2004-06-01 21:52:40 +00:00
John Camelon
cb8b2e2d42
Fixed Andrew's latest template test.
2004-06-01 21:25:23 +00:00
John Camelon
20a1cd8f35
Pooled class and variable references.
...
Cleaned up ASTFactory construction.
2004-06-01 21:11:08 +00:00
Alain Magloire
8ef916c2ff
IndexOutOfBound Exception fix
2004-06-01 21:11:00 +00:00
David Inglis
cad6860ec1
use monitor passed in
2004-06-01 20:26:01 +00:00
Andrew Niefer
441bdd65c8
fix up handling of defered template instances (a better fix for 64919)
2004-06-01 20:16:15 +00:00
Alain Magloire
d7be8043d6
oops typo!!!!
2004-06-01 19:37:47 +00:00
Alain Magloire
37f1e5f996
2004-06-01 Alain Magloire
...
A release of the CDT was distributed with
a typ "ELF" instead of "Elf" we provide
and extension point pointing back to "ELF"
parser for backward comp. But ignoring
it in the UI.
* src/org/eclipse/cdt/ui/dialogs/BinaryParserBlock.java
2004-06-01 19:33:10 +00:00