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

23730 commits

Author SHA1 Message Date
Doug Schaefer
076e141b69 Bug 466209 - Initial commit of Arduino plugins.
Includes freemarker jar which we have CQ approval for.

Change-Id: I8f36cd7f4539497bab5f106f84216f75a25da3a0
2015-05-04 16:34:10 -04:00
Simon Marchi
cb16665cc7 Bug 293832 - [dsf-gdb] Ask gdb for variable value, even if it is a complex type
Currently, CDT does not ask GDB for the value of the variables it
believes to be of complex types, such as structures. However, as
described in the bug, it assumes that a typedefed pointer is a complex
structure. Because of that, it displays a value of "{...}" for it
instead of the pointer value.

By asking GDB for the value of the variable even if it's of a complex
type, CDT will always display the right thing for the value. This will
cause a few more -var-evaluate-expression calls, but their number is
still limited to what is visible in the variables view. So the impact
should be negligible.

Screenshot of before/after:
	http://i.imgur.com/Sx5ZPfO.png

It is still impossible to edit the value, but this would be addressed in
another patch.

Change-Id: I92e6ead6351677e098a56d4af5bdb85fc61df080
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-05-04 16:03:18 -04:00
Marc-Andre Laperle
9f39b4828d Bug 464222 - Trying to create a new remote launch gives a NPE
This could happen if a project was selected before creating the launch
and the project was missing a project description. For example, if the
.cproject was missing.

Change-Id: I3ecea6c4ee3cd3939c07ade361b2180fd86e6949
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-02 09:16:21 -04:00
Jesper Eskilson
01a1046fa1 Fixed copy-paste-bug causing the wrong variable to be checked in a
conditional.

Change-Id: I4156b612b955dc5ac648b4d331ac9537f8b182f9
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2015-05-01 20:42:11 -04:00
Mikhail Khodjaiants
0215bdc330 Bug 465963 - Changing "Variable text font" preference has no effect
Change-Id: Ibe7dc5a5dbdbdd698f13094f220bf00255ad6221
2015-05-01 20:39:15 -04:00
Marc Khouzam
d533adec3c Bug 407340 - Keep showing in the Debug view a process that has exited
Change-Id: Ib4a1c80d99b1a311c781ea1f481943982cdf0cbd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 15:41:58 -04:00
Marc Khouzam
a19bbeb962 Bug 464636 - Modernize TestsRunner Run launch
The TestsRunner Run launch automatically inherits the Run launch from
CDT but specifies the tabs itself.  Now that we modernized the CDT Run
launch and use CMainTab2, we should do the same for TestsRunner.

Also, remove the source tab for the TestsRunner Run launch; that tab is
only for debugging.

Change-Id: I4d412787f4e937ae776f01470f4c63746589ef75
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 11:37:00 -04:00
Marc Khouzam
1ac11fc4bf Bug 463975 - Show exit code in console when doing a Run
Change-Id: I97fe993e33f1774133aa7cfd488e6e549dae2e0a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-01 11:27:01 -04:00
Simon Marchi
c4f5c35620 [dsf-gdb] debug tests: Remove useless try/catch
The try/catch doesn't add anything. If getStackTrace throws, the test
will fail and will show the useful stack trace.

Change-Id: Icf453ff2ca6c10a32f264fece0f0db9af8049612
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-05-01 10:10:58 -04:00
Mikhail Khodjaiants
9d848e3ede Revert "Bug 465963 - Changing "Variable text font" preference has no effect"
This reverts commit 6d6666df33.
2015-04-30 12:36:45 -04:00
Mikhail Khodjaiants
6d6666df33 Bug 465963 - Changing "Variable text font" preference has no effect 2015-04-30 12:16:25 -04:00
Marc Khouzam
2c70025486 Wrong error code used.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 11:41:06 -04:00
Marc Khouzam
acda777315 Bug 464078 - Support project-less Run
Change-Id: I69e655a65533e4cb835df59c9ff6ffa8152b92ff
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 09:25:56 -04:00
Marc Khouzam
bd66f35865 Bug 464636 - Modernize Run launch
Change-Id: I1c7a4cbbcd00f3967fe9cdbc1fc4b6e0b4d4d14f
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-30 09:17:51 -04:00
Marc-Andre Laperle
0ad4b3660a Upgrade eclipse-jarsigner-plugin to 1.1.2-SNAPSHOT to fix build failures
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=464947

