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

13032 commits

Author SHA1 Message Date
Doug Schaefer
f922bfacc6 Add missing since tag.
Change-Id: Iea0cc7fd4706b1cb20bcf4a98d16cf81c70c313c
2016-09-02 11:01:50 -04:00
Marc-Andre Laperle
c14f675a8e Add a timeout multipler for DisplayHelper
DisplayHelper is used to run the event loop until a condition is met
or until a maximum timeout is reached. This timeout varies between
hundreds of milliseconds to a few seconds. When the tests are running
on a machine that is known to be quite under load (Hudson), the
timeouts in the milliseconds are too optimistics as there can be a
lot of other things running at the same time on the machine.

This change adds a multipler (default 1) that can be controlled from
the maven command line, for example:
-Dorg.eclipse.cdt.ui.testplugin.DisplayHelper.TIMEOUT_MULTIPLIER=5

Change-Id: I9c1517ac2641768e8ae0f4508bf9a008931ef805
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-09-01 15:23:52 -04:00
Doug Schaefer
9c8bcb28c8 Allow participants in CMake toolchain file management.
For ESP8266, I want to auto discover the toolchains and friends
installed into Eclipse. I also want to handle toolchain files
manually added by the user. Adding providers and listeners.

Adds prefix to gcc commands. Makes CMake config provider for Local
only. ESP8266 has it's own launch config. Add build output to the 
build config model. And fix up output folders.

Change-Id: I682c3d08898e5ca275d07f8bb63c6ec1c7605a81
2016-08-31 15:03:29 -04:00
Doug Schaefer
5426847cbb CMake and build architecture changes to improve launching
Right now launch configuration delegates need to know too much about
the specific build system for a project (cmake versus qt, for example)
Start decoupling this and test out the theory with CMake.

Change-Id: I8a362f16cddca77b37a5ab5920ee19318035d478
2016-08-29 17:54:34 -04:00
Doug Schaefer
50bc082f84 Bug 174176 - Hook up CMake build to LaunchBar to select toolchain files
Use launch target os and cpu arch properties to pick toolchains and
toolchain files. UI to add toolchain files. And build support.

Also some clean up of Qt as I found bugs.

Change-Id: Icd1da43460b5954eea15e95ed8ec27850fc4e54e
2016-08-25 16:49:28 -04:00
Sergey Prigogin
215c3d7ce5 Bug 500178 - NPE in Rename refactoring
Change-Id: Ia448bf943b7139370ab5b570fb074e79ca6f6f23
2016-08-24 07:58:10 -04:00
Sergey Prigogin
8d2d30bf52 Bug 485889 - ClassCastException in
CPPClassScope.findInheritedConstructorsSourceBases()

Added diagnostic logging.

Change-Id: I9b48751c11901c78e4938148d2bd8d490efe9209
2016-08-24 07:06:50 -04:00
Sergey Prigogin
829fde48ee Added diagnostic logging.
Change-Id: I0ac84837f4ff33dc984a7b00495ab9266e240ac2
2016-08-24 05:14:53 -04:00
Sergey Prigogin
95774b09ce Cosmetics.
Change-Id: I444fd91e5acbeed1857827e249afc0f99a8c1703
2016-08-24 01:41:21 -07:00
Sergey Prigogin
9ae111eb8c Bug 424068 - [C++11] Inheriting constructors
This change treats inherited constructors in accordance with
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0136r1.html

Change-Id: Ia45edfeda0772daf57457ecdd7e16979ce7f321a
2016-08-24 03:55:43 -04:00
Sergey Prigogin
cfbb774b7a Cosmetics.
Change-Id: I7db0495a9d98c1920a090e41a1eb8a4bf1e40354
2016-08-23 05:19:19 -07:00
Doug Schaefer
6c6901547e Scanner discovery for CMake projects.
Reads the compile_commands.json file and feeds the commands into
the processLine method of the build config which creates the scanner
info. The scanner info is cached in memory and stored in the
metadata directory.

