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

24518 commits

Author SHA1 Message Date
Nathan Ridge
eb54f64445 Bug 484898 - Highlighting of inherited constructor name
Change-Id: I314dcf08b0d882a60aa02f248131d02281f8ff16
2016-01-29 02:37:57 -05:00
Nathan Ridge
36f16ba1b9 Bug 486426 - Constexpr evaluation of function call with an argument requiring user-defined conversion
Change-Id: I1110b76d3520666a980100f6cd17689911a16759
2016-01-29 02:35:49 -05:00
Doug Schaefer
57a47fe461 Qt - more missing things from the build.properties file.
Change-Id: I2d2ad53f0db45eb86566c9cfbb3a759e8ec95495
2016-01-28 18:55:16 -05:00
Stefan Xenos
b7eb62ae3b Fix compiler errors in CElementSorter
Change-Id: I8c105b7649c688bbb02ae64b5f74a0f8dedeb468
Signed-off-by: Stefan Xenos <sxenos@gmail.com>
2016-01-28 13:43:47 -05:00
Doug Schaefer
ea0064b77b Qt - fix up build.properties files to pick things up properly.
Was including too much of tern-qml and missing the qt icons.
2016-01-28 13:14:51 -05:00
Doug Schaefer
192bfff688 Bug 486509 - Add support for debugging local Qt apps.
We reuse GDBLaunch but need to override some settings that are
normally in the launch configuration. These things are calculated
at launch time.

Note there is also an added dependency to the launch bar core
to make GDBLaunch a targeted launch so we can set the target properly.
At some point we'll move this launch target stuff lower down, maybe
to the debug platform.

Change-Id: Ibbf6b794a9ecf25b79d46093cc624ea69dc04641
2016-01-28 11:05:34 -05:00
Doug Schaefer
99426ce65a Missing OSGI-INF in build.ui build.properties file.
Change-Id: I40d92121baa81d81300ff2e102154cf3a9a8d467
2016-01-28 10:12:20 -05:00
Alena Laskavaia
f57e0c8acf added description control on Build Variables page
Change-Id: Ib2f6b30bedb88e6ab2c886306171a5668ac1a415
2016-01-27 20:13:05 -05:00
Doug Schaefer
e7ef5fb9ac Qt - better handling when a Qt install hasn't been added.
Used to NPE, now prints a message on the build console at build time.

Change-Id: Ia38161dcc393506e44d4c4fa7e12a25f55e44bd0
2016-01-27 15:39:58 -05:00
Doug Schaefer
095dd5160e Qt - Include tern deps in build. Clean up some old files.
The tern deps were in node_modules which is gitignored. Created a
Makefile to copy those deps to a new directory and we check that in.

Also removed some files that were used to get ANTLR which we aren't
using. And cleaned out the commented out reload button from the
plugin.xml.

Change-Id: I09a5ecb298bbdd9272f9b4a7540d525edb55c4fa
2016-01-27 12:41:56 -05:00
Nathan Ridge
9e7b1ce856 Bug 486144 - Avoid recursion due to EvalID.withinNonStaticMethod() doing over-eager name resolution
Change-Id: I51de1941753c3d6beb0f21eebaff01f2cf87a9fb
2016-01-26 22:03:51 -05:00
Nathan Ridge
423dc228fa Bug 485388 - Ambiguity resolution of method bodies of nested classes
They can depend on members of enclosing classes, so their processing
needs to wait until the end of the outermost class definition.

Change-Id: I0f49743675db0f19fd01e01a4cb6a9b87bb68658
2016-01-26 02:44:29 -05:00
Sergey Prigogin
50151f0a71 Cosmetics. 2016-01-25 10:42:30 -08:00
Nathan Ridge
4fafaeaf10 Bug 486425 - Decltype in pack expansion
Change-Id: I67dfbc295fab4674b95a9d61cf77d2329e1a0525
2016-01-25 13:26:56 -05:00
Marc-Andre Laperle
8c96317ae8 Fix used boolean
Due to a cherry-pick from the cdt_8_8, the boolean is not used as it
should (the boolean does not exist in cdt_8_8). Since it's available in
master, we should use it (or remove it)

Change-Id: Id907e9408cfa7944677b65455bfa7840727ed313
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-25 12:47:05 -05:00
Marc Khouzam
9f9c54764c Bug 485485 - GDBBackend's Startup/Shutdown sequences are hard to extend
Change-Id: I6232a2d85e25abfdb63b326dafe17e51762fea09
2016-01-25 09:36:13 -05:00
Nathan Ridge
1d46897ad0 Bug 485709 - Syntax coloring of qualified enumeration
Change-Id: I33c8edc024fbb23c16e9328a15ddec05eabd6124
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-25 00:16:44 -05:00
Sergey Prigogin
e60f8efdf3 Bug 486149 - Name resolution problem with dependent conversion operator
Corrected two bugs pointed out in https://git.eclipse.org/r/#/c/64940/1

