1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00
Commit graph

23774 commits

Author SHA1 Message Date
Doug Schaefer
a81fcd9376 Reuse Anrduino remote connections when fetching.
Change-Id: I776cf031f34b51ed504709d367b6b0352c868815
2015-05-23 23:11:39 -04:00
Doug Schaefer
3688cd7f04 Support Arduino C++ on Windows. Move entire Makefile into template.
Also added the command shell console to the cdt 4.5 target so we can
test the Arduino command shell.

Change-Id: I185f9b39d23a6718204112e1fd4388c2458f7e5e
2015-05-23 21:42:36 -04:00
Doug Schaefer
8292adcb90 Try and fix missing about file in native.serial.source. 2015-05-21 10:18:12 -04:00
Doug Schaefer
9b7138d0f0 Clean up Arduino projects, remove Maven natures.
Change-Id: I063508705b6d469fb6bb28b077ebcbf2b9793afa
2015-05-20 22:40:54 -04:00
Doug Schaefer
992e691e10 Start work to build against the Arduino IDE. 2015-05-19 22:46:31 -04:00
Marc-Andre Laperle
27f92db644 Bug 460167 - RCP for the Stand-alone debugger
This patch creates a product so that the stand-alone can be downloaded
without
the rest of the C/C++ EPP. It also makes it easier to use because the
user only
has to launch the executable, just like a regular Eclipse instead of
finding
the script.

To try the RCP:

mvn clean package -Pbuild-standalone-debugger-rcp

The result (tar.gz) is available under
debug/org.eclipse.cdt.debug.application.product/target/products
Once extracted, it can be started just like the normal script:
./cdtdebug -e myexecutable

Change-Id: Ifb849af8a8f2ec03abcae57cf43d57cde2333759
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-19 14:35:05 -04:00
Doug Schaefer
4767f17971 Adjust to removal of special launch config delegate for remote.
Change-Id: I767ca01a8a233b2b6ab197991a696b4deef52b8c
2015-05-19 14:16:37 -04:00
Marc Khouzam
d72dfae230 Play it safe for RC1 and add Remote attribute
May prove not to be needed but we don't have time to check right now.

Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-19 14:04:20 -04:00
Jeff Johnston
89334c92a0 Add Docker launching support
- use the new docker tooling plug-ins to launch and debug
  CDT C/C++ applications in docker containers

Change-Id: I30689255a3443ce6d49f937f5e2506d86452915b
2015-05-19 13:54:52 -04:00
Doug Schaefer
2e92a33169 Adjust to the final launch config API.
Change-Id: Ia539832e9e8c4d95cdac9295aae7f56552f10a2b
2015-05-18 23:35:12 -04:00
Doug Schaefer
1e7ebf5d87 Step 1 of adapting Arduino IDE to new Launch Bar API.
Change-Id: I5fcfcde182eff8a5cc34d64f75ba5deea9487770
2015-05-18 02:09:42 -04:00
mazab
ed26026034 Bug 461378
Adding margins to configure settings pages.

Change-Id: Ic9e8df3d73f66a47a53726c8fc115f3397436c37
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-05-15 17:49:38 -04:00
Marc Khouzam
cf6b8c725f Bug 466492 - Remove console when removing exited processes
Change-Id: I029c89d81fc0f0e96dc8f3b160ea5286b0adb5ba
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
(cherry picked from commit 0ec42e99dd)
2015-05-15 10:26:17 -04:00
Sergey Prigogin
096aa0f966 Bug 467359 - NPE in ProblemHighlighting.consumes
Change-Id: Ifc59349cb7995846a061ff39e7fe4e2d33384d61
2015-05-14 20:56:02 -04:00
Sergey Prigogin
cfd440afca Bug 467358 - NPE in CVisitor.getContainingBlockItem
Change-Id: I5f682df17b9e85539cfb033699d8d1346ead6a25
(cherry picked from commit 1573d6467d)
2015-05-14 20:52:20 -04:00
Nathan Ridge
323c3119e7 Bug 466861 - Do not lose template parameters of derived class when doing
access checking for content assist

Change-Id: I850bc2c1f7f49682fc51ad5be621a7125936dd08
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-05-13 11:47:32 -07:00
Nathan Ridge
d1144031b3 Bug 466861 - Some minor code cleanup in AccessContext
Change-Id: I10145cc5d739d55e7f1594d6747fd9c1b73c7f05
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-05-13 11:47:21 -07:00
Marc Khouzam
0434220f80 Bug 467109 - Add new dependency to standalone debugger.
Looks like platform 4.5 now depends on
org.eclipse.e4.core.di.annotations

Change-Id: Ic7ecde8e52c825a563956ffeb1b56407f6d98325
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-12 15:52:52 -04:00
Doug Schaefer
46f84a4b03 Bug 466941 - fix Anduino plugin names and providers.
Externalize them and give the proper provider (not me :).

