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

12935 commits

Author SHA1 Message Date
Sergey Prigogin
c5d03dddb6 Cosmetics. 2015-12-08 11:59:39 -08:00
Sergey Prigogin
4ac6657792 Bug 438549 - Disabled parameter guessing since it caused a regression
Change-Id: Ie59177428d624196aee9bfc0573da969b15e80fe
2015-12-08 14:58:27 -05:00
Marc-Andre Laperle
3a2cb0431e Remove alltests plugin
- The plugin was not being as useful anymore (we can run all tests in maven)
- The plugin was not being built by the maven build so it would break
without people knowing after the fact
- The suite of tests it was running was rather incomplete

Change-Id: I6c4037eb2bc236ccbc0852d1c08b2647f9c407fd
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-12-06 13:52:12 -05:00
Sergey Prigogin
226dd80cf6 Testing infrastructure improvements.
Change-Id: I495c336f60605a64fd02c243a884ed6c2415ee81
2015-12-03 21:48:31 -08:00
mazab
241a60fe8a Bug 438549 Add mechanism for parameter guessing.
Change-Id: Ib348e401932a9119185dbab8ecacaf80fd3e17ff
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-12-02 19:14:42 -05:00
Alexander Kurtakov
e636b977a9 core.tests: Ensure zipFile is closed.
Try-with-resources to ensure everything is properly closed.

Change-Id: I5c0d286b926a7ff86d48f943347929de03de5f0e
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-02 22:58:45 +02:00
Sergey Prigogin
77c74a26ca Bug 481070 - Improved an error message.
Change-Id: I7f5e18d723b4ba7afeff757252a50b00f48a6ac6
2015-12-01 11:09:34 -08:00
Sergey Grant
85b481a99a Bug 481070 - Parameter completion doesn't work inside lambda
Change-Id: I32b0cf54dd349e04fddca17f4141e7fee06f2562
Signed-off-by: Sergey Grant <sergey.grant@me.com>
2015-11-30 20:03:46 -08:00
Nathan Ridge
069d106ab4 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-11-29 19:40:28 -05:00
Nathan Ridge
9bcb71b26a 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-11-29 19:39:38 -05:00
Nathan Ridge
c531b2d5e6 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-11-29 16:28:30 -08:00
Nathan Ridge
28c22cca09 Bug 477359 - Completion node inside attribute specifier
Change-Id: I54902dc41834943a3fcfcca60ebbc2944fa0a68a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 19:26:05 -05:00
Nathan Ridge
f5707a4d62 Bug 479528 - Make an indexer error message more informative
Change-Id: If58c3aa66ebcf15d0a21fd765b64e75bc1137b86
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 19:23:58 -05:00
Nathan Ridge
e9800bd4a1 Bug 480892 - Compare bindings by value equality during final overrider
analysis

Change-Id: I6a530710bdd5ea029726f8ed42e8a3c11f39996b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-29 17:55:12 -05:00
Nathan Ridge
927dd7502d 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-11-29 17:50:37 -05:00
Nathan Ridge
5cd555717b 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-11-29 17:48:21 -05:00
Nathan Ridge
04bf520618 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-11-25 18:50:00 -05:00
Doug Schaefer
e3496e1246 Bug 481978 - Big overhaul of new build system to work with Qt.
Moved new build system to it's own plug-ins. Cleaned up the root
build configuration and toolchain classes and use them for Qt local
run builds. Also hooks Qt local run launch delegate to launch target
manager and associated delegate interface.

Change-Id: I0c0f711ee53005edd399f6d24ba96658d606e1e5
2015-11-24 22:11:33 -05:00
Marc-Andre Laperle
388d94a963 Bug 402313 - [Keybindings] With MS Visual Studio bindings, F5 should be Resume
Change-Id: I928e1a9cb22a535f3c4dd5800c5d364c5a8d2b67
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-20 23:03:59 -05:00
Sergey Prigogin
2af5429bdb Bug 406462 - Fixed a regression in parsing of lambda expressions.
The regression was triggered by the change that introduced support for
designated initializers in C++.

Change-Id: I8e78a8818b8365cce0b878cd4a2c19116b3682d4
2015-11-19 17:52:42 -08:00
Sergey Prigogin
f0bd13a754 Bug 406462 - Allow designated initializers for C++
Change-Id: Iafadba03e6a54b679b4c10ea693a5f8a84ddf839
2015-11-18 21:03:49 -08:00
Sergey Prigogin
49a9b0c3f6 Cosmetics. 2015-11-18 20:25:08 -08:00
Sergey Prigogin
4316da89b5 Cosmetics. 2015-11-16 19:55:36 -08:00
Nathan Ridge
3e81f0437c Bug 475894 - Forward declaration of enum at class scope
Change-Id: I51e9bc36350dd403514ce5ec3d48ddb4f456102b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-16 15:37:11 -05:00
Nathan Ridge
e5d0038f49 Bug 481078 - Unwrap typedefs when checking for composite pointer
conversion

Change-Id: I70d99f16c32fd2c00971fd20114c45cae3b08785
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-16 14:35:32 -05:00
Alexander Kurtakov
728a032bde Generify getAdapter methods.
Not all instances handled but the patch is big enough already. Drop the
useless casts thanks to the generification too.

Change-Id: I608c93a317135a8738ad770de71d9c3cda24791a
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-14 00:04:50 +02:00
Sergey Prigogin
54ff537f95 Fixed few compiler warnings.
Change-Id: I0f52e2ab9c918031c098d04553b7a6c723bd83b9
2015-11-11 10:53:50 -08:00
Sergey Prigogin
e68e933a2e Removed use of deprecated SubProgressMonitor .
Change-Id: I3d89d91f392ec914c69de086b2184ff3eef482ec
2015-11-11 10:40:05 -08:00
Alena Laskavaia
63aa4b3376 Bug 481523 - Open project properties from launch config page
- also removed deprecated fields from CAbstractMainTab

