sdk/ide/org-eclipse-cdt.git
8 years agoRemoved a duplicate built-in function definition.
Sergey Prigogin [Tue, 22 Dec 2015 00:10:49 +0000 (16:10 -0800)]
Removed a duplicate built-in function definition.

Change-Id: Ic3291375188e3c5ebd9ce452782c65c2fb00e286

8 years agoBug 484162 - Instantiation of friend of nested class inside template
Nathan Ridge [Wed, 16 Dec 2015 00:49:29 +0000 (19:49 -0500)]
Bug 484162 - Instantiation of friend of nested class inside template

Change-Id: I28377e20ce63c3e22ea561a98773e73484edf09a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 481070 - Improved an error message.
Sergey Prigogin [Tue, 1 Dec 2015 19:00:14 +0000 (11:00 -0800)]
Bug 481070 - Improved an error message.

Change-Id: I7f5e18d723b4ba7afeff757252a50b00f48a6ac6

8 years agoBug 481070 - Parameter completion doesn't work inside lambda
Sergey Grant [Tue, 1 Dec 2015 04:02:26 +0000 (20:02 -0800)]
Bug 481070 - Parameter completion doesn't work inside lambda

Change-Id: I32b0cf54dd349e04fddca17f4141e7fee06f2562
Signed-off-by: Sergey Grant <sergey.grant@me.com>
8 years agoBug 479138 - Impose a global template instantiation depth limit
Nathan Ridge [Fri, 27 Nov 2015 01:46:50 +0000 (20:46 -0500)]
Bug 479138 - Impose a global template instantiation depth limit

This protects against rogue template metaprograms that don't terminate.

Change-Id: I9558ceaaed17baddbed84aac67a3c72397b62b64
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 479138 - Allow index tests to specify that recursion resolving
Nathan Ridge [Fri, 27 Nov 2015 02:29:11 +0000 (21:29 -0500)]
Bug 479138 - Allow index tests to specify that recursion resolving
bindings are allowed

Change-Id: I3a55cbb1062e8edf4b84920738c9d1cca02b65d6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 479138 - Make template instantiation fail if a non-type argument has
Nathan Ridge [Fri, 27 Nov 2015 01:31:38 +0000 (20:31 -0500)]
Bug 479138 - Make template instantiation fail if a non-type argument has
Value.ERROR as its value

This avoids infinite recursion in metaprograms whose termination depends
on the inputs being known.

Change-Id: Ic6972188f69bf324431ce1331ad079fbf2c9039e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 477359 - Completion node inside attribute specifier
Nathan Ridge [Fri, 27 Nov 2015 07:33:54 +0000 (02:33 -0500)]
Bug 477359 - Completion node inside attribute specifier

Change-Id: I54902dc41834943a3fcfcca60ebbc2944fa0a68a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 482421 - Ensure enumerations stored in the index return their
Nathan Ridge [Wed, 25 Nov 2015 07:48:53 +0000 (02:48 -0500)]
Bug 482421 - Ensure enumerations stored in the index return their
enumerators in the order of declaration

Change-Id: I49eec356a1b241b1dbe3eb9b7744adce5816a7c5
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 479638 - Cache the result of EvalBinding.isConstantExpression()
Nathan Ridge [Thu, 26 Nov 2015 19:43:50 +0000 (14:43 -0500)]
Bug 479638 - Cache the result of EvalBinding.isConstantExpression()

This helps avoid infinite recursion when a variable's initializer
references itself.

Change-Id: I4667536ebbefd2008afe9003617092a0a5693db0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 480825 - Raise CPPSemantics.MAX_INHERITANCE_DEPTH to accommodate
Nathan Ridge [Wed, 25 Nov 2015 23:50:00 +0000 (18:50 -0500)]
Bug 480825 - Raise CPPSemantics.MAX_INHERITANCE_DEPTH to accommodate
patterns used by some commonly-used libraries

In particular, Boost.MPL supports compile-time computations with type
lists of up to 20 elements, which require a depth of 40 to support

Change-Id: I89b33205837f0acdb84e2d79cef53ec636a6bc8a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 479528 - Make an indexer error message more informative
Nathan Ridge [Fri, 27 Nov 2015 06:56:58 +0000 (01:56 -0500)]
Bug 479528 - Make an indexer error message more informative

Change-Id: If58c3aa66ebcf15d0a21fd765b64e75bc1137b86
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 480892 - Compare bindings by value equality during final overrider
Nathan Ridge [Fri, 27 Nov 2015 06:01:15 +0000 (01:01 -0500)]
Bug 480892 - Compare bindings by value equality during final overrider
analysis

Change-Id: I6a530710bdd5ea029726f8ed42e8a3c11f39996b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
8 years agoBug 366039: Internal Builder reduced build step input resource count
John Dallaway [Mon, 26 Oct 2015 11:00:04 +0000 (11:00 +0000)]
Bug 366039: Internal Builder reduced build step input resource count

