1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 23:55:26 +02:00
Commit graph

24035 commits

Author SHA1 Message Date
Marc Khouzam
cee0c789b0 Incremented CDT features version to 8.8.1
Change-Id: Ie86334399654e06554eeec033ee8c220fe45fbb6
2016-01-18 14:39:45 -05:00
Marc Khouzam
31854cb774 Revert "Incremented CDT features version to 8.8.1"
This reverts commit 87b0c4768b.
2016-01-18 14:38:42 -05:00
Marc Khouzam
87b0c4768b Incremented CDT features version to 8.8.1
Change-Id: Ie86334399654e06554eeec033ee8c220fe45fbb6
2016-01-18 14:35:38 -05:00
Doug Schaefer
f36e081d49 Bug 485100 - Fix library page. Cherry picked from master.
Change-Id: I84b920faba0c8d41a07466bb02aa33b446d46e95
2016-01-16 14:11:12 -05:00
Marc-Andre Laperle
74db839619 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-07 14:40:45 -05:00
Christian Walther
58d36661ab Bug 484955 - Provide serial.port.file property, needed for SAM boards.
a6e36fac9d/hardware/arduino/sam/platform.txt (L102)
uses this property because the bossac tool expects a serial port name
without the leading "/dev/".

Copied from how the Arduino IDE does this in
a6e36fac9d/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java (L148)
.

Conflicts:
	toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/build/ArduinoBuildConfiguration.java

Change-Id: Ic26af7502a9f104194d242e4cf1d0cf836ff1b5c
Signed-off-by: Christian Walther <walther@indel.ch>
2015-12-30 20:17:28 -05:00
Doug Schaefer
6983ecd405 Bug 484925 - Fix path to make on Windows.
Also make fixes up building with the default build config so
that it has a name.
2015-12-28 15:14:16 -05:00
Nathan Ridge
d0d92c076f Bug 479142 - Show correct override marker when multiple overloads in a
base class are overridden in a derived class

Change-Id: If31925a5fbffe1425d22894fdff762ef1c733f25
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-24 13:18:05 -08:00
Sergey Prigogin
49b368428f Bug 484786 - Name resolution problem with variadic alias template
Change-Id: If413f0241cbcf1164cb61e9fcaf371b9f899c56b
2015-12-23 18:34:03 -08:00
Nathan Ridge
70abd7a153 Bug 484200 - Point of declaration of an alias or alias template
Change-Id: I068b5fd4cf7ae4458e515a5c26265f30abaf9ad8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:33:45 -08:00
Sergey Prigogin
3f3a81e704 Removed a duplicate built-in function definition.
Change-Id: Ic3291375188e3c5ebd9ce452782c65c2fb00e286
2015-12-23 18:33:17 -08:00
Nathan Ridge
d74ee1a89c Bug 484162 - Instantiation of friend of nested class inside template
Change-Id: I28377e20ce63c3e22ea561a98773e73484edf09a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:29:44 -08:00
Sergey Prigogin
6a9dccd2b0 Bug 481070 - Improved an error message.
Change-Id: I7f5e18d723b4ba7afeff757252a50b00f48a6ac6
2015-12-23 18:27:44 -08:00
Sergey Grant
61b65becf9 Bug 481070 - Parameter completion doesn't work inside lambda
Change-Id: I32b0cf54dd349e04fddca17f4141e7fee06f2562
Signed-off-by: Sergey Grant <sergey.grant@me.com>
2015-12-23 18:27:27 -08:00
Nathan Ridge
6142db7901 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>
2015-12-23 18:27:14 -08:00
Nathan Ridge
1de9e48d1a Bug 479138 - Allow index tests to specify that recursion resolving
bindings are allowed

Change-Id: I3a55cbb1062e8edf4b84920738c9d1cca02b65d6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:27:05 -08:00
Nathan Ridge
61e360e3da 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>
2015-12-23 18:26:53 -08:00
Nathan Ridge
52e227dee7 Bug 477359 - Completion node inside attribute specifier
Change-Id: I54902dc41834943a3fcfcca60ebbc2944fa0a68a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:26:41 -08:00
Nathan Ridge
674410939b 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>
2015-12-23 18:26:07 -08:00
Nathan Ridge
ffd135b3e2 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>
2015-12-23 18:25:55 -08:00
Nathan Ridge
cc90dc0cdb 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>
2015-12-23 18:25:39 -08:00
Nathan Ridge
82bfb9bc00 Bug 479528 - Make an indexer error message more informative
Change-Id: If58c3aa66ebcf15d0a21fd765b64e75bc1137b86
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:24:06 -08:00
Nathan Ridge
e0ddf0dddf Bug 480892 - Compare bindings by value equality during final overrider
analysis

