This allows symbol reading on larger executables without
hitting an out of memory error
Note: this should not close the bug, it is just a first step.
Change-Id: I62bb252ff67d88d9bef686760fdc0e9b8240fd02
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
There are two ways of specifying fonts in the terminal,
one via font definitions, and one via the font directly. The
method via the font directly was already deprecated in the public
API, this commit follows that deprecation chain through to
make it easier to identify which code paths are not likely
relevant anymore.
These methods could simply be removed as part of the major version
bump.
Change-Id: I05d746c429c4e6c3ced5ee7bb7a6172e0a255c2d
For example, you can use ${ProjDirPath}/buid/compile_commands.json
which is a more sharable setting
Change-Id: Ic51775ea1f7d258c55e2e720c94f626a17444744
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
GC.getForeground / Background always create a new Color object,
so this if expression was always true.
Change-Id: Ief4ccaf1adb70967301411b012c0474608f425cb
The inconsistency of lower case and upper case in the internal
representation of the colour names made it harder than it should be
to find where colours are used in the code.
Note that the SytleMap creates lower and uppercase entries for each
colour.
Change-Id: I16b4ebe4a97adecd01f835319aa0f0d175ae3bb6
Switched from "org.eclipse.cdt.core.options" to
"org.eclipse.core.runtime.preferences"
Change-Id: Ie01d955079a7a54875270bb2d259c9232d30e7ea
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
As part of the rebuild of the infra images to get new Java 11, we
also got updated compilers that generate some different bytecodes
for the native libraries. This commit brings things up to date.
Change-Id: I1039a5e19172092353dc4e1ea7de1381c031d280
Add tests for PlainTextImport/PlainTextExport
Add tests for RAWBinaryImport/RAWBinaryExport
Add tests for SRecordImport/SRecordExport
Change-Id: I4e489498dd6fb451621785743284a31a2f57516f
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
CDT has two representations for a pointer type wrapped in a
qualifier type: it can be an IPointerType with some qualifiers
set on it directly, or an IPointerType wrapped in an
IQualifierType. (We prefer the first representation to avoid
creating too many wrappers, but sometimes the second one arises
during template instantiation.) This patch makes sure that two
such types can compare equal even if they use different
representations.
Change-Id: Ia8c7d227c74378aae74f04545b9a69103c14e74b
The following changes are done to make the implementation headless and
testable:
* Reworked FileExport to implement base flow
* Extracted PlainTextExport extends FileExport
* Extracted RawBinaryExport extends FileExport
* Extracted SRecordExport extends FileExport
* Reworked related i18n
Change-Id: Ica1057e0b628c2f17b5e588cd9b0524b5b7a400d
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
The CDT Arduino plug-ins and features have been removed. Arduino can
still be used with CDT with manual maintenance of packages, etc. Or
a third-party add-on such as Sloeber can be used as a replacement.
Change-Id: I2f8c96e932ce87e1baed91d5eb78de05f3fb4bee
This commit on its own fails cleanliness, but is separated out
to make review easier. The subsequent commit is the result of
cleaning the code with the script
Change-Id: Ibaddc2f338f14fbe60662acc8cb272b584a1a828
The following changes are done to make the implementation headless and
testable:
* Reworked FileImport to implement base flow
* Added ImportRequest to aggregate operation configuration
* Extracted PlainTextImport extends FileImport
* Extracted RawBinaryImport extends FileImport
* Extracted SRecordImport extends FileImport
* Extracted FileImportJob
* Added ScrollMemory to interact with UI
* Added WriteMemoryBlock to isolate from UI class BufferedMemoryWriter
* Reworked related i18n
Change-Id: Ibd68c0e345e9455f5f8a2e1be673ddac5eb9a9b1
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
The position of namespaces didn't take into account because the
declaration doesn't exist yet when we use this kind of refactoring,
so the find method of MethodDefinitionInsertLocationFinder didn't
look for namespaces.
Change-Id: I839194879c41f86653c837ca83a306ea1840c1d0
Added "org.eclipse.cdt.debug.core.memory" bundle with a stub abstract
class to be improved in the future commits
Change-Id: I14136379d8e595b7af36084cff8711d1d50a0a28
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
The fields are not used outside of the loadSymbols section,
and they are written before being read, so they should be safely
inlineable.
Change-Id: I68388227074d80ace283395b48c88c59700dd9da
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Make explicit the decisions to push down to providers to
populate configuration by checking if descriptor supports target. Make
explicit the delete/reset logic by a new method on the interface, as
opposed to checking if the descriptor is an instanceof
DefaultDescriptor. This enables descriptors which support targets, and
can be deleted.
Change-Id: Id4e3126a70d8cb091d4520acf5d21c5205e0c745
Signed-off-by: Tad Adams <tadams@blackberry.com>
Some heuristics in skipToStatementStart require knowledge of previous
token. It is initialized with value from a fToken, but it current value
may be invalid because looksLikeMethodDecl changes fPossition value
without adjusting a fToken. Using invalid value may lead to false
triggering of heuristics. Restore fToken value when change fPossition in
looksLikeMethodDecl to prevent this.
Change-Id: If0c2c0577c89a983e1479587409f293c3d0db7be
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
Switched to
https://download.eclipse.org/eclipse/updates/4.16milestones/S-4.16M1-202004090200/
Added 2020-06 repository list to CDT.setup - let's keep 2020-03 for a
while as a fallback option until things are converged for 2020-06 stream
Change-Id: I7ec32e9897731d9093c5e88aeb618ab33ff5e6b2
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
A function call may be mistakenly interpreted in looksLikeMethodDecl()
as a method declaration. This was due to simplified processing of
functions with a scope qualifiers in the name.
Now methods with a scope qualifier are handled similarly to methods
without them.
Change-Id: Id3075d3387fdf9c4ae2d0dffa6cdf923fd1ef9d5
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
Scanning of double char tokens (::, >>, >=, <<, <=, ->) is broken in
nextToken(). In each case, peekNextChar() was used to get second
character, but scanner position was already on second char and
peekPreviousChar() need to be used.
Change-Id: Ibd447c7cde8783e8ffe547d5f9bc09d11c1c60a7
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
Switch to JVM classes
Remove commented code from
CProjectDescriptionManager
Change-Id: I53431ba1d5c015b3192fff7249c73e816b8b49ea
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>