Change-Id: I7c7c8ba5d1bf7b96bbef66449ea6470f3c266f98
Signed-off-by: John Dallaway <john@dallaway.org.uk>
(cherry picked from commit e62e2772fe26628dbdc0cf86675983f7c399e7aa)

8 years ago[disassembly] Do not reuse label position for creating bp annotation
Anton Leherbauer [Tue, 15 Dec 2015 14:03:22 +0000 (15:03 +0100)]
[disassembly] Do not reuse label position for creating bp annotation

8 years agoBug 484285 - Slightly better install/uninstall Arduino package icons.
Doug Schaefer [Mon, 14 Dec 2015 02:39:52 +0000 (21:39 -0500)]
Bug 484285 - Slightly better install/uninstall Arduino package icons.

Change-Id: Iaf8540ff8362b428696b1155a266dcd69f5bef10

8 years agoBug 480580 - [Arduino] Be more flexible about serial port names.
Doug Schaefer [Tue, 8 Dec 2015 01:28:21 +0000 (20:28 -0500)]
Bug 480580 - [Arduino] Be more flexible about serial port names.

Allow empty for testing or setting up and allow freeform in case the
desired serial port doesn't match our filter.

Change-Id: Iff94b6b7fcb0acf4d2109e818c3b5de9a013086e

8 years agoBug 483729 - Make Arduino upload a proper launch.
Doug Schaefer [Mon, 7 Dec 2015 01:23:26 +0000 (20:23 -0500)]
Bug 483729 - Make Arduino upload a proper launch.

Creates and ArduinoLaunch object to manage the pause and resume of the
serial port on launch and terminate. Registers the uploader process
with the debug framework so that it's connected properly to the launch
and the console.

Change-Id: If14cf8ddf2c1b6ceda19bce8d37e07ebce9700f2

8 years agoBug 482784 - Include gcc generated make dependency files.
Franz Schnyder [Sun, 22 Nov 2015 14:57:44 +0000 (15:57 +0100)]
Bug 482784 - Include gcc generated make dependency files.

So that also changes in header files are recognized. This ensures that
source files that include changed header files are recompiled during the
next build.

Change-Id: Ice5439fe42cf5039a2520ee0290fbd93ee985f6f
Signed-off-by: Franz Schnyder <schnyderfranz@gmail.com>
8 years agoUpgrade to Tycho 0.24.0
Marc-Andre Laperle [Fri, 23 Oct 2015 14:25:35 +0000 (10:25 -0400)]
Upgrade to Tycho 0.24.0

See https://wiki.eclipse.org/Tycho/Release_Notes/0.24

Change-Id: I643c3e47ebc74b8cae468bf4d913566dc79e7bf7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoOops, missing class.
Doug Schaefer [Wed, 2 Dec 2015 02:04:49 +0000 (21:04 -0500)]
Oops, missing class.

Change-Id: Iff3e390e338c283d4c2f8a7f469eff7283cbf3e6

8 years agoBug 480575 - Arduino install and upgrade by platform.
Doug Schaefer [Tue, 1 Dec 2015 21:10:46 +0000 (16:10 -0500)]
Bug 480575 - Arduino install and upgrade by platform.

Changes from a Board based install UI to a Platform based one which
is more honestly what it does. Adds support for upgrading platforms.
Also moves the hardware and tools under the platforms directory
to match what the Arduino IDE does.

Change-Id: I1ff4ad1178439dd1e51a7594870596e0cbe34afb

8 years agoBug 478462 - LLVM feature description is copied from CDT p2 feature
Marc-Andre Laperle [Thu, 12 Nov 2015 14:46:37 +0000 (09:46 -0500)]
Bug 478462 - LLVM feature description is copied from CDT p2 feature

Change-Id: I3a5351a6997633b768eea9dc52a826b3a33e2702
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit e59d20f0baab99d0fc30d54ec293eeb7f8c6363b)

9 years agoBug 469788 - Ambiguous node in initializer in trailing return type
Sergey Prigogin [Fri, 6 Nov 2015 04:33:17 +0000 (20:33 -0800)]
Bug 469788 - Ambiguous node in initializer in trailing return type

Change-Id: Iff81cad75a57c9482ada515a9e9a34d5d1a956d3

9 years agoBug 481274 - ArrayStoreException in parser
Sergey Prigogin [Mon, 2 Nov 2015 20:30:31 +0000 (12:30 -0800)]
Bug 481274 - ArrayStoreException in parser

Change-Id: I4ee9484794925efbb86d7621bbbf5f9932f31773

9 years agoBug 481469 - Support new archive_file_path var in Arduino 1.6.9.
Doug Schaefer [Thu, 5 Nov 2015 17:02:29 +0000 (12:02 -0500)]
Bug 481469 - Support new archive_file_path var in Arduino 1.6.9.

