1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

26357 commits

Author SHA1 Message Date
Jonah Graham
ff8a7eb04d [releng] Add auto-generated files to gitignore
these new files are created by Tycho 1.5

Change-Id: Ibf89b40b81235f8be40b3d3bf886c9fac0a184df
2019-11-07 20:44:23 -05:00
Jonah Graham
0990aa6b06 [releng] Update tycho plug-ins to newest version
Change-Id: Ie619fc4db0dd0d2b26c5dd686545d0368e7e1fad
2019-11-07 17:43:12 -05:00
Jonah Graham
85df749bf3 [releng] Update maven plug-ins to newest version
Change-Id: Ie82be752320efe5e848dd82687dfd80af7e7259e
2019-11-07 17:42:58 -05:00
Jonah Graham
794ff1046c [releng] Migrate check_mvn_plugin_versions to Jenkinsfile use
Change-Id: I380166082841b1ba509839f49b523a2c2de23c8c
2019-11-07 17:41:24 -05:00
Jonah Graham
06c518f3aa [releng] Enforce Maven version to 3.6.0
See Bug 551674.

This commit also moves the enforcer plug-in into the correct place
to be activated

The enforcer plug-in needs to be done to allow the check maven versions
to not report erroneous/extra information too (see next commit)

Change-Id: I2da89b0a9ec0fc3dc27f0812fef53104dcaa7fd6
2019-11-07 17:41:19 -05:00
Jonah Graham
e27e94fb96 Revert "[releng] Add o.e.cdt.core.tests to cdt-ui.skip.tests"
This reverts commit 23bac92ae3.

Change-Id: I829c239f9bc46481add4c27135bed86473e41f54
2019-11-07 09:36:42 -05:00
Jonah Graham
a5a2be90e7 Bug 552745: Disable intro screen (webkit use) in tests
Change-Id: Ib97fb00cb96af34a14d89a07d88de15c276537aa
2019-11-06 17:26:04 -05:00
Jonah Graham
23bac92ae3 [releng] Add o.e.cdt.core.tests to cdt-ui.skip.tests
This was done to try to diagnose Bug 552716

Change-Id: I0e86573ff9e1fc054e66f3b69345613fcf0558c5
2019-11-05 21:44:32 -05:00
Jonah Graham
4d94b84579 [releng] Add missing *.md files to .gitattributes
Change-Id: Id49b3c47e587c865cf314cfdda97e36f4deadac6
2019-11-04 09:55:32 -05:00
Jonah Graham
fe13a037b7 Bug 542488: Disassembly support
Change-Id: I8a280fba5147ed3ebd8ecace8b943d3e5350dacf
2019-11-04 07:23:10 -05:00
akhalid8lf
6fa96ca549 Bug 551458 Fixed distortion produced by serial terminal in Ubuntu
Revert serial.dll as the change does not impact windows

Change-Id: I968a3f40e8222a46d077aa5c6fde0a19740bd0a9
Signed-off-by: akhalid8lf <abdullah.dev0@gmail.com>
2019-11-04 07:19:51 -05:00
Jonah Graham
29369a555c Bug 521515: [releng] Build o.e.cdt.native.serial natives using docker
Steps:
1. Edit and commit change
2. docker run --rm -it -v $(git rev-parse --show-toplevel):/work -w /work/$(git rev-parse --show-prefix) quay.io/eclipse-cdt/cdt-infra-eclipse-full:latest  make -C jni rebuild
3. GIT_COMMITTER_DATE=$(git log -1 --pretty=format:%cI -- .) git commit --amend -a --reuse-message=HEAD

Change-Id: I9d9a576fd2eb1c5edd874098d08564ecdfa6ba09
2019-11-04 07:19:27 -05:00
John Dallaway
412d926a24 Bug 552597: Add PEmicro definitions
Change-Id: If6a75356be914f3fc53ead1094cd78dc49998cce
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-11-01 09:36:22 +00:00
Jonah Graham
35338f28a3 [releng] Cleanup code that has been misformatted and update to SDK 4.13
The check-code-cleanliness CI jobs have not been running recently,
so this commit is to the code up to those minor changes

Change-Id: I9fb4b0213dec558f58c5ca718b3d2685564ef456
2019-10-28 13:07:02 -04:00
Marc-Andre Laperle
e391b182cb lldb: Add new version info in the comments
The main LLDB code base doesn't include lldb-mi anymore
and it means Xcode 11 doesn't include it either.