Change-Id: I44ec5b28a40db73857a7b687c3c784583810962b
2016-01-24 09:08:13 -08:00
Sergey Prigogin
dbd35a059a Bug 486149 - Name resolution problem with dependent conversion operator
Change-Id: I696b91f7703451f9ada8dbd60987c5f19d82ad27
2016-01-21 17:44:46 -08:00
Sergey Prigogin
c5ecc6fe90 Cosmetics. 2016-01-21 17:43:34 -08:00
Thomas Corbat
7b6cbde517 Bug 479241 - [PTY] Output gets cut off after EOF on input
Conflicts:
	core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/pty/PTYOutputStream.java

Change-Id: If13b0d977f621e21e7fe89b2b52f07f74858787c
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-01-21 10:48:32 +01:00
Marc Khouzam
12931d59a7 Remove deprecated method.
GdbLaunchDelegate.newServiceFactory(String) has been deprecated for 4
years and has now been removed.  It has been replaced with
GdbLaunchDelegate.newServiceFactory(ILaunchConfiguration, String) 

Change-Id: Ida8e164da48fcd9d26baf1c77efef7b207ef7565
2016-01-20 23:02:03 -05:00
Marc Khouzam
9d54db2c55 Remove deprecated methods.
The methods
MIDataListRegisterValues.MIDataListRegisterValues(IMIExecutionDMContext,
int) and
MIDataListRegisterValues.MIDataListRegisterValues(IMIExecutionDMContext,
int, int[]) have been deprecated for over two years and have been
removed.  Callers should instead the methods of the same name but
passing in an IFrameDMContext instead of an IMIExecutionDMContext.

Following that change, the methods
CommandFactory.MIDataListRegisterValues(IMIExecutionDMContext, int) and
CommandFactory.MIDataListRegisterValues(IMIExecutionDMContext, int,
int[]) have also been removed, and their corresponding methods using
IFrameDMContext should be used instead.

Change-Id: Ifa518b9a113dadb9d3dc44d803d8c3819afe810c
2016-01-20 23:00:51 -05:00
Marc Khouzam
72352044ae Remove deprecated method.
The method
GDBRunControl_7_0_NS.eventDispatched(ITraceRecordSelectedChangedDMEvent)
was removed;
GDBRunControl_7_2_NS.eventDispatched(ITraceRecordSelectedChangedDMEvent)
should be used instead.

Change-Id: Ic30186e29b4601f1054a5988a6330ec095079253
2016-01-20 22:58:46 -05:00
Marc Khouzam
5af6c7413a Bug 486148: Remove support for Apple GDB
The following macos packages were removed:
 org.eclipse.cdt.dsf.gdb.service.macos,
 org.eclipse.cdt.dsf.mi.service.command.commands.macos,
 org.eclipse.cdt.dsf.mi.service.command.output.macos
 org.eclipse.cdt.debug.gdbjtag.core.dsf.gdb.service.macos

The following classes, contained in the above packages are now removed:
 MacOSCommandFactory.java
 MacOSGDBProcesses.java
 MacOSGDBRunControl.java
 MacOSGdbDebugServicesFactory.java
 MacOSMIEnvironmentCD.java
 MacOSMIVarUpdate.java
 MacOSMIVarUpdateInfo.java
 MacOSGdbJtagDebugServicesFactory.java

The constant LaunchUtils.MACOS_GDB_MARKER was removed.

Change-Id: Iea54886a02015dd0b11678a0cd5d911bed129485
2016-01-20 19:17:44 -05:00
Jeff Johnston
9066b061f3 Fix Autotools to remove use of Wizard classes that are being removed
- remove NewProjectWizards
- fix AutotoolsBuildWizardHandler to remove warning

Change-Id: I3dfcf9d09477c267ea4a770dcf77c0f29d652e38
2016-01-20 12:33:24 -05:00
Doug Schaefer
cba0b62a96 Make a couple of more things common. Clean up scanner info.
Make the build folder common for build configs. Makes things
consistent.

Also make it clear that we are caching scanner info with the
names of the API calls.

Change-Id: I1da0d90b3358065e28e437d0dfeea730e13c9aef
2016-01-20 10:30:25 -05:00
Sergey Prigogin
e347a841c0 Cosmetics. 2016-01-19 14:45:26 -08:00
Nathan Ridge
bf2ea12951 Bug 485985 - Function call expression with dependent function argument
Change-Id: I56358d53020a2b586a41fac66f40170901c872f5
2016-01-19 17:43:32 -05:00
Nathan Ridge
3d44e89bee Bug 485888 - Partial specialization for ref-qualified function type
Change-Id: I34bb2faa8ce701b905c8692d32ff1e5514477d6f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-19 17:40:41 -05:00
Alena Laskavaia
6d3ca105fc debug main tab: move build initialization out of updateProjectFromConfig
- initialization of some parts were in weird places, which won't allow
properly overload it. Move build config initialization into
updateBuildOptionFromConfig from updateProjectFromConfig

Change-Id: I7eebe24da963b14de4eec48df27817a9820977fd
2016-01-19 15:11:16 -05:00
Jonah Graham
6d5d0be628 Bug 472765: change from easymock to mockito
Due to improvements in target platform in 12843ef it is now possible to
use mockito instead of easymock. This commit does that switch.