Change-Id: I1aa9473ad50418d908993c7b39929e5d73b34685

9 years agoBug 480585 - Better handling of default config.
Doug Schaefer [Mon, 2 Nov 2015 03:32:12 +0000 (22:32 -0500)]
Bug 480585 - Better handling of default config.

We no longer create a default config. Instead we use the Eclipse
default and select a default board for it. At build time though we
make sure we create a new one for it.

Change-Id: I11bd9e67f1df160d5a660d383eb37a74da8ec38c

9 years agoBug 480577 - Add an empty tab group for Arduino launch configs
Doug Schaefer [Mon, 2 Nov 2015 00:14:49 +0000 (19:14 -0500)]
Bug 480577 - Add an empty tab group for Arduino launch configs

This prevents the error in the launch config dialog so you can delete
orphaned configs.

Change-Id: I9c33547a506b32260f4a258ec1911f32fd363df2

9 years agoBug 481199 - Add support for cu.usb... devices on Mac.
Doug Schaefer [Sun, 1 Nov 2015 23:39:02 +0000 (18:39 -0500)]
Bug 481199 - Add support for cu.usb... devices on Mac.

Apparently needed by the Intel Arduino boards.

Change-Id: I5e1b7c3876dc042f8d8df2ba95df258157fd5c61

9 years agoBug 481161 - Namespace resolution problem with index
Sergey Prigogin [Fri, 30 Oct 2015 23:02:44 +0000 (16:02 -0700)]
Bug 481161 - Namespace resolution problem with index

Change-Id: I2adaa53647bcd67f0a1058de4d44dbc808ff84a9

9 years agoBug 472950 - Fixed an infinite loop in content assist inside a body of a
Sergey Prigogin [Thu, 29 Oct 2015 01:01:03 +0000 (18:01 -0700)]
Bug 472950 - Fixed an infinite loop in content assist inside a body of a
lambda.

Change-Id: I5194571ba8a88e67e9cc897be463c5e833700000

9 years agoBug 480602 - Add delay to serial port close.
Doug Schaefer [Thu, 29 Oct 2015 02:38:27 +0000 (22:38 -0400)]
Bug 480602 - Add delay to serial port close.

The FTDI drivers are slow at closing and don't wait for the close to
happen. Adds a one second delay. Also upgrades the project files for
VS 2015.

Change-Id: Iccb77f3c9f4b5dc73a9529c1d0eab940391ce95d

9 years agoBug 480603 - Support Intel's crazy tarballs and such.
Doug Schaefer [Mon, 26 Oct 2015 15:56:44 +0000 (11:56 -0400)]
Bug 480603 - Support Intel's crazy tarballs and such.

Includes +'s in file names. Also fixed up how we unpack the links
inside tarballs.

Change-Id: I09a7e6a4a6f1c2db91f3f429f313eaff67fc84db

9 years agoBug 480603 - Deal with extra file in Intel's tarballs for Arduino.
Doug Schaefer [Mon, 26 Oct 2015 03:37:03 +0000 (23:37 -0400)]
Bug 480603 - Deal with extra file in Intel's tarballs for Arduino.

Change-Id: I575496e490959defe5fe978664bac87b7e53fede

9 years agoBug 480579 - Put platform libs into proper categories.
Doug Schaefer [Mon, 26 Oct 2015 00:20:07 +0000 (20:20 -0400)]
Bug 480579 - Put platform libs into proper categories.

I had created a category for platform libraries, but some of those
libraries actually belong to real categories. So, let's just use
them instead.

Change-Id: Ie94b546e4c21b2d6b545becc781ca0dc02f5379d

9 years agoBug 480109 - Force Shell on windows to be ComSpec (cmd)
Doug Schaefer [Sat, 24 Oct 2015 17:01:27 +0000 (13:01 -0400)]
Bug 480109 - Force Shell on windows to be ComSpec (cmd)

Change-Id: I35e7710c3a6eb27ba6d30a46fe1e585bd4296036

9 years agoBug 480287 Uncategorized libs were losing their parent.
Doug Schaefer [Sat, 24 Oct 2015 15:38:21 +0000 (11:38 -0400)]
Bug 480287 Uncategorized libs were losing their parent.

This badly affected the check behavior since it couldn't find it in
the tree.

Change-Id: Ic77c9d45568f31f9563d2c1a93040291e28b20df

9 years agoBug 480508 Add support for ttyACM serial ports.
Doug Schaefer [Sat, 24 Oct 2015 15:28:39 +0000 (11:28 -0400)]
Bug 480508 Add support for ttyACM serial ports.

Change-Id: I166c8d09c2ff59f113ceb82971b8d61e676f7b53

