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

26086 commits

Author SHA1 Message Date
Marco Stornelli
3113871624 Bug 543947: Fix exception while formatting macro
Change-Id: If3e1a4da919c4e7f78ca4506e97ea1f6f37f7c8c
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-06 19:08:17 +01:00
Marco Stornelli
f28b158828 Bug 540252: Fix formatting operator< with explicit instantiation
A space must be forced in this special case even if preferences
say something different.

Change-Id: Ie43b988139913f87590f4f1460d28e79f9bd7ef8
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 13:52:07 -05:00
Felix Morgner
659432f7e2 Bug 544535: Buttons in "Explore Macro Expansion" are not active
Refresh the toolbar buttons after registering the command handlers, to
make sure that they are active.

Change-Id: Ibee71a54fff7be0325257d25247e4e73f8b09b2e
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=544535
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2019-03-04 16:17:23 +00:00
Marco Stornelli
97e18b4b31 Bug 544980: Added a checker for using directive in header file
Change-Id: Ic77fd2f7504e7a6cc4e15a2fdeb507724db9e74f
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 09:36:50 -05:00
Marco Stornelli
5ac0c37e6b Bug 406231: Fix exceptions while formatting template id in macro
Fix a couple of exceptions in formatter flow during operations on
template id in macro.

Change-Id: I768c29e1bd24b1336423b298a22b4016eb96e9c3
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 08:09:25 -05:00
Marco Stornelli
04cc77cf2a Bug 278903 - Do not format any code in inactive regions
Not active regions of code may not be formatted.

Change-Id: I3796bd84bf4101cec55ef9f35f9703e8bc46092e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 05:41:56 -05:00
William Riley
2d29c1683e [releng] Set baseline to fixed repo
Change-Id: I5cd45335dd95b0a0b930c1fdea73572c53b42d78
2019-03-04 03:16:40 -05:00
Jonah Graham
cdc99feef2 [releng] Bump version to 9.8.0
Change-Id: I3861d4c5d0eecaf9dd370f269a655e666b60561a
2019-03-01 13:25:21 +00:00
Jonah Graham
481e4f13f0 Bug 544944: Add a description for new Arduino Project
and fix wording of makefile project. These are to take
advantage/improve based on new platform feature:
https://www.eclipse.org/eclipse/news/4.11/platform.php#onboarding-text
which was done in Bug 543746

Change-Id: I4b6c5812adbf0c94e7dd60c80b5150f524e065e5
2019-03-01 11:29:10 +00:00
Hannes Vogt
1370c76c38 Bug 544681 - Support for template<auto...>
Change-Id: I059d69ee86603c1aed95eeed1be61b915df6e3ed
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-03-01 01:46:08 -05:00
Nathan Ridge
4a35647d1f Bug 544509 - Evaluation of negative integer cast to unsigned
Change-Id: I683045870eca5f1b013afddbc0938df2aef779c2
2019-02-28 20:45:43 -05:00
Jonah Graham
783af3dee6 Bug 544721: Increment version following new standard
See https://wiki.eclipse.org/CDT/policy#Version_Numbering

Change-Id: Icac4c041d2ea1178ab40bd97531d014c4be22675
2019-02-26 09:04:57 +00:00
Jonah Graham
1d5fb2f299 Bug 543353: Increment version following new standard
See https://wiki.eclipse.org/CDT/policy#Version_Numbering

Change-Id: I5632125e6b5709336c8f4b319ce244cc1535b67d
2019-02-26 09:03:49 +00:00
Hannes Vogt
d42c60b651 Bug 543038 - Addition to brace elision for aggregate init
- getNestedType for typedefs
- check aggregate initialization in EvalTypeID

Change-Id: I04ab2088c85373007312f7a419eb508ab53f69c8
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-02-25 17:25:04 -05:00
Marc-Andre Laperle
c626ede917 Bug 543958: CDT Standalone debugger crashes on startup
org.apache.felix.scr now needs a start-level.

See also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=538729

Change-Id: Ia6f83a93449aeb32566be8893237e4bd2842b462
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-02-24 16:19:56 -05:00
Toni Suter
182de94259 Bug 544470. Fix code formatting of switch with controller declaration
Change-Id: I0d18b5767503e6bb3d137c9950b023f5c5084bd8
Signed-off-by: Toni Suter <tsuter@hsr.ch>
2019-02-22 10:01:29 -05:00
Philip Langer
90c82078ac Bug 544721 Retain rebuildState state when cloning build configs
When cloning build config, all its childrens' rebuildState and dirty
state are maintained except for the states of AdditionalInput and
InputOrder.

With this change, we also retain their rebuildState and dirty state,
if it is a clone (that is, copyId is true in the InputType).

Change-Id: I63b2d38d0065e50357887bfccb340d458d2f4441
Signed-off-by: Philip Langer <planger@eclipsesource.com>
2019-02-22 14:52:52 +01:00
Felix Morgner
2272a74f38 Bug 520117: [C++14] Return type deduction deduces wrong type for
parenthesized expressions in return