Change-Id: I8b04e661dfe767904d1c10119c07167fee8cd7e4
2016-08-23 01:05:13 -04:00
Sergey Prigogin
26fc557085 Improved Remove Unused Declarations refactoring.
Change-Id: I79fe2c40a45e18c6cfad3d9df867a6a04852f647
2016-08-21 20:00:08 -07:00
Sergey Prigogin
0f887cb883 Improved Remove Unused Declarations refactoring.
Change-Id: I540ef470eed2355eedd76e592d893501a30fc4c9
2016-08-19 18:53:26 -07:00
Sergey Prigogin
58543c6245 Cosmetics.
Change-Id: Idbdc12de9dc54acbb0e5da1c86260ad740dd895f
2016-08-19 18:46:13 -07:00
Thomas Corbat
470561caec Bug Bug 482225 - decltype(auto) not parsed
* Adapted the parser to cope with decltype(auto)
* Extended IASTSimpleDeclSpecifier to have a kind for decltype(auto)
* Added tests (syntactic recognition and type deduction for variables)
* Modified DeclSpecWriter to cope with the decltype(auto) kind simple
decl specifier

Change-Id: Ib1ded823027d124cef35e9d6355c0f48f57709a0
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-08-19 16:48:13 +02:00
Sergey Prigogin
16da43100b Removed use of deprecated methods.
Change-Id: I3b718a01e93e29f7d7778de3cc6e61de1366de48
2016-08-18 18:24:26 -04:00
Marc-Andre Laperle
461639d4ee Bug 499837 - Mac keybindings for expand selection commands are inconsistent with JDT
Use the same as JDT to be more consistent and also to not conflict
with Mission Control.

Change-Id: Ibe1ed3c43e5c7de2ab5bb0a508bf93e22bbdb7ca
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-18 00:51:51 -04:00
Marc-Andre Laperle
cf0271a5ed Let the Tycho build specify the indexer timeout during tests
Running maven with mvn clean install -Dindexer.timeout=123 doesn't
have any effect since tests to not inherit the VM args from Maven.
But we can pass those VM args manually in the pom.xml

Change-Id: I17b4aecdc422e3035e583b6d057c8487e7e41650
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-17 14:50:42 -04:00
Marc Khouzam
cd559dafaf Update version to 9.1.0
This commit used the script releng/scripts/ChangeFeaturesVersion.sh

Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-08-17 10:11:57 -04:00
Marc-Andre Laperle
5c80faaafe Bug 499116 - Missing keyboard binding for toggle comment
Add M1+7 key binding for Toggle Comment, just like JDT.

Change-Id: I561dd01948b77041ebf85f5a0374f4caa0a7e120
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-17 01:11:24 -04:00
Marc Khouzam
5c00a7c049 Remove old .api_filters
Change-Id: Ie5750ec15e1bcdc525a869579620370ff59bab70
2016-08-15 09:46:15 -04:00
Jonah Graham
08b8dca563 Bug 499553: Fix line comments used as a block on non-indented code
Change-Id: I059ba491e66722b286cfc9366cbfcd7efda535f6
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-08-12 06:04:57 -04:00
Jonah Graham
b34d04c0d5 Bug 499471: Workaround indexer deadlock when tests running
See the bug for lots more details. Short summary is to prevent project
from being deleted when indexer is still running to prevent the
deadlock.


Change-Id: Ie2523fcbacb3f8a15b43f107bd264069270c4028
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-08-12 05:13:35 -04:00
Jonah Graham
21dacc15fd Cosmetics.
Fix mixed indentation

Change-Id: Iba3193013c2e6cd5e21e0d61f47b244dfafe0582
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-08-11 14:30:24 +01:00
Doug Schaefer
30cde08c83 Add templates that map to old new project wizards.
Change-Id: I23a01ca9adcb73aa684d3be5932975e75f1a2462
2016-08-10 16:07:19 -04:00
Doug Schaefer
cc5287f548 Only show Language Setting property on old build system projects.
Change-Id: I21e71af0f5e701939d133707353e5bde7e4ab0e1
2016-08-10 13:52:49 -04:00
Doug Schaefer
20c4e5ba88 Get CMake projects created and building. New C/C++ Project Wizard.
Fixed up CMake new project creation. Hooked up the CMake build config
properly.

Introducing the New C/C++ Project Wizard that hold all the new project
types: Arduino, Qt, CMake.

Change-Id: I9f9c8b1f51b136515fe226c15059cdbb99106275
2016-08-10 11:17:41 -04:00
William Riley
0f11ffff88 Bug 476797 - Enable Expand annotation hover by default
Change-Id: I8362079dc73a17eba194193210d9ad0b36a2ef28
Signed-off-by: William Riley <william.riley@renesas.com>
2016-08-09 07:15:19 -04:00
William Riley
c297330c9c Bug 476797 - Port Expand annotation hover from JDT
Ported the JDT expand annotation hover code into CDT & adapted.

Added preference to control in equivalent location to JDT. Default is
disabled for now.