9 years agoBug 480407 - Arduino Yún name is mangled in the UI
Benjamin Cabé [Thu, 22 Oct 2015 11:22:36 +0000 (13:22 +0200)]
Bug 480407 - Arduino Yún name is mangled in the UI

Chain the FileReader (which uses default character encoding) with an InputStreamReader in order to force UTF-8 encoding

Change-Id: Ia32c079a18f580e36f1629182bfb829ab8f71c71
Signed-off-by: Benjamin Cabé <benjamin@eclipse.org>
9 years agoBug 480365 - Support Arduino Zero
Doug Schaefer [Thu, 22 Oct 2015 02:19:30 +0000 (22:19 -0400)]
Bug 480365 - Support Arduino Zero

Made a number of bad assumptions. This get us building for the Zero
and tested to make sure Uno and ESP8266 still work.

Change-Id: Ifed78af11969c7fba65754b9254d8a2eecf335ac

9 years agoBug 480334 - add dependency on CDT feature to make sure it's there.
Doug Schaefer [Thu, 22 Oct 2015 00:56:53 +0000 (20:56 -0400)]
Bug 480334 - add dependency on CDT feature to make sure it's there.

Change-Id: I9445521483b680bdde4acb97dee556204a29de65

9 years agoBug 480347 - Support utility folder for old Arduino libraries.
Doug Schaefer [Thu, 22 Oct 2015 00:38:51 +0000 (20:38 -0400)]
Bug 480347 - Support utility folder for old Arduino libraries.

Change-Id: Ib25783b1d2b5a94757e3273ae0a2ada543e5c7e7

9 years agoBug 480115 - Pick a board any board
Doug Schaefer [Thu, 22 Oct 2015 00:06:29 +0000 (20:06 -0400)]
Bug 480115 - Pick a board any board

If Uno isn't installed, pick the first board in the installed board
list instead so we have something and don't NPE.

Change-Id: I691c1a743d374a1950d00c084e74ff8a174efdc0

9 years agoBug 480345 - Invalid values in Arduino project properties
Benjamin Cabé [Wed, 21 Oct 2015 21:19:30 +0000 (23:19 +0200)]
Bug 480345 - Invalid values in Arduino project properties
Fix the enablement condition for ArduinoTargetPropertyPage.

Change-Id: Ib9d69d2cf03733a4a21cd0173a1e342f2549efb9
Signed-off-by: Benjamin Cabé <benjamin@eclipse.org>
9 years agoBug 480169 - Add proper support for platform libraries.
Doug Schaefer [Wed, 21 Oct 2015 02:53:17 +0000 (22:53 -0400)]
Bug 480169 - Add proper support for platform libraries.

Change-Id: I3016ee6db3cd892f59b44d74d4181c30ca1b5b10

9 years agoBug 480256 - Fix pattern for finding platform libraries
Doug Schaefer [Wed, 21 Oct 2015 01:20:45 +0000 (21:20 -0400)]
Bug 480256 - Fix pattern for finding platform libraries

Change-Id: I781651c1204a7fb348271b69817260f0bf3beb81

9 years agoBug 480253 - fix look up of menu properties for boards
Doug Schaefer [Wed, 21 Oct 2015 01:12:11 +0000 (21:12 -0400)]
Bug 480253 - fix look up of menu properties for boards

Also removes the old arduino.mk file. The new system works pretty well.

Change-Id: I8a954af055e162ed88eebb69c1812e77a6b74f0b

9 years agoBug 480181 - Missing Arduino tools host choice for Linux
Doug Schaefer [Tue, 20 Oct 2015 16:13:50 +0000 (12:13 -0400)]
Bug 480181 - Missing Arduino tools host choice for Linux

Change-Id: Icd47871214a21fcbc322b61abfb201d23b31ba7d

9 years agoBug 480114 Fix package URL dialog box.
Doug Schaefer [Tue, 20 Oct 2015 15:59:46 +0000 (11:59 -0400)]
Bug 480114 Fix package URL dialog box.

9 years agoBug 480077 Be more lenient on the *usbserial* port names.
Doug Schaefer [Mon, 19 Oct 2015 01:08:27 +0000 (21:08 -0400)]
Bug 480077 Be more lenient on the *usbserial* port names.

Need to add support for /dev/tty.wchusbserial*.

Change-Id: I219070b7464eff1781baa57882c93d4b70032fb2

9 years agoBug 458771 - Cannot refresh an editor in standalone debugger
Marc-Andre Laperle [Tue, 13 Oct 2015 19:13:46 +0000 (15:13 -0400)]
Bug 458771 - Cannot refresh an editor in standalone debugger

-Add Refresh command to File menu.
-Enable 'Refresh on Access' by default, like Eclipse for C/C++ package
-Reorder the File menu a bit so that Exit is last

Change-Id: I3636cd20da1a2523ca1574674cf6ebc59a124860
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 803bf0db80a7352841f0caa4e35ea7e7ecbbc2c6)