Change-Id: I1c16a2d579c40ced305a225469f91a57041ee606
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-10-26 10:29:30 -04:00
Torbjörn Svensson
092b4ed3cf [releng] Add missing Bundle-Vendor to plugins
Change-Id: I889681c4748842999b708783cb7d21a801dba02d
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2019-10-24 12:50:12 -04:00
Marc-Andre Laperle
0c577f6e7e Bug 548730 - Compilation database (CDB) language settings provider
This language settings provider lets you specify the path to the
compile_commands.json and reuses existing build output parsers to figure out all
the language entries for each file to be used while indexing. With this, there
is no need to do a full build and in fact no need to have a working build
configured in CDT for indexing to work and be fully configured. This is
especially useful for non-CMake build systems that have no existing integration
in CDT but indexing would still works with little effort.  The build output
parser (GCC, MSVC, etc) is selectable as part of the configuration of the CDB
provider. There is also an option to exclude any file that is not present in
the CDB. This option is useful for large projects in order to speed up indexing
but also to increase index accuracy (conflicting symbol names, etc).

Change-Id: If21455ec529f9e162cdf3e5aff7a1bca83e362f6
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-10-23 21:47:54 -04:00
Torbjörn Svensson
6bd29843f2 Bug 552158 - Filter out commented lines in init and run comamnds
Change-Id: I46b9af07e5ee6de2986ef7ea99be9ee6e74b84fb
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2019-10-18 19:12:57 +02:00
Marco Stornelli
42daf203a6 Bug 552076 - Fix false positive virtual method with qualified name
Change-Id: Iaf82368fce793f9c23d6e8a13d88bf57282f9ae9
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-17 17:54:34 +02:00
Jonah Graham
7a2ff27b91 [releng] Update comparator repo to last release
Change-Id: I00901808f1eda041f070b2f3e1cda076987c69a5
2019-10-17 10:07:44 -04:00
Torbjörn Svensson
e6de0c9385 Bug 551817 - Add about.html to src.includes for plugins
Change-Id: Id6e1a3c4aa94bf242efd62a28f5ca9de7d64f699
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2019-10-17 10:07:18 -04:00
Marco Stornelli
fa012eb7d4 Bug 545704 - Added checker for float comparison
Change-Id: Id5529b9bd5ee38bac5f5b7e8adab741f0bce3f8e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-17 00:58:22 -04:00
Jonah Graham
2f5f4d50a2 [releng] Bump to CDT version 9.10.0
Change-Id: I027e7e5542fda3e599ee476814593fc4b464adca
2019-10-16 10:55:28 -04:00
Nathan Ridge
02789c6a1e Bug 551689 - Fix equivalence computation for simple literals
We were using equals() on char[] array objects which returned false if
the objects were distinct, even if they contained the same characters.

Change-Id: Iff5da52c67a0c17d857d791f57e768aafa7e165d
2019-10-14 12:22:43 -04:00
Marco Stornelli
5c77776dcd Bug 550096 - Fix format function parameters in macro expansion
Change-Id: I509e434032a49a853e1794ab2d4b5a6a864eb5da
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-13 10:16:08 +02:00
Marco Stornelli
f8316e315b Bug 545977 - Added checker for variable initialization
Checker checks for multiple declarations on one line and
static variables defined in header files.

Change-Id: Ibc9670ee129e9bdd3ea58ac5409493fd99c4a234
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-13 08:29:11 +02:00
Marco Stornelli
6504d1a917 Bug 546173 - Add a check for returning of local variable addresses
Change-Id: Ief17af55c20b6e075381fa22a9208b7dfa67ec0b
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-12 09:11:24 +02:00
Alexander Kurtakov
d0d6f57a50 Move away of deprecated imageDescriptorFromPlugin.
Change-Id: I855682065fe6b40deeedc6cd7b5cb419848caac0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 08:57:51 +03:00
Alexander Kurtakov
4477ea013a Use generified databindings API.
Change-Id: I247759650ce37cc01f585b3675f848d8b209abbc
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:59:19 +03:00
Alexander Kurtakov
7cd94f8f91 Move away of deprecated IDE.getEditorDescriptor method.
Change-Id: Id7e61518276a5cf1f9395ada03c8168d1a5a0920
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:57:50 +03:00
Alexander Kurtakov
dbaf7ae694 Remove javadoc references to deprecated classes
Change-Id: I458076ccd407198e7d042bdf6f07ea5be0f87791
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:32:02 +03:00
Alexander Kurtakov
8fff462f95 Use non-deprecated command constants.
Change-Id: I637c9167149ec9137c0ae5db69528b842424984c
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:28:09 +03:00
Alexander Kurtakov
9f37660751 Navigator view is scheduled for removal.
Get rid of it in user visible places for now.

