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>
Replace under_score with camelCase for private non-api fields
Change-Id: Ica0dece19aaaf79d979588266f4c9552ea6d1224
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
The syms field is only set and never read outside of getSections.
It can safely be removed.
Change-Id: I40be61c4d6fab0131bd47134fc444b4306f8b322
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
The modifiers should be public static final.
Change-Id: Iaaede29a68891ab8aeb297b08db78ac13acbc1b8
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Test on X86-64, i386, ppc64 and ppc32.
Add Elf compiled executables to resources folder in order to ensure address coherence.
Change-Id: Ie85636c9732cc41b6e5505ecf7acc783644bb442
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Clean-up Activator class, may be filly removed after TemplateExtension
rework.
Logging code should be less verbose after merging of
https://git.eclipse.org/r/#/c/160386/
Change-Id: I502e14ac40b3ae5d3850b195f9ad9177bfae5536
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Replaced "org.eclipse.tools.templates.freemarker.internal.Activator"
with "FMGenerator"-local code to determine pluginId for IStatus creation
Change-Id: Iaff6d51b09de225d6d2c657e83e36ac8418f62b3
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
When using -ffunction-section, each function is placed in it's own
section name. For example the main() function would be placed in
.text.main, so the pattern looking for undefined references needs to
allow the extra dot there.
Since C++ will use other symbols than what's included in \w, lets allow
everything except a + sign and whitespace.
Change-Id: I66d9ee7d8cbc0a405e60d7cdeb43c38b30107245
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Clean-up "org.eclipse.cdt.codan.checkers.ui.tests" test bundle
Change-Id: I0f5198cc85c85b0829f5a73574cec54f152ba0cf
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>