1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-16 21:45:22 +02:00
Commit graph

34770 commits

Author SHA1 Message Date
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
f16f7a86c8 launchbar: launch button - mode overlay
- when mode select - change button to match mode, change tooltip to show
mode name
- also added errors settings

Change-Id: Id537e0fe65d8632dbd97183680d2bc1b3d635c86
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-19 15:11:40 -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
Rafael Peria de Sene
ab9ad3ffba launchbar: fix url to eclipse updates
Fix the wrong URL which was braking the build.

	- <url>http://download.eclipse.org/eclipse/updates/4.5milestones/</url>
	+ <url>http://download.eclipse.org/eclipse/updates/4.5/</url>

Change-Id: I647301fe72432df0a347f7541605eba41bb8baa0
Signed-off-by: Rafael Peria de Sene <rpsene@br.ibm.com>
2016-01-19 13:12:48 -02: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
Alena Laskavaia
7972418551 launchbar: open stanard eclipse launch configs dialog on edit
- when we click gear on launch descriptor we open a custom dialog,
there is no really need for it we can just open standard eclipse launch
configuration dialog and select configuration from the descriptor

Change-Id: I40f52baa5cc161a7281231600c29a4f5609733a5
2016-01-14 13:59:01 -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
Kaloyan Raev
916992ab3d Bug 485658 - NPE prevents displaying the actual error
Change-Id: I66ec6d071a6807e6f90835bdc09e9cc46e6808fe
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-01-12 19:02:29 +02: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
Alena Laskavaia
cd852c72c5 launchbar: use LinkedHashMap to avoid random order
order of targets returned by target manager some-what important, use
linked hash maps everywhere to avoid randomness of hashmap

Change-Id: I670859854f10006c8591c3ebaa8f036d3127b5b8
2016-01-11 15:09:01 -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
Alena Laskavaia
cec2cbf4dc launchbar: more reasonable launch target defaults
- if new descriptor is created check first of current target is suitable
before calling getDefaultTarget
- change method getDefaultTarget to return last target from the list
rather then first, since list is kept in order of addition, meaning last
entry is the most recent

Change-Id: I0d9a7760cf52c7dff761f760f3fce05d9ca4c540
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-11 11:45:21 -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
Alena Laskavaia
aa4f014a3a fixing some comments
Change-Id: I020815ce6099d743067974a97b8b63539e408f15
2016-01-07 20:49:41 -05:00
Alena Laskavaia
d3e933501e Bug 411579 - Add a "Create new class" Quick fix.
Change-Id: I57dc46f079357de7d5c281d016a25baa3f2154a6
2016-01-07 20:35:31 -05:00
Nathan Ridge
bc953d2348 Move findAncestorWithType() from CPPVisitor to ASTQueries
Change-Id: Ibcbc0a2685dabd66e7025db5d2924acbbb5a882d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-07 19:04:50 -05:00
Alena Laskavaia
e9db9389f2 launchbar: fixed widget is disposed exception
Change-Id: I8c39e7bc55e88b8b93f6d445b9b94face7f4d1f1
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-01-07 15:39:42 -05:00
Nathan Ridge
7eeecab020 Bug 244434 - When the target file of "Open Declaration" is reachable via
multiple workspace paths, open it under the path that most closely
matches the originating file

Change-Id: I616804c6ffb9900e5df2f918a409f46c3cbb7a3a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-07 00:59:38 -05:00
Marc-Andre Laperle
0d52c4ab82 Clean-up and use a single target file
Old targets were not working anymore. Also, rename the 4.6 target to
just cdt.target because there is only one that is primarily used.
This should be less confusing to new-comers.

Change-Id: Iaa45fbc5d91cfb47e7e60e549469e74dc5ffe369
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-06 20:36:15 -05:00
Sergey Prigogin
d4c3e42e7e Reimplemented IndexUI.getTranslationUnit(IASTName) method.
Change-Id: Icb13f2d8d4370c670053a52aeb226d4853ce4b44
2016-01-06 19:19:30 -05:00
Lukas Wegmann
537178b4e4 Bug 477611 - Add support for C++14 Variable Templates
Change-Id: Ib3f7097ff35fb1d332dde39b28fc25461e3f3e03
Signed-off-by: Lukas Wegmann <lukas.wegmann@hsr.ch>
2016-01-06 13:11:23 -08:00
Jonah Graham
cedcf7655b Bug 472765: more complete tests for source path mapping
Add some more tests for source path mappings to ensure that the upcoming
change of using gdb's set substitute-path does not regress any issues.

