1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

13510 commits

Author SHA1 Message Date
Sergey Prigogin
5cecbda67a Removed redundant //$NON-NLS-1$ comments.
Change-Id: I9e5801708275d5ce8bcfbe84f4891741479d5a24
2016-10-04 18:27:32 -04:00
Sergey Prigogin
8d9924179f Bug 502985 - CDT index may be getting corrupted by IOExceptions or calls
to Thread.interrupt()

Change-Id: I180b55dbc9ca68a2b2d7ee668515aaf28d1b71c9
2016-10-03 17:16:07 -07:00
Sergey Prigogin
d652858b3a Bug 502109 - Name resolution problem with alias template
Change-Id: I1475ae9aef468f0f3075ed4a9689b15788be4d42
2016-09-25 12:03:36 -07:00
Sergey Prigogin
53ec9571cb Cosmetics.
Change-Id: I78635ca74bffd3df7b51f87e70464e99dd699324
2016-09-25 11:22:05 -07:00
Marc-Andre Laperle
bd2121899b Bug 500711 - Outline view 'Link With Editor' could be enabled by default
Change-Id: Ice934d90250972a2b343fe64954ffc496ea53ae0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-09-23 08:55:15 -04:00
Sergey Prigogin
fe0dcb5176 Improved Remove Unused Declarations refactoring.
Change-Id: Ibc011f9bacb8565463762f013738118eed839757
2016-09-22 19:32:43 -04:00
Nathan Ridge
4470a7a5bb Bug 502016 - Enumeration defined in alias-declaration
Change-Id: I4552b3117008bff7f1269aa3a12e9711e0c8681f
2016-09-22 17:20:47 -04:00
Andrew Gvozdev
29ae1df652 Bug 491286: Fixed NPE opening page C++ Build Variables in Properties/Preferences
Change-Id: I5ed71665980936a3000a987a75bf2f2c962027ec
2016-09-22 13:56:06 -04:00
Sergey Prigogin
149e41fd46 Improved code reduction refactorings.
Change-Id: I2bee9e578810dd9ee1b23341a29713fc594d81f4
2016-09-21 18:41:28 -07:00
Sergey Prigogin
2a4e3e11e4 Bug 501549 - Unresolved symbol with lambda
Change-Id: Ic541e9a7ea4338aa0515705047f5fb614150d074
2016-09-20 13:08:53 -07:00
Sergey Prigogin
fa96519c4c Code streamlining.
Change-Id: I00155566d6fd4cb8043ad38201a58181b995c52f
2016-09-20 13:08:52 -07:00
Sergey Prigogin
8159937005 Cosmetics.
Change-Id: I7452e20897e082393a763749e3bafda26a9471b3
2016-09-20 13:08:51 -07:00
Sergey Prigogin
ba9b1b77da Cosmetics.
Change-Id: Ie7a8e50945174ea932ffbf7da4e80815294edba1
2016-09-19 15:54:43 -07:00
Marc Khouzam
2067bdec1a Fix API as per the upcoming 9.1 release
Change-Id: I307f8f3239178415a66f0bed0b63e5b0d7ffe4cd
2016-09-19 16:10:40 -04:00
Sergey Prigogin
74850e961f Fixed compilation errors. 2016-09-18 16:44:19 -07:00
Nathan Ridge
654907174b Bug 497668 - Avoid unnecessary name resolution during ambiguity resolution
Since resolved bindings are cached, we can get stuck with a bad binding
resolved during an incorrecy branch of ambiguity resolution.

Change-Id: I59bcb9f6f2b756892a56b135e8d6a1f026180728
2016-09-18 01:31:25 -04:00
Nathan Ridge
d3d7a4e84a Bug 498393 - Do not cache bases computed when a class is incomplete
Change-Id: Ieddb15ff1cd784710a19d85879bb0d7b40f425b3
2016-09-18 01:28:20 -04:00
Nathan Ridge
c180a3e798 Bug 494216 - Instantiation of variable templates with dependent arguments
Change-Id: If9c27267d25ce8cccb89e7a5404bf5e3e6480dcb
2016-09-18 01:22:49 -04:00
Nathan Ridge
e6ed5e4037 Bug 494182 - Lambda in default member initializer
Change-Id: I92bbfaff34a08952d3f17f6a9b982a10d4e2bf03
2016-09-18 01:17:51 -04:00
Nathan Ridge
abcedff7d7 Bug 486672 - Syntax coloring of variable template instances
Change-Id: I32a2fd3bc64f88e368924acafca1d1e596c90877
2016-09-18 00:56:20 -04:00
Nathan Ridge
3c8a5002ba Bug 486671 - Store value of variable template in index
Change-Id: Ifd045faca2f95be8b3e53da49b4c50b0a3c470b3
2016-09-18 00:45:51 -04:00
Nathan Ridge
3f64140125 Bug 490475 - Follow-up to fix some API errors
Change-Id: I63bc879aa3ec8c05c665b31cb786a6220f72f60d
2016-09-17 14:19:04 -04:00
Sergey Prigogin
898ce2245b Bug 501623 - ClassCastException in EvalMemberAccess.getValue
Change-Id: Ib9177f2bd2f9d9d005397b72d6d0274cb3e2605f
2016-09-16 20:24:31 -07:00
Sergey Prigogin
ee1d72c7f8 Bug 501615 - NPE in EvalFunctionCall.computeForFunctionCall
Change-Id: I2ff67299b05b80fcc0451e1cc5b4532c88364f61
2016-09-16 17:18:48 -07:00
Sergey Prigogin
6b2530050f Bug 501616 - ArrayIndexOutOfBoundsException in CPPField.getFieldPosition
Use 16 bits to store field position.

Change-Id: I2856bbc06e1df91ca209508ad3258bad1869087f
2016-09-16 16:42:08 -07:00
Toni Suter
25d4502b80 Bug 490475. Support the evaluation of C++14 constexpr functions
Change-Id: I05029f26b6d33cbeeab8138a270b38c4018b64b5
Signed-off-by: Toni Suter <tsuter@hsr.ch>
Signed-off-by: Silvano Brugnoni <sbrugnon@hsr.ch>
2016-09-16 03:09:25 -04:00
Doug Schaefer
b26917be90 Introduce Core Build launches and Launch Bar integration.
Unify launching for projects that use the new Core Build system.
Starts with CMake projects. We'll do Qt projects next.

Change-Id: I14af8e99decd54cc6548095b3ad3e054c550aea2
2016-09-12 11:14:17 -04:00
Alena Laskavaia
a6062a2b98 fixed NPE
Change-Id: I817d227711384551e88fc59c124ffead5284ef06
2016-09-09 09:12:05 -04:00
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