9 years agoImprove robustness of downloads and add license confirmation.
Doug Schaefer [Sat, 10 Oct 2015 23:18:48 +0000 (19:18 -0400)]
Improve robustness of downloads and add license confirmation.

Bad things were happening when the downloads of the tools and sdk
failed. Added retries and changed the order of the downloads so that
partial downloads aren't registered as complete.

Also added license confirmation dialog to make sure the user agrees
to the Arduino licenses before installing the tools and sdk.

Change-Id: Ie8f4fcd041d8e89195bc7d3551c63fd3270881ef

9 years agoBug 477082 - Cannot set a proxy for RCP standalone debugger
Marc-Andre Laperle [Tue, 15 Sep 2015 20:27:42 +0000 (16:27 -0400)]
Bug 477082 - Cannot set a proxy for RCP standalone debugger

Change-Id: I0e00b67ad513583d077a7e3470d321cd90435a33
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 5ffc733ead6946289fb88c7acbd11cecefe5ac37)

9 years agoBug 159803 - Console View Ignores EOF
Thomas Corbat [Wed, 9 Sep 2015 07:08:31 +0000 (09:08 +0200)]
Bug 159803 - Console View Ignores EOF

Added statement to send end of transmission (ASCII 4) before close for
non-Windows PTY.

Change-Id: If98848a833f7619ce93277d05d39f3ba986a3cf4

9 years agoPoint for 8.8 release
Marc Khouzam [Fri, 2 Oct 2015 15:29:35 +0000 (11:29 -0400)]
Point for 8.8 release

Change-Id: I8974e9a657f928f097a0d4e40f0e887288ccb8f1

9 years agoBug 475344: Don't create empty file-mapping entries in .cproject file
Ivan Furnadjiev [Wed, 19 Aug 2015 08:32:59 +0000 (11:32 +0300)]
Bug 475344: Don't create empty file-mapping entries in .cproject file

When file language mapping is reset back to inherit, empty (without
configuration, language and path attributes) file-mapping element is
created in .cproject file. This leads to project corruption.

Add a check for empty entry value in
LanguageMappingStore#addFileMappings.

475344: Broken .cproject file after file language mapping is reset to
inherit
https://bugs.eclipse.org/bugs/show_bug.cgi?id=475344

Change-Id: I6e7d0b8d1199501e087ce42b75f0d8e83fca77cd
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
(cherry picked from commit a48852f21a873b142c18f46b3f4086e8f76cd935)

9 years agoBug 474946 - Initialization Code must be run asynchronously
Martin Schreiber [Mon, 21 Sep 2015 13:30:21 +0000 (15:30 +0200)]
Bug 474946 - Initialization Code must be run asynchronously

Do the initialization asynchronously. If the service was initialized
during this class gets instantiated, it was re-instantiated and so a
StackOverflowException was produced. Now the initialization is done
asynchronously.

Bug: 474946
Change-Id: I15356c5f6e450d825d4f8615e2fba177409f5894
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
(cherry picked from commit 2cf6b41bd226ac862925b6a61c72ae9e2a867050)

9 years agoBug 475342: Fix CoreException of file language mappings reset to inherit
Ivan Furnadjiev [Wed, 19 Aug 2015 08:21:15 +0000 (11:21 +0300)]
Bug 475342: Fix CoreException of file language mappings reset to inherit

There is an assumption in
FileLanguageMappingPropertyPage#computeInheritedMapping that there is
only one overridden file mapping. If both project and workspace file
mappings have been overridden, a CoreException is thrown when they both
are reset to inherit together.

Change-Id: I5c845831ac446eaf65c782b4428b3b72a274fb23
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
(cherry picked from commit 5cc43360724772fefa127a28023b67d4f8133f1f)

9 years agoUpdate Tycho to 0.23.1
Marc-Andre Laperle [Tue, 22 Sep 2015 15:30:55 +0000 (11:30 -0400)]
Update Tycho to 0.23.1

See
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#Milestone_0.23.1

Change-Id: I63a7204ab5f79194c24c69783da44a046f50d81c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoUpdate tycho-eclipserun to use Eclipse 4.5 instead of 4.4
Marc-Andre Laperle [Tue, 22 Sep 2015 15:26:25 +0000 (11:26 -0400)]
Update tycho-eclipserun to use Eclipse 4.5 instead of 4.4

That way we have less dependencies to download at build time.

Change-Id: I2caf9e7dfb98578ef376673bf2db749622d42289
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoBug 478018 - Updating the URLs to Mars release
Martin Schreiber [Tue, 22 Sep 2015 05:35:45 +0000 (07:35 +0200)]
Bug 478018 - Updating the URLs to Mars release

The cdt-e4.5.target and the Oomph setup file (Mars Repo List) are
pointing now to the Mars release UR.