Change-Id: I217f2ade868756edb331de60894846e7f5ec5cc2
2015-11-09 10:35:08 -05:00
Alena Laskavaia
75aa6665a0 minor tweaks bin obj
Change-Id: Ib2a5463bc71f05358a137c1c2bb547fd5577e8e9
2015-11-09 08:55:32 -05:00
Sergey Prigogin
3fea214163 Bug 469788 - Ambiguous node in initializer in trailing return type
Change-Id: Iff81cad75a57c9482ada515a9e9a34d5d1a956d3
2015-11-06 13:22:45 -05:00
Sergey Prigogin
cc20398075 Cosmetics. 2015-11-02 15:31:26 -08:00
Sergey Prigogin
a61ff51c62 Bug 481274 - ArrayStoreException in parser
Change-Id: I4ee9484794925efbb86d7621bbbf5f9932f31773
2015-11-02 15:31:07 -08:00
Sergey Prigogin
392511ef61 Bug 481161 - Namespace resolution problem with index
Change-Id: I2adaa53647bcd67f0a1058de4d44dbc808ff84a9
2015-10-30 16:06:29 -07:00
Sergey Prigogin
3098d1679b Bug 472950 - Fixed an infinite loop in content assist inside a body of a
lambda.

Change-Id: I5194571ba8a88e67e9cc897be463c5e833700000
2015-10-28 20:34:09 -07:00
Alena Laskavaia
95c65f0a9c Bug 465976 aarch64 support in Elf reader
Change-Id: I226efbe1013cb254686979fd4cd48a05f9800c01
2015-10-22 13:37:22 -04:00
Alexander Kurtakov
9f03bd1ee2 Use *Scope INSTANCE fields.
Recommended way is to use e.g. InstanceScope.INSTANCE instead of new
InstanceScope() which is deprecated now.

Change-Id: I9fa8e53e180a480805bd0a57903e65b5c2de5f75
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-22 01:54:54 -04:00
Alena Laskavaia
f5170f0cce Bug 478244 - Empty environment variables result in NPEs
java.lang.NullPointerException
        at
org.eclipse.cdt.utils.envvar.EnvVarOperationProcessor.convertToList(EnvVarOperationProcessor.java:158)
        at
org.eclipse.cdt.managedbuilder.internal.envvar.EnvironmentVariableProvider$DefaultBuildPathResolver.resolveBuildPaths(EnvironmentVariableProvider.java:72)

Change-Id: I46e9e990685bf29d1ddd90496e277c049e358a02
2015-10-19 15:03:26 -04:00
Marc-Andre Laperle
10ae5c9dea Fix org.eclipse.cdt.alltests.AllTests compilation
Change-Id: Ie07ba0e7411e5d165fc11f4e7616edc793611a77
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-09 17:42:59 -04:00
Sergey Prigogin
46db6d71cf Make com.google.gson dependency optional to preserve compatibility with
Eclipse 4.5.

Change-Id: I2589809649bc7d28c444d9901c46d14a1393826f
2015-10-08 12:48:00 -07:00
Marc Khouzam
0cfb15135f Remove reference to java environment in build.properties
Change-Id: I053158a23d2783879248320a84a9549e28cfb4d1
2015-09-29 08:57:47 -04:00
Doug Schaefer
64bf3c4f69 Starting to put Qt onto the new build system and launch.
Change-Id: I3e65f5d69bfb35d16b2d1135f99517c7a2b2c437
2015-09-28 13:24:41 -04:00
Nathan Ridge
7ba4959cf4 Bug 477231 - NPE in CPPTemplates.convertNonTypeTemplateArgument()
Change-Id: If018f3d40f46eaccfaa9b8fb0094dbf40f50e599
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-09-27 14:31:06 -04:00
Thomas Corbat
2471f7e1d3 Bug 159803 - Console View Ignores EOF
Added statement to send end of transmission (ASCII 4) before close for
non-Windows PTY.

Change-Id: If98848a833f7619ce93277d05d39f3ba986a3cf4
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-09-24 01:36:49 -04:00
Ivan Furnadjiev
5cc4336072 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>
2015-09-22 09:58:58 -04:00
Martin Oberhuber
6a17a26b22 Bug 476709 - MacOSX PTY: Fix terminal change_window_size
Change-Id: I89b8c26f65671eaca20a0a5affb20c565f557419
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-09-17 12:15:37 -04:00
Ivan Furnadjiev
a48852f21a 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>
2015-09-16 15:40:36 -04:00
Anton Leherbauer
88b8b95e19 Follow-up on bug 476346: Make event names unique between multiple Eclipse instances 2015-09-15 12:44:07 +02:00
Anton Leherbauer
53401bd882 Follow-up on bug 476346: Make event names unique between multiple Eclipse instances 2015-09-15 10:34:30 +02:00
anyssen
c6b5cf53a4 Bug 475908: Replace nodeFactory field with getter().
Removed (duplicate) nodeFactory field within GNUCSourceParser and
GNUCPPSourceParser with getter() that is provided by
AbstractGNUSourceCodeParser.

Change-Id: If70bcda1a85f934548e680e0fb0d5b4e5cd467d6
Signed-off-by: anyssen <alexander.nyssen@itemis.de>
2015-09-05 17:37:54 -04:00