1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

12458 commits

Author SHA1 Message Date
Sergey Prigogin
4738597265 Bug 436656 - [Organize includes] Add include for base class when code
using derived class
2015-01-26 21:43:06 -08:00
Sergey Prigogin
3d92885495 Cosmetics. 2015-01-26 21:43:04 -08:00
Alena Laskavaia
b7829381f2 Fixed NPE when opening preference page for Working Sets
java.lang.NullPointerException
	at
org.eclipse.cdt.internal.ui.workingsets.IWorkingSetProjectConfigurationFactory$Registry$1.compare(IWorkingSetProjectConfigurationFactory.java:180)
	at
org.eclipse.cdt.internal.ui.workingsets.IWorkingSetProjectConfigurationFactory$Registry$1.compare(IWorkingSetProjectConfigurationFactory.java:1)
	at java.util.TimSort.countRunAndMakeAscending(TimSort.java:352)
	at java.util.TimSort.sort(TimSort.java:216)
	at java.util.Arrays.sort(Arrays.java:1438)
	
	

Change-Id: Ibe91a679c876ed5f70f4f787188e13e52203466c
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-01-26 10:44:56 -05:00
Nathan Ridge
0613bf527a Bug 458317 - Fix an NPE in MethodHighlighting.consumes()
Change-Id: I6a88e26aa60d57dd8c95079672ce0c1ceff8b3d7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-01-24 05:23:26 -05:00
mazab
69aa2d0bf0 Bug 438549. Add mechanism for parameter guessing.
Change-Id: I5545d179cfd7c54e2a52f856ea21da43e57587d6
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-01-23 20:22:33 -05:00
Marc Khouzam
56aa41f360 Missing fragment description for ppc64le
Change-Id: I08a69ccb69e184a8d6c08ff22f1e4ac956f648a4
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-01-23 13:18:00 -05:00
Sergey Prigogin
2c9a404d44 Bug 451082 - Added support for 'alignof' 2015-01-21 14:33:16 -08:00
Sergey Prigogin
686ad904b2 Bug 457511 - Instantiation of nested class used inside enumerator
Change-Id: I45f8f49ab1aa45b8f1309bb465ca08b001762173
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-01-20 20:29:06 -08:00
Sergey Prigogin
568e8a995b Bug 457503 - Argument-dependent lookup fails for index types in global
namespace
2015-01-16 10:18:48 -08:00
Sergey Prigogin
773eb90b41 Cosmetics. 2015-01-16 10:18:46 -08:00
Thomas Corbat
786e2137eb Bug 399215 - Toggle Function breaks the code...
- Test case for reproducing the problem.
- The code is lost because a copy of the body, which contains macro
references is not rewritten, but its raw signature is taken. The raw
signature of a copy is empty in this case. I've solved this issue by
using the raw signature of the original node for get raw signature. This
is a fundamental change of ASTNode.getRawSignature(). We could also
solve this in the StatementWriter to get the original node before
accessing the raw signature.

Change-Id: I64b408b09444df818d30d99d99de4a1974eacf93
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/39406
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-16 09:26:19 -05:00
Anton Leherbauer
ef00469292 Bug 443481 - Warnings about non-existing invalid project paths
Add a hidden preference "org.eclipse.cdt.core/validate_include_entries"
which allows to disable validation of include entries if set to false in 
plugin_customization.ini.

