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.
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
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
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
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).
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
to decide of the syntax of the CEditor.
* src/org/eclipse/cdt/internal/ui/editor/CEditor.java
NPE in the CSourceHover.
* src/org/eclipse/cdt/internal/ui/text/c/hover/CSourceHover.java
Made all users of getChar in the scanner call getChar(boolean) directly
to remove the extra call to getChar(void). Merged readFromStream in as well.
Finally, I have remove the trigraph code to remove the checks for every character.
A bug will be raised to reimplement this functionality elsewhere.