Change-Id: I6a530710bdd5ea029726f8ed42e8a3c11f39996b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-12-23 18:23:20 -08:00
John Dallaway
e37153ae8c 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 e62e2772fe)
2015-12-16 08:59:48 -05:00
Anton Leherbauer
ff25e469db [disassembly] Do not reuse label position for creating bp annotation 2015-12-15 16:16:23 +01:00
Doug Schaefer
a590b75c92 Bug 484285 - Slightly better install/uninstall Arduino package icons.
Change-Id: Iaf8540ff8362b428696b1155a266dcd69f5bef10
2015-12-13 21:39:52 -05:00
Doug Schaefer
b724c1fa17 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
2015-12-07 20:28:21 -05:00
Doug Schaefer
ae02a50dba 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
2015-12-07 10:52:07 -05:00
Franz Schnyder
207d2e1006 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>
2015-12-06 12:51:06 -05:00
Marc-Andre Laperle
068cd101be 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>
2015-12-03 00:44:23 -05:00
Doug Schaefer
f7a9a69e24 Oops, missing class.
Change-Id: Iff3e390e338c283d4c2f8a7f469eff7283cbf3e6
2015-12-01 21:04:49 -05:00
Doug Schaefer
25bc7a3950 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
2015-12-01 16:15:03 -05:00
Marc-Andre Laperle
af50016436 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 e59d20f0ba)
2015-11-20 22:19:05 -05:00
Sergey Prigogin
cf0b76c58e Bug 469788 - Ambiguous node in initializer in trailing return type
Change-Id: Iff81cad75a57c9482ada515a9e9a34d5d1a956d3
2015-11-06 14:46:37 -08:00
Sergey Prigogin
2e36830918 Bug 481274 - ArrayStoreException in parser
Change-Id: I4ee9484794925efbb86d7621bbbf5f9932f31773
2015-11-06 14:46:36 -08:00
Doug Schaefer
dae65dd9f3 Bug 481469 - Support new archive_file_path var in Arduino 1.6.9.
Change-Id: I1aa9473ad50418d908993c7b39929e5d73b34685
2015-11-05 12:56:45 -05:00
Doug Schaefer
365828b0fd 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
2015-11-01 22:32:12 -05:00
Doug Schaefer
acf1d055c1 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
2015-11-01 21:59:31 -05:00
Doug Schaefer
c5cc857c99 Bug 481199 - Add support for cu.usb... devices on Mac.
Apparently needed by the Intel Arduino boards.

Change-Id: I5e1b7c3876dc042f8d8df2ba95df258157fd5c61
2015-11-01 18:39:02 -05:00
Sergey Prigogin
dc9dfa517b Bug 481161 - Namespace resolution problem with index
Change-Id: I2adaa53647bcd67f0a1058de4d44dbc808ff84a9
2015-10-30 16:29:16 -07:00
Sergey Prigogin
ef148a9ec5 Bug 472950 - Fixed an infinite loop in content assist inside a body of a
lambda.

Change-Id: I5194571ba8a88e67e9cc897be463c5e833700000
2015-10-30 16:29:06 -07:00
Doug Schaefer
2838a8621a 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
2015-10-28 22:38:27 -04:00
Doug Schaefer
4d22181892 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
2015-10-26 11:56:44 -04:00
Doug Schaefer
9e2f937a06 Bug 480603 - Deal with extra file in Intel's tarballs for Arduino.
Change-Id: I575496e490959defe5fe978664bac87b7e53fede
2015-10-25 23:37:03 -04:00
Doug Schaefer
e61edf0d66 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
2015-10-25 20:20:07 -04:00
Doug Schaefer
cf05b210bd Bug 480109 - Force Shell on windows to be ComSpec (cmd)
Change-Id: I35e7710c3a6eb27ba6d30a46fe1e585bd4296036
2015-10-24 13:30:45 -04:00
Doug Schaefer
0c59d09514 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
2015-10-24 13:09:16 -04:00
Doug Schaefer
15a087a3f4 Bug 480508 Add support for ttyACM serial ports.
Change-Id: I166c8d09c2ff59f113ceb82971b8d61e676f7b53
2015-10-24 13:06:53 -04:00
Benjamin Cabé
fabc2a02b9 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>
2015-10-22 13:22:36 +02:00
Doug Schaefer
8cc9e5f3f0 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
2015-10-21 22:22:41 -04:00