Change-Id: Ic47a0c1251c50a05b3058a9e22fb869045babd47
2015-05-11 16:51:20 -04:00
Marc Khouzam
0ca3244fbb Point cdt_8_7 build to its own location
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-11 15:58:04 -04:00
Jonah Graham
406950d31f Bug 467023 - Minor updates to the DSF Programming Intro
- Add a note about turning pre-processor off so edits made as part of
  the tutorial are not overwritten
- Add missing ConfinedToDsfExecutor for Exercise 4
- Fix typo

Change-Id: I790fc2e3f640510a665a9a29a04f20502af7c710
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-05-11 19:00:33 +01:00
Jonah Graham
71d0155caf Bug 464919: Set REQUESTED_* fields to initial values
When creating BP with dialog, make sure it starts out as
not-relocated.

Change-Id: Ia5b703315ce4a6ea55bac584097b255f08b19b17
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-05-11 12:14:35 -04:00
Nathan Ridge
0ff408c238 Bug 466845 - Parameter pack of reference type as field owner
Change-Id: Ib1a04bbe50817db5400c70d494fd9d938458020f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-05-10 18:32:13 -04:00
Sergey Prigogin
76d4831878 Revert "Bug 466362 - StackOverflowError involving self-referencing template definition"
This reverts commit cfd51db02b.
2015-05-08 14:48:46 -07:00
Sergey Prigogin
7f376ffdd7 Replaced XXX tags with TODO. 2015-05-08 14:41:01 -07:00
Sergey Prigogin
ef33d0d299 Fixed an NPE.
Change-Id: If2455671e50e99a662d469febc8e5babf7fc24e3
2015-05-08 14:40:30 -07:00
Sergey Prigogin
cfd51db02b Bug 466362 - StackOverflowError involving self-referencing template
definition

Change-Id: Ia5e6316e6246857533047a0791b22facea8c3271
2015-05-08 14:11:17 -07:00
Stefan Xenos
f893d9590c Replace SubProgressMonitor with SubMonitor
Signed-off-by: Stefan Xenos <sxenos@google.com>
Change-Id: Iabdf98ac10cbf9924c0b85e446a2de22f609deea
2015-05-08 14:22:27 -04:00
Marc Khouzam
79ff9f136c Change output to fix failing tests.
The cause of the different output is a change in o.e.core.resources
where the order of visiting a project has changed to become
alphabetical.  See 
http://eclip.se/461838

Therefore, our benchmark files must also have the output of
subdirectories in alphabetical order.

Change-Id: I3331649cf516adbe3b453b11f1ed6733a007ce4d
2015-05-08 09:04:37 -04:00
Sergey Prigogin
909122f9e3 A minor performance optimization. 2015-05-07 17:54:53 -07:00
Sergey Prigogin
ef75f97a97 Cosmetics. 2015-05-07 17:54:51 -07:00
Stefan Xenos
4dc26f9a20 Switch from SubProgressMonitor to SubMonitor to improve progress
reporting.

Signed-off-by: Stefan Xenos <sxenos@google.com>
Change-Id: Ibd635b59d17e88f93439c7041994b6006d74434e
2015-05-07 12:57:31 -04:00
Sergey Prigogin
07117f922a Cosmetics. 2015-05-06 18:11:14 -07:00
Sergey Prigogin
f14b41343a Cosmetics. 2015-05-06 17:36:57 -07:00
Sergey Prigogin
0f25dd18d3 Cosmetics. 2015-05-06 12:49:14 -07:00
Sergey Prigogin
fa989bde50 Moved TypeMarshalBuffer from org.eclipse.cdt.internal.core.pdom.db to
org.eclipse.cdt.internal.core.pdom.dom

Change-Id: Ie4614ba8972cf6cb86ccfa5ef3d5cbc620fe9787
2015-05-06 11:25:40 -07:00
Sergey Prigogin
15da05324a Cosmetics. 2015-05-06 10:18:08 -07:00
Sergey Prigogin
89ae641793 Fixed a resource leak. 2015-05-05 18:25:41 -07:00
Sergey Prigogin
e8e43a37f8 Fixed a compiler warning. 2015-05-05 15:59:48 -07:00
Sergey Prigogin
7bc5a81935 Cosmetics. 2015-05-05 10:22:25 -07:00
Marc Khouzam
956ae66e83 Update p2.inf for 8.7 release
Change-Id: Ie98c5cd10163a777e1de886c68750136e221fa28
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-05 10:31:46 -04:00
Doug Schaefer
3c1869984a Fix layout of Arduino feature files. 2015-05-04 23:08:03 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Doug Schaefer
8432a50e01 Bug 466209 - Add Arduino to category.xml
Change-Id: Iee345c76a57edf1b5c85feea8a2988ce37ed1e65
2015-05-04 19:40:07 -04:00
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