This patchset fixes 520117 and adjusts the value category of expressions
of kind E1.E2 to be standard (DR616) compliant.

Change-Id: I9a5cde805f2d0b39a2d263dbc3dcbefd3ba21930
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2019-02-22 03:29:05 -05:00
Hannes Vogt
0757b45da5 Bug 543038 - Implement brace elision for aggregate initialization
Change-Id: I72e92c8c196bf201c8edfde64598a7318d2fdfeb
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-02-19 18:38:05 -05:00
Bassem Girgis
d8c2330efe Bug 509751 - Process function template with non-dependent return type in ReturnChecker
Change-Id: I8274affff8152dba35233a06cd8cdaef39cf00bb
Signed-off-by: Bassem Girgis <brgirgis@gmail.com>
2019-02-19 18:15:19 -05:00
Marco Stornelli
a6d06902b1 Bug 496249: Tags for disabling/enabling CDT code formatter
Change-Id: I4389c61612da6a4ee0011a49d6aeed7b52152436
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-02-19 20:49:58 +00:00
Felix Morgner
f60bbf25dd Bug 544539: Codan requires universal resolution from plugins
Change-Id: Ia7da2450d90e644d270928dacb86a2c470982c10
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=544539
Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
2019-02-19 09:10:36 +01:00
Marco Stornelli
8fe6bbb70e Bug 544516: Format edited lines as save action
Change-Id: I988eb34c433aa121ce2afb1da51984ab4fb24b09
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-02-17 19:08:29 +00:00
Jonah Graham
9465c8bd50 [releng] Update baseline to CDT 9.6
Change-Id: Ia4d74f82002dfd51d471799f2e9e4229d0201143
2019-02-17 16:46:08 +00:00
Simeon Andreev
db1326bbb3 Bug 543129 - NPE in GdbFullCliConsolePage.dispose()
With the fix for bug 536677, disposing a org.eclipse.ui.part.Page will
dispose also its site.
org.eclipse.cdt.dsf.gdb.internal.ui.console.GdbFullCliConsolePage.dispose()
calls super.dispose() and then accesses the page site, which results in
a NPE.

This change changes the order of disposal to the natural order,
extending class first and then the super.

Change-Id: I853c8c426b9ea4e1403cd9af34f9878f6379f72a
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2019-02-14 16:12:39 +01:00
Simeon Andreev
31b4c257b1 Bug 509263 - Fix warnings for missing enablement expression on start-up
This change adds empty enablement expressions where they are missing, in
order to prevent start-up warnings such as:

Enablement expression is missing for config provider for
org.eclipse.cdt.debug.core.coreBuildDescriptorType

Change-Id: Id7f2b6149230ddde24764772c5b67ff5eef28b65
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2019-02-07 13:00:41 -05:00
Jonah Graham
ec54cf7241 Bug 544244: Stop using deprecate code from LSP4E
Change-Id: Ie82af8a2af56870cafcfd332166942d8080aab26
2019-02-07 16:53:02 +00:00
William Riley
18f9dff1e6 [releng] Update to newer launchbar
Change-Id: If646733d1a0fa17f13bfa1cc951ff08cabe69190
2019-02-04 11:59:44 +00:00
Nathan Ridge
9290546e2f Bug 543819 - NPE in EvalFunctionSet.isEquivalentTo()
Change-Id: I4f443f95c1a9bff7150abec323ab8afc576d5f00
2019-02-01 22:54:53 -05:00
Hannes Vogt
e5466b8204 Bug 543913 - False negative in ctor with wrong arguments
Change-Id: I3a9c692383c5c9d8c465d9ecbc66463b39d5199d
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2019-02-01 07:18:02 +01:00
Jonah Graham
740496c20f [releng] Update to newest jacoco-maven-plugin
Change-Id: I536630ac5a465afe845f9fe5287c2c6f88a531b8
2019-01-27 16:32:20 +00:00
Jonah Graham
0439368bc9 [releng] Bump version number of p2 repo
This should have been done at the same time as commit:
  677cc2cf63

Change-Id: I1e811eba3882ea0ed08d16fdb828994e153c784a
2019-01-18 10:48:23 +00:00
Jeff Johnston
fb5f9ca93b Bug 543353 - CDT TestModelManager setTestingTime requires null check
- add check for null in TestModelManager.setTestingTime()

Change-Id: Ideac81dcc4a1584f6be4088bbe410436f1c010db
2019-01-10 18:57:56 -05:00
Mat Booth
99938437f4 Bug 543299 - Standalone debugger gives GTK+ 2 warning on startup
Remove the GTK version parameter from the product definition.