Change-Id: I9067c8859293c3332439679cb1f663e36a4cc34e
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-06 12:46:20 -05:00
Jonah Graham
59d0f15afe Bug 484894: Update generification of DisassemblyDocument
This fix follows on from af49d7701a and
redoes the generification changes brought on by the AbstractDocument
changes for Neon M4.

The earlier fix (af49d77) made a copy of the list to work around the
casting problem, however many of the methods that work on the positions
expected access to the real list, not a copy.

For example, consider addModelPositionFirst(), it gets the
CATEGORY_MODEL list and then adds to it. If getAddressRangePositions
returned a copy, then the wrong list would be updated.

Change-Id: I36ca589ba748b66541c632182aceaf0b0b64aea4
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-06 10:58:16 -05:00
Adrian Oltean
afa0449e30 Bug 485195 - Add gdbserver options in 'Gdbserver Settings' tab
Change-Id: I4e691c16641bb2a620f8146f7371716435783049
Signed-off-by: Adrian Oltean <adrian.oltean@nxp.com>
2016-01-06 10:33:35 +02:00
Alena Laskavaia
3763208ee8 project specific error settings for cdt.build.core
- and fix NPE (comment out code which seems to be incomplete)

Change-Id: Ided5116fcbda959c68c96b5f8630284f93b76dbf
2016-01-05 19:49:47 -05:00
Marc-Andre Laperle
b1104da01e Clarify null handling in javadoc of ProcessClosure constructor
The javadoc of ProcessClosure specifies that outputStream/errorStream
"Can be null, if not interested in reading the output" but that's not
correct: passing null triggers NPEs. This patch updates the javadoc to
specify that null is not handled.

Change-Id: Iea65486cc938d1f3bf7f0beb479b2329c9f0ecdc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-05 14:09:54 -05:00
Andrew Gvozdev
79f4bf7d1a Bug 485028: Toggle Comments for Makefile Editor
Change-Id: I40b6daca54aa17022971df0749d1c4d7708a6564
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2016-01-05 09:06:03 -05:00
Marc Dumais
d4c89d2341 bug 485170 - wrong request monitor passed in
DefaultVMProxyStrategy#buildChildDeltasForEventContext()

Change-Id: Ief972f99581b467e4a19495a989240cf7b7f522d
2016-01-05 07:33:14 -05:00
Marc-Andre Laperle
e6a4fe47b3 Bug 463723 - GCC output parser cannot parse macro with a combination of
quotes and escapes

Change-Id: I7b07d3e2cc706f5e7839189bd2968f69c5cad28c
2016-01-04 11:45:31 -05:00
Doug Schaefer
0ee5ad92f1 Bug 485100 - Fix Arduino Libraries Page.
Check behavior wasn't working correctly. Added check state provider
and listeners instead of the hack I had.

Also add a feature dependency from Arduino to the remote launch
feature. This should have been done in the previous commit.

Change-Id: If9957a35e90875aca7767dcab610316801c28aeb
2016-01-04 10:09:33 -05:00
Jonah Graham
e9d5637eca Bug 483234: Add a command example to the example plug-in
A new command, ShowVersionHandler, has been added to the plug-in to
demonstrate all the pieces that need to be put in place to connect
a command to a DSF session.

Change-Id: Iefde0ba144c12ce2e580da7717b390258c0d3675
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-01-04 09:42:13 -05:00
Sergey Prigogin
ec9a9fb5c7 Implemented is_empty type trait.
Change-Id: I1bb6fc98920eded16186889d66e33a7ca7432456
2016-01-03 22:10:54 -08:00
Marc Khouzam
f3ff649041 Fix copyright of all CDT plugins using the copyright tool from platform.
This commit does not add missing copyrights, just updates the date on
the existing ones.

Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2016-01-03 20:38:31 -05:00
Sergey Prigogin
25b1d6d57e Adjusted JavaDoc. 2016-01-03 17:18:31 -08:00
Nathan Ridge
db27a94a9e Bug 484959 - Instantiate return expression of constexpr function
template

Change-Id: If9f181581924395ba575167b34aca89a88931578
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-01-03 01:47:44 -05:00
Sergey Prigogin
604f391865 Adjusted JavaDoc. 2016-01-01 19:01:29 -08:00