Change-Id: I1945de8de4f7ea62949743d919f0db0a73635e2a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-04-28 11:05:14 -04:00
Sergey Prigogin
958d5a8a3d Revert "Bug 438549 Add mechanism for parameter guessing."
This reverts commit a2cff345b1.

Reverted due to a serious performance regression.

Change-Id: I90a5b4ded9b7180cf10f1fba64bca897a2040013
2015-04-26 01:17:08 -04:00
Marc Khouzam
0c2af8d5ce Bug 464056 - Wrong exit code returned in some multi-process cases
Change-Id: I71c3aca8c8c98494408d2a7677d2837768592b09
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 15:51:26 -04:00
Marc-Andre Laperle
ba5e0ca0f5 Fix two modules having the same artifactId and groupId
org.eclipse.cdt.launch.remote and org.eclipse.cdt.launch.remote-feature had
the same artifactId and groupId. This made Sonar fail and is probably an
oversight anyway.

Change-Id: I026e5a67ddd811db75c1b0cb59dcb734fce9f446
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-04-24 12:42:46 -04:00
Marc Khouzam
7320ded57d Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 10:49:48 -04:00
Marc Khouzam
230a67daa5 Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-24 10:30:09 -04:00
Marc Khouzam
493e6b3fac Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 13:09:34 -04:00
Marc Khouzam
d92be4a40e Clarify where the extra tab comes from
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 13:06:14 -04:00
Marc Khouzam
9a17afc602 Costmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:18:43 -04:00
Marc Khouzam
52b36d6b0a Bug 464636 - Re-create dsf.gdb CMainTab for backwards compatibility
Change-Id: Ibf3f2ee8722ceeb5609389ce0f5a131841d3950b
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:02:40 -04:00
Marc Khouzam
6b134ee043 Bug 464636 - Move CMainTab from o.e.cdt.dsf.gdb to
o.e.cdt.launch.CMainTab2

Change-Id: I5f0cf6d03858e78d95da5356dad36930ed4877b2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 11:00:36 -04:00
Marc Khouzam
7d3c3bcfe8 Bug 464636 - Example of adding a tab to the Run launch
Change-Id: I6d557ca787b3bf400e6bfbb3f9a6b219ecb003f9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-22 10:40:04 -04:00
Marc Khouzam
479cd95c3a Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-21 16:07:16 -04:00
Anton Leherbauer
ce8be9513d Bug 349564 - The 'Binaries' node does not always disappear when project is cleaned
Change-Id: I511582a66f4b63b15732512093f30da08fa13ed4
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-04-21 08:29:20 +02:00
Marc Khouzam
2c56fe5406 Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-20 14:22:19 -04:00
Jonah Graham
f6cc476a95 Bug 464918: Fix broken externalized strings
Change-Id: I7e1aad4553b7c370618f80d3fd611649bed9b819
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-04-20 13:42:56 -04:00
Marc Khouzam
da1993169d Typo
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-20 10:37:35 -04:00
Marc Khouzam
ecf21ca882 Move to new getAdapter() signature using generics
Change-Id: If51cc778c1b7e7dfea7a6fb3b7f39acea56aa330
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-18 22:03:17 -04:00
Marc Dumais
9cc312e1fe Bug 462353 - [visualizer] Add support for persistent List<T> and
Map<String,T> parameters in PersistentSettingsManager