Change-Id: I923d757d94c791f4f0a5f40a1f16ef810896ac97
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2019-01-09 10:39:52 +00:00
Waqas Ilyas
a05bc1a576 Bug 542849: List serial devices starting with ttyS
Change-Id: I874bdebaec7a04257a81aea4c8419f3a783cdf12
Signed-off-by: Waqas Ilyas <waqas.ilyas@gmail.com>
2019-01-08 15:14:07 -05:00
Jonah Graham
4ed5a2ab13 [releng] Update target platform URLs from milestones to releases where possible
Change-Id: Ia8815a861ab25ebce516dbe3d000388c66f7566c
2019-01-08 18:47:48 +00:00
Jonah Graham
934fa19482 Bug 540978: Rename identifiers and some other places to o.e.cdt.lsp
Change-Id: I6edbbb2cf103010bbc67ea0140bfec694652a685
2019-01-04 13:07:38 +00:00
Jonah Graham
1c595b1187 [releng] increment service segment by 100
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment

Change-Id: I1d1a2ec8eccb1a00272c5e1db7b4bc4919cd9f0a
2019-01-04 09:58:21 +00:00
John Dallaway
cb80708cb0 Bug 543149: Report download progress during launch
Change-Id: Icf3545f600b91bc80827cec920fc10a0668ca0f1
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-01-03 17:02:06 +00:00
Alexander Kurtakov
90dd1e77f9 Fix startup warnings from launchbar descriptors.
ENTRY org.eclipse.launchbar.core 2 0 2018-12-21 21:41:37.864
!MESSAGE Enablement expression is missing for descriptor type
org.eclipse.cdt.debug.core.coreBuildDescriptorType

!ENTRY org.eclipse.launchbar.core 2 0 2018-12-21 21:41:37.866
!MESSAGE Enablement expression is missing for config provider for
org.eclipse.cdt.debug.core.coreBuildDescriptorType

!ENTRY org.eclipse.launchbar.core 2 0 2018-12-21 21:41:37.867
!MESSAGE Enablement expression is missing for config provider for
org.eclipse.cdt.debug.core.coreBuildDescriptorType


Change-Id: I2a739d8ad382a934e1a0e5b8f02f0e21cf1eeda0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-22 15:20:49 -05:00
Jonah Graham
a7f1eb27e9 [releng] increment service segment by 100
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment

Change-Id: I57f2b230e2190fc81cbdff5284f7b5e07db865d9
2018-12-22 09:10:26 +00:00
Alexander Kurtakov
68877a4b80 Move helprun against 4.10.
Needed so help index is rebuilt against latest lucene so it can be
usable.

Change-Id: Ifc9c65d50e6c9ea0e2735ec7587c09e6f46699b0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-22 00:03:59 +02:00
Alexander Kurtakov
a4c21ac717 Fix warnings about non-vararg override for vararg method.
Change-Id: I8b4aadf9e1357e1a0203c92bba9e4495f668e787
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-21 22:02:55 +02:00
William Riley
c6e069df3e [releng] Use release tycho 1.3.0
Change-Id: I6b9b343879b6787a1329d0fce25ab4223d52c30c
2018-12-20 09:11:17 -05:00
William Riley
84381c7a23 [releng] Try to fix signing with baseline replacement
Change-Id: I1b1b63e095c9309836ec0850c7afe6adf09ebf51
2018-12-20 09:03:14 -05:00
Jonah Graham
2c3e9b58a0 [releng] Update comparator repo
Change-Id: Ib7628c0b68a2392c7975019f5dcb74fa4ade2274
2018-12-20 08:37:56 +00:00
Jonah Graham
76cc07a4cd [releng] Bump version numbers for plug-ins changed since branch point
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment

Change-Id: I019f2f6bcf11e5e4fb17960dc28a1fb2fac6ace0
2018-12-20 08:37:56 +00:00
Hannes Vogt
945e48a40c Bug 542448 - Return ProblemBindings in list initialization
- Return ProblemBinding if conversion from init list failed
- In conversion: don't allow implicit conversion with explicit ctor

Change-Id: I3145b89df778a035ced9999aff4d8a4164eac17f
Signed-off-by: Hannes Vogt <hannes@havogt.de>
2018-12-15 02:12:33 -05:00
Simon Marchi
eb83237dc4 Fix license comment block in download-build-gdb.sh
The automated license change didn't handle this case properly.  Add the
missing #s.

Change-Id: I11ad2c22b3be7b4d3db66aa69386619007aa8b6e
Signed-off-by: Simon Marchi <simon.marchi@ericsson.com>
2018-12-14 11:16:17 -05:00
Lutz Hamann
c78246edea Bug 539328 - Fix NPE in NewArduinoTargetWizard
Arduino-Connections can be created and edited using Preferences->Remote
Development->Remote Connections.

Change-Id: Ie92330689bdad4987c12d2bd17828dbe5e862b90
Signed-off-by: Lutz Hamann <lhamann@planettime.de>
2018-12-12 10:08:21 -05:00