1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-12 03:25:22 +02:00
Commit graph

35735 commits

Author SHA1 Message Date
Jonah Graham
679896ec6e Bug 515500: Preserve known line numbers when updating ui
This resolves a significant UI performance regression so
now line numbers don't need to be recalculated for areas
where they are already known.

Change-Id: I4668d620cde24b7cd8c6a22e9c022eaf5b237ff2
2017-07-11 10:53:09 +01:00
Patrick Koenemann
3a57ea79ab Bug 514708 - Performance improvement indexer by caching Strings.
Change-Id: If07961701bd568f674918c484cad16699bfa1cdf
Signed-off-by: Patrick Koenemann <patrick.koenemann@itemis.de>
2017-07-06 21:30:24 -04:00
Nathan Ridge
8286a3e2d4 Make sure stack traces are logged for CoreExceptions
Change-Id: I4686473c8925c241f16a79892382359829ec1625
2017-07-06 02:10:45 -04:00
Alena Laskavaia
12514becfb Bug 519249 - [LaunchBar] popup disposed when typing
Focus is lost and popup disposed after filter control is activated
Probably in Oxygen sometime changes as focus now totally lost 
(focus control is null)
after selection in our custom tree.
Just resetting focus for now, need more investigation later
why it was lost



Change-Id: I0ab671ba97d8ecfe5586688812a9ea728d8f9619
2017-07-05 11:39:53 -04:00
dschaefer
c4990122ac Bug 519190 - Get CMake working with MSVC toolchain
Adds in Core Build support for the MSVC toolchain. Fixes issue
with PATH in the core build configuration since on Windows it's often
Path.

Change-Id: I3eb201bc22bf42341207e8f3bbef999d4d174f05
(cherry picked from commit 7f3745c765)
2017-07-05 10:18:36 -04:00
Jonah Graham
dd07cba37b Bug 519125: Expose console refresh rate as a preference
Change-Id: I342512ff52887bc34e17185c2aa9faa34893996a
2017-07-04 11:55:45 +01:00
Matthew Bastien
bb7cbf8429 Bug 518837: Launch Config Dialog select first tab by default
Under certain circumstances the launch config dialog wouldn't have a tab
selected when it opened. Changed the selection logic to explicitly
select the first tab rather than assume that it would be selected.

Change-Id: If2b3e2e933b12feb7e28a74270b34279ec891e54
Signed-off-by: Matthew Bastien <bastien.matthew@gmail.com>
2017-06-27 10:26:49 -04:00
Jon Beniston
167a605b57 Bug 257449. Search for any type of launch, not just C.
Change-Id: Ib8ec324aaf3ae1723c6dea53770965b600314203
Signed-off-by: Jon Beniston <jon@beniston.com>
2017-06-26 20:43:58 -04:00
Jonah Graham
41b5a72c73 Bug 518699: cleanup platform breakpoints between tests
Ensure no platform breakpoints are left over from previous tests

Change-Id: I3266636e9014d4930ec72f7411c9a4dc737d0d9f
2017-06-23 14:06:03 +01:00
Jonah Graham
195ae12776 Bug 516102: Change DSF tests to run GDB 8.0 tests by default
Change-Id: I868d58fd4eeee812fa3e5361561a9eb879a71627
2017-06-22 11:35:13 -04:00
Jonah Graham
8d26859710 Bug 518643: Increase wait for CDT to quit GDB
This is due to a new 500ms delay between inferior exiting and CDT
killing GDB.

Change-Id: I561f69e74caff3e82d89fd8cf2e4babe2c30392a
2017-06-22 11:34:50 -04:00
Jonah Graham
125220eb63 Bug 516102: Add fs_base as new register in GDB 8.0
Change-Id: Ia0600cca38153139fe0b6fb63f087821e0cd336a
2017-06-22 10:49:15 -04:00
Jonah Graham
6e95bbbd58 Bug 516102: Adding GDB 8.0 to the download-build-gdb.sh script
Change-Id: I5ca3e76e57f4b27dce842b08e729e3542b874248
2017-06-22 10:48:01 -04:00
Thomas Corbat
65eda42b16 Bug 518628 Function declarator location misses virtual specifiers
- Change parser to include virtual specifier in function declarator
location
- Change DeclaratorWriter to write all virtual specifiers in their
initial order

Change-Id: Iff381394b834146c1b63877bc9eb84517d31e078
2017-06-22 07:48:33 -04:00
Jonah Graham
d8c3c0967d Bug 518627: Squelch Device Disposed exception at shutdown
Note, can't simply check isDisposed as that still leaves a race
condition between isDisposed call and asyncExec call