Change-Id: I77fc411e7484e41a9b66bf388a4120bc51a78549
2015-04-17 14:59:36 -04:00
Marc Khouzam
d071e969b7 Bug 462623: Split GdbAdapterFactory to allow overriding
Change-Id: Icb9b8d03c070afa8bdea5218d5d4a1aad5d86ebb
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-17 11:24:08 -04:00
Alena Laskavaia
0fec0f9cd3 Bug 464639 - DsfSourceLookupParticipant throwing exception on unknown
object

Change-Id: Iac79f1e942c90d700f5f6275da44ea89597aa3b2
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-04-17 11:07:56 -04:00
Sergey Prigogin
2015ebc3d0 Protect against NPE. 2015-04-16 19:47:43 -07:00
Sergey Prigogin
3c61ffa5ef Protect against NPE. 2015-04-16 14:00:55 -07:00
Marc-Andre Laperle
5da5634038 Fix version format for memory.floatingpoint
This would make Tycho 0.23.0 fail. See bug 464649.

Change-Id: I4e4ce6fc2714b5179eeb7fdd16c9461517d67a47
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-04-16 10:33:08 -04:00
Sergey Prigogin
100054d69a Cosmetics. 2015-04-15 14:34:52 -07:00
Marc Khouzam
3f8305fc0f Move to new getAdapter() signature using generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 15:39:36 -04:00
Sergey Prigogin
30b6492de1 Generified getAdapter method. 2015-04-15 11:42:01 -07:00
Marc Khouzam
2335e8b93b Move to new getAdapter() signature using generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 14:02:24 -04:00
Marc Khouzam
7c8b2459d5 Move to new getAdapter() signature using generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 13:36:20 -04:00
Marc Khouzam
39fa80d9de Update to use generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-04-15 13:19:11 -04:00
Doug Schaefer
860e0af8c8 Bug 463981 Move preference loading to UI thread.
A couple of lines in the CUIPlugin.start() method load preferences.
This can only be done from the UI thread since it eventually loads up
colors which can only be done on the UI thread. This change moves
those two lines to a UIJob.

Change-Id: I692a81d5a38f63c506dc73da93df6c2e9e4b6192
2015-04-13 13:26:58 -04:00
Jeff Johnston
61200ab252 Fix CLang Toolchain enablement
- Fix LlvmEnvironmentVariableSupplier.getDirIfLlvmFound method
  which was not bothering to look for llvm-ar in the user's path
  because it would only set its internal llvmPath variable if
  directories ended in '/' or if a subdir was provided which is
  not the case for it being called from LlvmToolChainSupported
- set the llvmPath to the candidatePath at the beginning so the
  test will be performed

Change-Id: I4b93fb3e569c32cff580c57dbedbe730dbbe057e
2015-04-13 13:01:14 -04:00
Simon Marchi
84a53f8d80 [dsf-gdb] Remove usage of AsyncCompletionWaitor in MIMemoryTest.asynchronousReadWrite
Change-Id: I700736eea51f5aa5292143e11a259c958af2a68e
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-04-13 11:05:42 -04:00
Anton Leherbauer
c0ce0a2b8c Bug 313431 - The Binaries folder in the C/C++ view disappears sometime
Change-Id: Iccde8b904de9ba4083ecd0471f9e14e12b54e62e
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-04-13 09:40:20 -04:00
Sergey Prigogin
20328a9961 Revert "Bug 462353 - [visualizer] Add support for persistent List<T> and
Map<String,T> parameters in PersistentSettingsManager"

This reverts commit e329e6a518.

Change-Id: I8aef5384e73a62a3efc21ea046a71a1bf5f5e1d6
2015-04-12 15:43:20 -07:00
mazab
a2cff345b1 Bug 438549 Add mechanism for parameter guessing.
Change-Id: Ia7a8a20a00b6d33c694cac79cfa69c366a372708
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-04-12 11:29:35 -07:00