Bug: 478018
Change-Id: Icff0c388f4422598d7ab22d056f9d97638a7b7fd
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
9 years agoBug 478074 - Maven builds don't show same error as Eclipse
Marc-Andre Laperle [Tue, 22 Sep 2015 15:09:57 +0000 (11:09 -0400)]
Bug 478074 - Maven builds don't show same error as Eclipse

Change-Id: I48d1cae2d0b4a386cb805259218046c175d2c7c7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoBug 477728 - Exit code not displayed in console for new Run config
Marc Khouzam [Thu, 17 Sep 2015 14:39:44 +0000 (10:39 -0400)]
Bug 477728 - Exit code not displayed in console for new Run config

Change-Id: Id1ecdffb5d3a99908f7ac4ee096f2b7f7e3d6440
(cherry picked from commit 366dcbb39a7d18756641058427bbec4f3d828b06)

9 years agoFix description and copyright for Remote CDT services feature
Marc-Andre Laperle [Sat, 12 Sep 2015 03:14:40 +0000 (23:14 -0400)]
Fix description and copyright for Remote CDT services feature

Change-Id: I0e4adb5efd15caaf740267b0d6a49e9c2372270a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoPoint at my copy of make.exe so we don't have to ftp equation.org.
Doug Schaefer [Sat, 12 Sep 2015 02:58:41 +0000 (22:58 -0400)]
Point at my copy of make.exe so we don't have to ftp equation.org.

Change-Id: Idf22a2eda8112550e5aa4172eae5d0fa49c9c1c2

9 years agoTry Arduino without adding things to the enviornment.
Doug Schaefer [Fri, 11 Sep 2015 16:01:00 +0000 (12:01 -0400)]
Try Arduino without adding things to the enviornment.

Full paths to tools seems to be the norm for the arduino platform
definitions. We're having trouble on Windows finding make so let's
try without then env and put the full path to make as well.

Change-Id: I0143c7b36d93a035ec07ded5b55859bcef7ce0d0

9 years agoArduino also needs the Remote Console feature for the serial monitor.
Doug Schaefer [Wed, 9 Sep 2015 17:47:12 +0000 (13:47 -0400)]
Arduino also needs the Remote Console feature for the serial monitor.

Change-Id: I3e785d6dba5b698fe15c8b2d32e923c9be79edad

9 years agoFix template loading for packaged bundles. Remove src folder.
Doug Schaefer [Wed, 9 Sep 2015 15:27:04 +0000 (11:27 -0400)]
Fix template loading for packaged bundles. Remove src folder.

Change-Id: Ie0a00e36e6ffd4dc8fa920f6823c04cfd538cbeb

9 years agoCreate a Preview category and add Arduino to it.
Doug Schaefer [Wed, 9 Sep 2015 14:19:11 +0000 (10:19 -0400)]
Create a Preview category and add Arduino to it.

Change-Id: I29e4e4ffd5b72a549db5aa485db15939498a6ba0

9 years ago[Arduino] Get things working on Windows again.
Doug Schaefer [Tue, 8 Sep 2015 17:58:40 +0000 (13:58 -0400)]
[Arduino] Get things working on Windows again.

Change-Id: I0bc70a504fcc36cca36d646f35791c6c6fe08345

9 years ago[Arduino] Force reindex when changing build configs.
Doug Schaefer [Tue, 8 Sep 2015 15:06:46 +0000 (11:06 -0400)]
[Arduino] Force reindex when changing build configs.

Also fixes duplicate markers being created by the error parser.

Change-Id: I02d2430df40e62d8a329bfe0ea8728e06afca059

9 years agoSupport for platform libraries for Arduino.
Doug Schaefer [Sun, 6 Sep 2015 06:08:34 +0000 (02:08 -0400)]
Support for platform libraries for Arduino.

Went to use the ESP8266 wifi library and couldn't since it's shipped
with the esp8266 platform.

Also fixed up a platform sdk problem that prevented the project from
building even after I added the library.

Change-Id: If99596f1f531f62f7553b238aa7cf0d6c426aca8

9 years agoArduino "menus" and stuff needed for ESP8266.
Doug Schaefer [Thu, 3 Sep 2015 00:51:40 +0000 (20:51 -0400)]
Arduino "menus" and stuff needed for ESP8266.

Change-Id: Ia275d697cb08b393445727a08768ca8d451c7537

9 years agoBug 476589 - Cannot open a trace file in a post-mortem session
Marc Khouzam [Thu, 3 Sep 2015 19:36:46 +0000 (15:36 -0400)]
Bug 476589 - Cannot open a trace file in a post-mortem session

Change-Id: I0dbdb864d929f67286a2dbce32748df90b449754

9 years agoAdd support for multiple board packages suppliers.
Doug Schaefer [Wed, 2 Sep 2015 02:39:10 +0000 (22:39 -0400)]
Add support for multiple board packages suppliers.