Changed behaviour from JDT version - 
 * Breakpoint annotations & add breakpoint option displayed last
 * Tooltips displayed with no delay after expanded hover is displayed
 * Reverted fix for bug 165533 due to issue where single click on 1st
   item in expanded hover also triggers single click on top item in
   ruler if mouse within ruler area (Same as JDT)

Known issues -
 * Double click on ruler column sometimes triggers single click on 1st
   item in expanded hover if user is too slow (Same as JDT)

Change-Id: I87c2f8efd04ea5084b056241a04758a368e2ca55
Signed-off-by: William Riley <william.riley@renesas.com>
2016-08-08 16:25:02 -04:00
Sergey Prigogin
739281bec7 Remove Function Bodies and Remove Unused Declarations refactorings.
Change-Id: I99cfe7e561ab1615c7d4ee8c126e07acbc672196
2016-08-08 12:02:17 -07:00
Sergey Prigogin
3d584f5deb Cosmetics.
Change-Id: Id4498083c369ba3a9721a415945186c4c48f90a7
2016-08-08 12:02:16 -07:00
Marc Khouzam
88ee46b514 Update o.e.cdt.core plugin version as necessary due to recent change.
Change-Id: Ief752f55f52597795ad0df0035a67f13e6b36ac1
2016-08-03 09:33:28 -04:00
Nathan Ridge
1084e608d0 Add a declaration of newName(String) to ICPPNodeFactory
Change-Id: I1ccbde39761bfb944e8677d196e577ea89e25e94
2016-08-02 19:21:38 -04:00
Sergey Prigogin
80b05f860a Cosmetics
Change-Id: Idabd9e2d0c587618c2a68363fabdd0692ee8f847
2016-07-31 22:13:13 -07:00
Sergey Prigogin
072e568395 Cosmetics 2016-07-31 13:59:46 -07:00
Sergey Prigogin
e8213acedf Cosmetics 2016-07-31 13:23:12 -07:00
Sergey Prigogin
d866664a92 Cosmetics
Change-Id: I0ace660542038d2077fb9e989b1bb5ccc10b4ef2
2016-07-29 21:20:41 -04:00
Nathan Ridge
dcb726d00c Fix a typo in EvalBinary
Change-Id: Ib109e00962232f3146711ed9ec0218c91692acfa
2016-07-28 22:01:57 -04:00
Nathan Ridge
69fb4ee9cd Bug 498434 - Floating-point literal with leading zero
Change-Id: I7417405ae89b41c7d3b28089320cc66f1c7c6173
2016-07-28 22:01:45 -04:00
Sergey Prigogin
c4f4122343 Minor optimization in TypeInstantiationRequest.equals method.
Change-Id: Ie9efe4000b9354e9c2193a0f8264e771ffe8e169
2016-07-28 14:46:15 -04:00
Sergey Prigogin
fdedd70428 Speed up indexer in a situation when there is a large number of
equivalent CPPMethodTemplateSpecialization objects

Change-Id: I3ad05af2de652a109e1680c189b54e81e355d357
2016-07-27 21:05:11 -07:00
Sergey Prigogin
d3b62dd5ba Cosmetics and code streamlining.
Change-Id: I2c5479f4259cafe5d98cb203f3af2d4aac62cfbe
2016-07-20 21:00:28 -04:00
Sergey Prigogin
2d4d6b3e1c Bug 497931 - Added a failing test and a TODO in the problematic code
Change-Id: I9562d0452a3ba08b940d948e040580e858abaa39
2016-07-15 18:29:46 -04:00
Sergey Prigogin
50dff78b51 Cosmetics. 2016-07-14 12:50:40 -07:00
Sergey Prigogin
b47514f94a Bug 497875 - Indexer runs out of memory with recursive template
functions

Change-Id: I1b92d57fc13f61933082185b397e63cf7d9b69a6
2016-07-14 12:02:10 -07:00
Sergey Prigogin
b7ecc46eca Bug 497875 - Avoid evaluating isConstantExpression multiple times
Change-Id: I54d6b533f5b21294a92319ea1d45d4f18962a460
2016-07-13 17:57:02 -07:00
Sergey Prigogin
f2af760266 Cosmetics 2016-07-13 17:52:13 -07:00
Sergey Prigogin
72e0c1b6fe Cosmetics. 2016-07-11 15:46:42 -07:00
Sergey Prigogin
13472faa4d Code streamlining.
Change-Id: Ifcf5a23c1a8948d43adc4f0761a83695bb34d3e8
2016-07-11 18:43:38 -04:00