Change-Id: I3e0e196d9d1dd9b9c8d4048a1aec55405d6dd6e0
2017-06-22 07:03:34 -04:00
Nathan Ridge
bd4656755c Bug 516338 - Avoid calling instantiateType() on arguments of non-dependent template instances
Change-Id: I51628e9b6ca569943879f48d4c0d0b740bdc23b8
2017-06-20 02:34:07 -04:00
Nathan Ridge
1dceabb0eb Bug 516338 - Detect substitution failure during instantiation of dependent alias template arguments
Change-Id: Ia97e0632e17b4047a0fe35c05be72dab75e43d5c
2017-06-20 02:34:07 -04:00
Nathan Ridge
e374b4b08e Bug 516338 - Have ICPPAliasTemplateInstance implement ICPPTemplateInstance
This allows querying alias template instances for their arguments (for
e.g. instantiating dependent arguments later).

Change-Id: I7cc3dfcef75fe0faf104dc7bfe11e2acd90a4748
2017-06-20 02:34:07 -04:00
Nathan Ridge
8d6cab41e7 Bug 516338 - Introduce alias template specializations
We previously modelled alias template specializations as alias template
instances, which was conceptually incorrect and problematic for a number
of reasons.

Change-Id: Ibca8b87bb3d54cd3ae312254a02e8522e446331d
2017-06-20 02:34:07 -04:00
Nathan Ridge
3e0853ae0c Bug 516338 - Improve typedef preservation
Besides the UX advantages of typedef preservation (such as refactorings
preserving typedefs), it's important for correctness because the
arguments of template aliases can be subject to SFINAE even if they
don't participate in the target type.

Change-Id: I4e71372553dc418d1b8c3e27bd2c0387a41a3269
2017-06-20 02:34:06 -04:00
Doug Schaefer
d6dccc8558 Fix serial port naming on Windows to ensure get() method works.
Change-Id: Ida9b9568280b9530c8e7ff55b45e503889208dd1
(cherry picked from commit 34a3a01259)
2017-06-19 10:21:25 -04:00
Nathan Ridge
bd6da0b03d Bug 486082 - Have ProblemBindingChecker report errors of type IProblemBinding.SEMANTIC_INVALID_TYPE
Change-Id: I58f27a8783ea0dca53da5b45c2da11c6623892fd
2017-06-19 00:26:59 -04:00
Doug Schaefer
ff9289d396 Even better solution for the deadlock on startup.
Make sure we aren't locked when calling the listeners.

Change-Id: Id67f52013646733347c3ac0e45ef0a32953c9e89
2017-06-15 11:15:40 -04:00
Doug Schaefer
64f1d0b5d9 Fix deadlock on startup. Never use syncExec.
Change-Id: I841045d56dc4a7446854282db6d74809629952a6
2017-06-15 10:54:50 -04:00
Martin Oberhuber
fa298da8b7 Releng: Update to Tycho-0.23.1 for bz 459873, Unify Target Platforms
- Tycho-0.23 makes multiple Hudson builds in parallel more robust
- Use SWTbot-2.2.1 on Eclipse-3.8 to keep target dependencies clean
- Bring *.target files in sync with pom-config.xml for interactive use
- Align .gitignore with TCF's .gitignore

Change-Id: I6dfd7bfee43e8fcab1b6e7aae7a0b46f2f83bbf4
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-15 16:30:15 +02:00
Martin Oberhuber
ef6aeee516 Releng: Enable Apache PMD build reports
Change-Id: I99039197ab28e70ad013a7dbd4a59b2713bd768d
2017-06-14 07:23:42 +02:00
Martin Oberhuber
198e9602dc Releng: Revert to jarsigner-1.1.2 since 1.1.4 fails with Java 8
Change-Id: Ifab75c4dd0c96c9217cf8154ab72f79a924c54b7
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-14 06:35:28 +02:00
Martin Oberhuber
77ddbb7713 Releng: Clean Up and Unify *.target Target Platforms, SWTBot-2.5.0
Change-Id: I57585301be84c8c790609d0ac65548a7dcf02d8f
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 23:48:50 +02:00
Martin Oberhuber
33b6fc0301 Releng: Update Maven findbugs, jacoco and jarsigner to support Java 8
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=457949

Change-Id: I91b51bf4ed4a2adbd4b31566343b3e701c161c52
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 22:58:59 +02:00
Martin Oberhuber
08f4f5460f Merge "Bug 516330 - Make terminal.connector.serial REQUIRE gnu.io non-optional" 2017-06-13 09:09:04 -04:00
Martin Oberhuber
9a423667bc Bug 516330 - Make terminal.connector.serial REQUIRE gnu.io non-optional
As the o.e.tm.terminal.connector.serial , which is based on RXTX,
was taken out of the master terminal.feature, it is now only available
as a separate feature. Consequently, it only makes sense installing
when RXTX is also available - the RXTX dependency was thus made
non-optional.