Default URLs for Arduino and the ESP8266 community. Preference page
to allow user to add their own.

Change-Id: I6b134712d3189ae3559cae3e412acd7d3b1df7f1

9 years agoBug 476432 - GDB version comparison fails for GDB 7.10
Marc Khouzam [Wed, 2 Sep 2015 18:02:50 +0000 (14:02 -0400)]
Bug 476432 - GDB version comparison fails for GDB 7.10

Move the new comparison method to LaunchUtils.

Change-Id: I97e5ff61ba1173525a5d1060e1b07ba2136eb49e

9 years agoBug 476432 - GDB version comparison fails for GDB 7.10
Marc Khouzam [Wed, 2 Sep 2015 17:12:32 +0000 (13:12 -0400)]
Bug 476432 - GDB version comparison fails for GDB 7.10

Update sub-classes of GdbDebugServicesFactory.
Add safety checks around Integer.parseInt()

Change-Id: Ibc13c832840ebee2cf461df86fdfbdaadde2bcbf

9 years agoBug 476432 - GDB version comparison fails for GDB 7.10
Marc Khouzam [Wed, 2 Sep 2015 15:19:23 +0000 (11:19 -0400)]
Bug 476432 - GDB version comparison fails for GDB 7.10

This version of the fix does not add APIs.

Change-Id: I707b4fe72061902ca471acf56a1c3aa00ca9b252
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoAdd description text for board and library install pages.
Doug Schaefer [Tue, 1 Sep 2015 01:35:05 +0000 (21:35 -0400)]
Add description text for board and library install pages.

Change-Id: I6354ab5cc54e16df3ffe0d27fae0eec4158d9546

9 years agoBuild and Launch working on Windows.
Doug Schaefer [Thu, 27 Aug 2015 01:50:14 +0000 (21:50 -0400)]
Build and Launch working on Windows.

Had to convert backslashes in paths to forward slashes. Also had
figure out how to call the compiler for scanner info. Had to break
the command up myself into args.

Change-Id: I08f1438d8c17bb92a8871d4bd6e187af4e8a49f7

9 years agoBug 417895. Use tab instead of space between opcode and operand.
Jon Beniston [Thu, 20 Aug 2015 13:06:46 +0000 (14:06 +0100)]
Bug 417895. Use tab instead of space between opcode and operand.

This makes the disassembly easier to read.

Change-Id: I5f7d737f321aa05f5056a74af70794ee618f323c
Signed-off-by: Jon Beniston <jon@beniston.com>
(cherry picked from commit 708d6a6318c0c8c787792744b2826396c4b1a710)

9 years agoArduino Library Support
Doug Schaefer [Sun, 23 Aug 2015 02:26:30 +0000 (22:26 -0400)]
Arduino Library Support

Change-Id: Ifdc9075beba4002b1481576d07ed2d8d44e5c2da

9 years agoBug 471967: preference page does not show up - invalid values
Alena Laskavaia [Thu, 13 Aug 2015 15:46:48 +0000 (11:46 -0400)]
Bug 471967: preference page does not show up - invalid values

Change-Id: I01f0ff56dd76ded66e5b22f53130e5d865440384
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
(cherry picked from commit a288931a1bc06bd1ed4015eee19c515c17d028aa)

9 years agoAdd a new target to specify the API baseline
Marc-Andre Laperle [Tue, 18 Aug 2015 18:33:14 +0000 (14:33 -0400)]
Add a new target to specify the API baseline

Eclipse 4.5 now offers specifying API baselines using target files.
This is much more simple than having to install and maintain a
separate Eclipse installation. This patch adds a new
cdt-baseline.target containing all the CDT features from the CDT
project update site.

To use the baseline target:
1. Go to preferences, Plug-in Development, API Baselines
2. Add Baseline...
3. Select "A target platform"
4. Enter a name, "cdt-baseline" for example
5. Select cdt-baseline in the list (cdt-baseline.target)
6. Click refresh, Finish
7. Make sure you select the newly created baseline as the new default
8. Press OK

Change-Id: Id953b1719a41e2e4e64245c011d01e391305859c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 2e90d6eaee67332efba3cd2abacdfe3d1b1289d5)

9 years agoRemove dependency on apache http client. Don't need it.
Doug Schaefer [Wed, 19 Aug 2015 01:20:45 +0000 (21:20 -0400)]
Remove dependency on apache http client. Don't need it.

Change-Id: Ic12222668217dab543e231bfbf2615757d6dc389

9 years agoPoint cdt_8_8 build to its own location
Marc Khouzam [Mon, 17 Aug 2015 15:36:25 +0000 (11:36 -0400)]
Point cdt_8_8 build to its own location

Change-Id: I7f068d8a21f73af88f20a6a8bf67a97a9cdb173d