Change-Id: Ia80f875228a459589ab8a4e6733d3e2f723f78d3
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Reviewed-on: https://git.eclipse.org/r/39642
Tested-by: Hudson CI
2015-01-16 04:22:57 -05:00
Alena Laskavaia
a0fd70a09e Bug 457590 - Workspace... button does not work in Library Path picker
Change-Id: Idcb597b5d60494438b1a5f29f4efad00050acc06
Reviewed-on: https://git.eclipse.org/r/39671
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2015-01-15 16:48:56 -05:00
Sergey Prigogin
3fa103dbf8 Bug 457374 - A 'using' declaration confuses Organize Includes 2015-01-13 12:07:47 -08:00
Sergey Prigogin
49997a17b3 Bug 457301 - Organize Includes ignores IWYU pragma: keep 2015-01-12 18:37:19 -08:00
Andrew Gvozdev
daa20f98b4 Bug 453398: NPE in SupplierBasedCdtVariableSubstitutor ("Expand
env.variable refs")

Change-Id: I4ff9f5191ac5ffe5e5b34b8aba7758aa4965b213
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39047
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Hudson CI
2015-01-09 16:53:29 -05:00
Sergey Prigogin
765d9bf16e Cosmetics. 2015-01-08 17:27:50 -08:00
Sergey Prigogin
dfacdf9d40 Code cleanup. 2015-01-08 16:33:32 -08:00
Sergey Prigogin
f0e6a286fb Added a test for renaming a source root folder. 2015-01-08 16:14:20 -08:00
Sergey Prigogin
a44b1c9ba8 Fixed a typo. 2015-01-08 16:14:19 -08:00
Sergey Prigogin
2dbdd831ec Cosmetics. 2015-01-08 16:14:17 -08:00
Sergey Prigogin
07997cb72a Fixed deprecation warnings. 2015-01-08 16:14:15 -08:00
Sergey Prigogin
d59648bf52 Cosmetics. 2015-01-08 16:14:13 -08:00
Sergey Prigogin
32cdeab66b Bug 455571 - Unable to rename C/C++ project if project has excluded
source folder entry
2015-01-08 16:14:10 -08:00
Sergey Prigogin
509d7cd337 Cosmetics. 2015-01-08 16:14:09 -08:00
Michi
d6a510ab06 Bug 456752 - [Code Assist] - Accessibility check is broken for base
class templates of a class template

There are 2 changes. Finding the proper naming scope, which basically is
the same as what is done in CPPUnknownTypeScope.getBindings when
retrieving the bindings themselves.
The second change was picking the right scope for the actual
accessibility check for base templates.

Change-Id: I535c8cdd9d07272d37da9d23a03edb9e6b1b3a7a
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/39016
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-07 12:54:23 -05:00
Marc Khouzam
5beb56ed69 Bug 455094 - StepIntoSelection cleanup after review
Change-Id: Id591e5c46ed86744b92c0931079fc798e39498ed
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38177
2015-01-07 11:01:56 -05:00
Sergey Prigogin
0498b96805 Bug 449391 - Include guard name style 2015-01-06 21:03:55 -08:00
Sergey Prigogin
693185186e Cosmetics. 2015-01-06 21:02:42 -08:00
Sergey Prigogin
91d2fb6a4b Removed unused messages. 2015-01-06 16:41:28 -08:00
Sergey Prigogin
504a9e864a Suppressed a usage warning. 2015-01-06 16:41:27 -08:00
Sergey Prigogin
90703c8f55 Cosmetics. 2015-01-06 16:41:25 -08:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00
Sergey Prigogin
39c8cf14fd Fixed include guard adjustment when renaming a project. 2015-01-06 15:40:33 -08:00
Sergey Prigogin
4efe6e815e Cosmetics. 2015-01-06 15:38:52 -08:00
Alena Laskavaia
5626442f0e Added API to construct Addr64 from long
Change-Id: Iccb489f290711d806d499cfa763a06dab4e61f4d
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38496
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2015-01-06 09:46:31 -05:00
Sergey Prigogin
bcc3aad840 Bug 456099. Added a test for NameComposer.createByExample method. 2015-01-05 19:09:44 -08:00
Sergey Prigogin
75900af3ae Improved "Expand Selection To Enclosing Element" command for template
definitions.
2015-01-05 19:08:39 -08:00
Sergey Prigogin
5d6e09d1cb Cosmetics. 2015-01-05 18:58:03 -08:00
Sergey Prigogin
52f60a00ba Added a test for string concatenation with macro. 2015-01-05 16:02:33 -08:00
Sergey Prigogin
3637dd4923 Cosmetics. 2015-01-05 16:02:31 -08:00
Michi
bb17286834 Bug 422401 - [Content Assist] no binding for nested types of a base
class

The problem was with template base classes as in the unit test.
Accessibility check did not find the proper AccessContext.namingClass
and always ended further up in the class tree.

Change-Id: I447567cabd20ad5c57c05a9ffa5f0f12c5321ccf
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/38944
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-04 19:58:05 -05:00
Michi
ff7056130e Bug 456579 - Improve CSourceHover and OpenDeclaration for TemplateIds
When the nodeSelector detects an IASTNode that has a TemplateId parent
we use that instead of the original. The benefit is that we also get the
template parameters so we can find template specialization matches.

Change-Id: I3751efdb15e868b4aa6688ad338227e0d0c5bcd8
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/38923
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-04 02:34:22 -05:00
Michi
d7e2618b8f Bug 424565 - 'Open Declaration' on use of alias template defined in base
class 

This should work now for AliasTemplates from AST and PDOM.

SourceHover is also affected.

Are there any unit tests for this?
Change-Id: I54a9c2d6cd0851f901b917a57d79616298699299
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/38919
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-04 01:40:19 -05:00
Michi
84add6a4bd Bug 456340 ClassCastException when typedef refers to basic type
Change-Id: If1a65f6160e9398e1c40df194281414a4e422036
Signed-off-by: Michi <woskimi@yahoo.de>
Reviewed-on: https://git.eclipse.org/r/38845
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-30 20:58:52 -05:00
Sergey Prigogin
7eb2e1340a Bug 456099. Added change description. 2014-12-30 17:12:33 -08:00
Sergey Prigogin
fb6cf9f410 Bug 456099. More flexible file name matching algorithm. 2014-12-30 16:05:35 -08:00
Sergey Prigogin
6de0d0163b Cosmetics. 2014-12-30 14:45:33 -08:00
Sergey Prigogin
8758a144a7 Bug 456099. Moved a premature assertion. 2014-12-30 09:57:56 -08:00
Sergey Prigogin
b235e472b5 Disabled a flaky test. 2014-12-29 10:10:09 -08:00