Change-Id: If6528a6518da57335c7449def359e0f645c77b67
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 15:08:00 +02:00
Martin Oberhuber
a557d99dee Releng: Fix SWTBot Dependencies on Juno-Luna by adding Mars.2 Orbit
Change-Id: I9145ba0cfd477fa2ed4e7a9aee117eb2a97c1c50
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 14:38:56 +02:00
Martin Oberhuber
68a1221aae Releng: Update EGit in Target Platform
Change-Id: I926048f5bbe98e137bc2e77ff608f2173a92c901
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 12:06:18 +02:00
Martin Oberhuber
7b52e3974c Bug 518121 - Support multiple terminal connectors with identical label
In case multiple terminal launcher delegates are registered with
identical label, the ID of a delegate is used as fallback instead
of the label in order to disambiguate.

This doesn't look pretty in the UI but it works and it's a generic
solution for an atypical problem.

Change-Id: I4028e1819f7405c2cb65eacf4e84f437900d884e
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 10:44:54 +02:00
Martin Oberhuber
3e539b7331 Releng: Fix Terminal Unittests under Tycho with Jacoco
Change-Id: Ib4daa2402917122edb4b561dbf1ae696c80f0c7c
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-13 10:21:49 +02:00
Martin Oberhuber
b2a7eec797 Merge "Bug 516330 - Releng: Restore Tycho-0.22 for Building with Java 7" 2017-06-12 17:02:59 -04:00
Martin Oberhuber
48a2639cd2 Bug 516330 - Releng: Restore Tycho-0.22 for Building with Java 7
- Make Mars the defaut target to build against to support Java 7
  along with cdt native serial for a full build
- Cleanup: Fix indentation
- Add Oxygen Profile

Change-Id: I21b1e9b0fb905c8c50889e9697f4d11231685945
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-12 22:46:17 +02:00
Martin Oberhuber
c65207ae33 Merge "Releng: Further Simplify Target Platforms" 2017-06-12 16:43:15 -04:00
Martin Oberhuber
623f71ef89 Merge "Releng: Tune eclipse-4.7.x-oxygen.target to pull minimal dependencies" 2017-06-12 16:43:06 -04:00
Martin Oberhuber
b7d80cce89 Releng: Further Simplify Target Platforms
- Source features are auto-discovered, no need to add
- By using the Planner, only root features are needed
- Use RSE runtime instead of SDK avoids doc.isv

Change-Id: I953b650e156742a5a7cbcc225e9dbdab3a3730ed
2017-06-12 22:24:37 +02:00
Doug Schaefer
accbe9abc4 Fix concurrent mod exception with listeners.
Change-Id: If5088b530606421b573359b7755a01e45e32f0a7
2017-06-12 14:53:43 -04:00
Doug Schaefer
b63f284ac3 Bug 518116 - Allow user to enter a non-listed port name.
This is a quick fix to allow users to enter cdtserial port
names that we don't pick up in the device list.

Change-Id: I9473278c6e65e2a2bc7bb40c78e41fdf9d349f44
2017-06-12 14:39:16 -04:00
Doug Schaefer
bfe45e8c74 Fix another IndexOutOfBounds exception. 2017-06-12 14:35:48 -04:00
Martin Oberhuber
1cb50329e7 Releng: Tune eclipse-4.7.x-oxygen.target to pull minimal dependencies
- Remove eclipse.sdk.ide and emf.sdk in the Target Platform
- Add platform.ide , hamcrest and ecf for correct dependencies
- Enable "planner" mode in the Target Platform instead of "slicer"
  for automated resolving of dependencies.

Change-Id: I4a09e43501f312c59b8241838a59c3a413efe49e
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-12 17:33:48 +02:00
Doug Schaefer
4995ccbe24 Fix indexOutOfBounds when no Arduino boards registered.
Change-Id: I9466405bd6b12d795ec6797da7b039aabd851b58
2017-06-12 11:14:54 -04:00
Martin Oberhuber
29a6d3d999 Releng: Update eclipse-4.7.x-oxygen.target and tm-baseline.target
- Set tm-baseline to proper Neon baseline.
- Add Orbit (commons.net) and cdt-natives with source to target.

Change-Id: If028d97b813415fb658e2e37f6e10978e71e3c1c
Signed-off-by: Martin Oberhuber <mober.at+eclipse@gmail.com>
2017-06-12 11:08:56 +02:00
Nathan Ridge
c24e5d17b3 Bug 517954 - ClassCastException in CVisitor.findBindingsForContentAssist()
Change-Id: I0780b422ee727def577f78ed600f66a3ef4728d0
2017-06-08 02:57:45 -04:00
Jonah Graham
68a609fe44 Bug 517908: Don't convert #undef into #include <#undef> anymore
Change-Id: I24b18e050ac91668bd63626ed39f1bf8807f8feb
2017-06-07 04:20:23 -04:00
Greg Watson
96f33c6b17 Remove branding from plugin
Change-Id: I42aa5ab3a2b480d07076493bec4376fe0f0cb335
Signed-off-by: Greg Watson <g.watson@computer.org>
2017-06-05 16:23:31 -04:00
Jonah Graham
ad97076c4d Bug 517722: Mark as deprecated code related to Launch Group
Change-Id: I8d4b1dd3280011086a8e5b9652ecb7cdede81d52
2017-06-05 12:46:05 +01:00