9 years agoBug 474179: Require file name to be absolute and exist
Jonah Graham [Fri, 7 Aug 2015 15:37:49 +0000 (16:37 +0100)]
Bug 474179: Require file name to be absolute and exist

When a file is not found, the debugger will be used to resolve it to an
absolute file. One of the side effects at the moment is that no
breakpoint marker is created in the editor for the file. To mitigate the
situation and reduce user confusion, until installed breakpoints can be
displayed in the UI don't allow users to create breakpoints on
non-absolute file names.

Change-Id: Ib69bfdfcde0c83fe6e20cacb0850d8ee907583a1
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
(cherry picked from commit bd6fa94e63387dbaf42ce0f5f426cf1f1b1b4d00)

9 years agoA good start on the error parsers/hyperlinks for Arduino.
Doug Schaefer [Mon, 17 Aug 2015 03:04:38 +0000 (23:04 -0400)]
A good start on the error parsers/hyperlinks for Arduino.

Change-Id: I5f3a3565970d177392ca6af569a3447aabe1be81

9 years agoBug 470538 - Build selected File(s) should create error/warning marker
Andrew Gvozdev [Tue, 11 Aug 2015 14:08:37 +0000 (10:08 -0400)]
Bug 470538 - Build selected File(s) should create error/warning marker

Change-Id: I0f37e3733299ab0e0db262a0194c9734b39eea94
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
9 years agoFix some trivial sonar warnings
Marc Khouzam [Mon, 10 Aug 2015 20:42:35 +0000 (16:42 -0400)]
Fix some trivial sonar warnings

Change-Id: I3da053a5fb4186a8cbbef73f58dc50d8b89bbd8e

9 years agoHooked up Arduino launch to new build configs.
Doug Schaefer [Thu, 13 Aug 2015 03:11:35 +0000 (23:11 -0400)]
Hooked up Arduino launch to new build configs.

Wow, this is slick. Launch delegate gets upload command from
build config.

Change-Id: I779625407877610f1405a48eab851b25d886165f

9 years agoScanner info with built-ins working for Arduino.
Doug Schaefer [Wed, 12 Aug 2015 18:37:51 +0000 (14:37 -0400)]
Scanner info with built-ins working for Arduino.

Change-Id: Ifa3ea76c11324e06fb7f735f5eb435f387fbbedc

9 years agoBug 474612 - Number format detail Shall report Error details of selected
Alvaro Sanchez-Leon [Mon, 10 Aug 2015 20:30:54 +0000 (16:30 -0400)]
Bug 474612 - Number format detail Shall report Error details of selected
items

Change-Id: Ie96e37912f8f32cd632a8bd6c4c0497fb5f27c5f

9 years agoCompleted new Arduino makefile generator and build.
Doug Schaefer [Wed, 12 Aug 2015 02:01:10 +0000 (22:01 -0400)]
Completed new Arduino makefile generator and build.

Change-Id: I0ab166174131b81361b7ee249cd0f178c9d6e5e2

9 years agoMuch progress on the Arduino build system.
Doug Schaefer [Tue, 11 Aug 2015 03:33:15 +0000 (23:33 -0400)]
Much progress on the Arduino build system.

Change-Id: I437621ed8af02abddc05852bf6c1b62b50f17a25

9 years agoBug 474327 - Update winpty-agent.exe for Windows 10
Anton Leherbauer [Thu, 6 Aug 2015 07:41:16 +0000 (09:41 +0200)]
Bug 474327 - Update winpty-agent.exe for Windows 10

9 years agoCosmetics.
Sergey Prigogin [Tue, 4 Aug 2015 17:28:52 +0000 (10:28 -0700)]
Cosmetics.

9 years agoFixed a couple of FindBugs errors in DSF examples.
Jesper Eskilson [Wed, 24 Jun 2015 07:53:55 +0000 (09:53 +0200)]
Fixed a couple of FindBugs errors in DSF examples.

Change-Id: Ibce2e1ec4f128900989c1420488bf2d1d636e6fc
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
9 years agoBug 469763 - DSF-GDB top-level service classes for better extensibility
Marc Khouzam [Wed, 22 Jul 2015 14:06:24 +0000 (10:06 -0400)]
Bug 469763 - DSF-GDB top-level service classes for better extensibility

Change-Id: Ie01af2df69a4c12bc3489ab5ecb76a3f5b6bfa79
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
9 years agoBug 474020 - [ASTRewrite] Nested modifications are suppressed by macros
Thomas Corbat [Fri, 31 Jul 2015 12:16:14 +0000 (14:16 +0200)]
Bug 474020 - [ASTRewrite] Nested modifications are suppressed by macros

Added further check to isStatementWithMixedLocation return false if all
macro expansions are further enclosed in child statements.

Change-Id: Ida6994adbbf76674c37a4c1c214aeea79b4963f2
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>