Change-Id: If887dce5de1a9a23a8fa2a55445b632b31ba6401
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:26:19 +03:00
Alexander Kurtakov
3317465cdf Do not use deprecated Boolean constructor.
Change-Id: If317ec13ca9ae0cc9ec6d4555afd0b26a402e376
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:23:13 +03:00
Alexander Kurtakov
9daf3d00e2 Remove unnecessary semicolons.
Change-Id: I4ed8830940600065d077857fd813bd38e6a5da86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:22:24 +03:00
Alexander Kurtakov
824a7cb4d1 Add missing Override annotations.
Change-Id: Ie5974aadea249a8cbc44524c297c29137ec9f4f5
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:19:14 +03:00
Alexander Kurtakov
5224c92b67 Generify Class.
Change-Id: I065b4f7c1559a141ebf2e0c82e896557a7cfc05f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:10:57 +03:00
Alexander Kurtakov
46be0de323 Generify ListenerList.
Change-Id: Iee6fcbe412f8d90004d4ecafe6fa3e7513900971
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-10 22:55:40 +03:00
Alexander Kurtakov
5690cf3738 Move to non deprecated templates classes.
Change-Id: I54561f5ad5b7cd7726c0e5e1863a0603f46d7dd8
2019-10-10 22:52:34 +03:00
Alexander Kurtakov
d9cf1e1e2b Generify ArrayList.
Change-Id: Icb3dfc7fb8519a4d25f08c3dabce4a8b073dd880
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-10 22:33:11 +03:00
Alexander Kurtakov
8ba5a7191f Migrate to ViewerComparator.
Change-Id: I5b70806ca7376797e387164158a0c41d52b59cb5
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-10 22:20:44 +03:00
John Dallaway
b7e1fb466d [releng] Update baseline to released 9.9.0
Change-Id: I9c21443edca8156851d91b05f8da33946a408ed2
2019-10-07 17:13:19 -04:00
Marco Stornelli
a781cdf342 Bug 343274 - Fix VariableReadWriteFlags errors
Read and write flags weren't correctly set for array access.

Change-Id: I2c54b270895514f3681903709498aa9344a5bc7e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-06 09:32:08 +02:00
Marc-Andre Laperle
a71a413500 Use SafeRunner in LanguageSettingsProviderTab
If an option page contributed by an extension throws an exception,
then none of the other pages get created. It is better to use a
SafeRunner when in such case where plugins could break other things
than its own functionality.

Change-Id: I531c966be8ef6460a838b3d10bc61dcbdbe627b0
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-10-03 23:16:18 -04:00
Marc-Andre Laperle
4e16631f30 Bug 360919 - [MSVC] preprocessor symbol __STDC__ always defined
Move the __STDC__ macro to the scanner configuration extension, where we can
differentiate compiler type. Only add it when compiler type is not MSVC.
This will miss the case where MSVC is compiling in C mode and /Za is used,
then __STDC__ should be defined but this is a much less common case and would be
addressed likely outside scanner configuration.

See also
https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros

Change-Id: Icc5d3ef038fb468efe33802a04fc78fc1e5e583e
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-10-03 23:14:32 -04:00
Jeff Johnston
232e3d7153 Bug 551089 - Builds with libraries having spaces in the name fail
- add new checkIfQuotedOption() method to GnuMakefileGenerator
- have ensurePathIsGNUMakeTargetRuleCompatibleSyntax() look to
  see if the path is actually an option with path in which case
  if it is quoted, do not try to escape white space

Change-Id: I67a286962ba67acb75d1f8c29cac47069ab07353
2019-10-03 15:19:19 -04:00
Hannes Vogt
b52b03a9bc Revert "Bug 549362 - Aggregate init for union-like classes"
This reverts commit 9a6fd2ab97.

A proper implementation is needed to resolve bug 551610.

Change-Id: I1ea353ea905a33dc43ceda59dde93c15de2032cd
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-10-02 07:51:46 +02:00
Hannes Vogt
944ec0e06e Bug 549367 - [C++17] Aggregate init of base
Implements http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0017r1.html:
Types with non-private, non-protected, non-virtual base classes can be
aggregate initialized.

Change-Id: Idad341d45d6aaf1d8c36691cf8d7bc7cd049e28b
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-09-26 00:12:11 -04:00
Hannes Vogt
aee38fb062 Bug 549036 - Init Type(std::initializer_list) from Type{...}
Fix constructor calls of the form Type{...} to a constructor of
the form Type(std::initializer_list<T>).
So far only Type({...}) was supported.

Change-Id: I09e3b8c9c73c30e12c0c370a5c88885079a14746
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-09-24 01:03:27 -04:00
Jonah Graham
cf7e1f87c9 [releng] Update to stable repository for help docs eclipse run location
Change-Id: Iecd4a82fca35904741c78e43e20032a6f4d639b0
2019-09-23 11:00:57 -04:00