Note because of Bug 334540 we need to explicitly require the org.hamcrest
bundle so that it resolves. From the bug, Matthias Sohn says in Comment 1:
"I would just use Require-Bundle to get around this."

Change-Id: Ib49a767c826aa04f4daf1de0bf1b25a4f8ae07ba
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-19 09:56:09 -05:00
Sergey Prigogin
e9620b8a0e Cosmetics. 2016-01-18 19:37:32 -08:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Jonah Graham
28b1830acf Bug 484911: Clean up source directors
Includes:
- CSourceLookupParticipant only did one useful thing (For DSF). When the
object being looked up is a String, as is the case when disassembly
view/editor is doing a lookup, the CSourceLookupParticipant would be the
one to do the resolution. Updated
DsfSourceLookupParticipant.getSourceName to be able to handle a String
- Changed super of DsfSourceLookupParticipant to
AbstractSourceLookupParticipant, saves duplicate code, and adds comment
about what is different about findSourceElements
- a previously missing test for an unusual case (no containers)
- Some of these methods that are only part of CDI have been
marked as such for eventual removal in Bug 484900

Change-Id: I9954b4469e9db9cb46eb117f3beba9e01634689b
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-17 10:11:41 -05:00
Doug Schaefer
c3bfd4daee Fix up launch bar setting for cmake.
Change-Id: I0000000000000000000000000000000000000000
2016-01-16 22:53:47 -05:00
Sergey Prigogin
df4865a9d3 Bug 485806 - Name resolution problem with a parameter pack
Change-Id: I41aa69fd2f8bdc5a450ed941146de03e49590a90
2016-01-14 16:39:26 -08:00
Sergey Prigogin
751b2e3e1d Revert "Bug 485388 - Ambiguity resolution of method bodies of nested classes"
This reverts commit 3d814869df.

Change-Id: Ia9ee55575d7bd7f8fe4a6b67dbc0d7659cedcfe8
2016-01-14 19:26:41 -05:00
Nathan Ridge
952c64a0bc Bug 485720 - Evaluation of __is_trivially_copyable
Change-Id: I969dc47ed20c28b0e8ce476c586f8d22af7c8894
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-14 01:37:26 -05:00
Nathan Ridge
a5348a47ba Bug 485713 - Parser support for new type trait intrinsics in GCC 5
Change-Id: I1c0d41c01c921f701c58b2eee342c63de607d1d7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-14 01:34:09 -05:00
Nathan Ridge
59765dc380 Bug 485710 - When determining the set of associated namespaces for
argument-dependent lookup, do not consider the base classes of enclosing
classes

Change-Id: Iefa3b8b18102553bd46ca84dd6c90b5ff245e178
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-13 22:03:13 -05:00
Nathan Ridge
3d814869df Bug 485388 - Ambiguity resolution of method bodies of nested classes
They can depend on members of enclosing classes, so their processing
needs to wait until the end of the outermost class definition.

Change-Id: Ie714d8410bb7a474bcc8dfab0bc09fcc89450598
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-13 22:01:03 -05:00
Alena Laskavaia
082dae21c3 codan - deprecating IProblemProfileChangeListener
deprecated IProblemProfileChangeListener in favor of eclipse preference
event listener mechanism

Change-Id: Ie89999f3baeed56a4c13f3ba70a92b59213ae43f
2016-01-11 21:47:57 -05:00
Alena Laskavaia
d310621847 Fixed codan example for pref change listener
Change-Id: I8693a4bdfd14a05ca077ec3357f82a2358bee07d
2016-01-11 21:47:56 -05:00
Nathan Ridge
8b68a2bb8e Bug 485383 - Exclude constructors when expanding using-declarations
during name lookup

This helps us respect the standard's rule that name lookup does not find
constructors, and avoid ambiguities between class and constructor names
that result otherwise.

Change-Id: I17b907bcb35108d7d7e0cc72ca70e07481a5b9ed
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-11 14:30:47 -05:00
Alena Laskavaia
05daa126a0 Bug 383576 - Ability to ignore codan errors using line comments
Change-Id: I806e1787fb6cc3be8865cee1d397d581ae4acd8e
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-11 12:49:09 -05:00
Marc-Andre Laperle
12843ef1d7 Add some missing libraries to target
When launching with all CDT plugins, there were a few errors about missing
libraries. This patch adds the missing libraries (hamcrest, slf4j.impl).

Change-Id: Ib6925c46787e90e9c345bc03bca5049bfc1475ac
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-10 13:32:00 -05:00
Sergey Prigogin
1d75c92c77 Cosmetics. 2016-01-08 11:21:34 -08:00
Nathan Ridge
ea73b8149c Bug 484979 - Name resolution fixes for labels
Change-Id: Ic90a335bf9cb283dcf5a02e83839d955ad312593
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-08 10:11:55 -08:00
Alena Laskavaia
1b0fe3a41e Removed deprecated method in codan.core, bumped version to 4.0
Change-Id: I1290d5388b30bd6b48663652d50f4718164b979d
2016-01-08 07:51:04 -05:00