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

12355 commits

Author SHA1 Message Date
Marc-Andre Laperle
b0ea093470 Bug 419915 - Organize includes adds wrong path prefix
Set the device id to null in the include path because, as the javadoc
for removeFirstSegments says, the device id is preserved.

Change-Id: I1f57d1ff7133326b306451b22a1ce7665aec3d85
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17555
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-10-20 14:19:38 -04:00
Marc-Andre Laperle
f4ed32d9b2 Bug 316083 - Generate getters and setters does not handle nested classes
in cpp definition

Change-Id: Id2926661984c7f436aee3cd98b5b5922c2474097
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13843
2013-10-20 01:29:38 -04:00
Sergey Prigogin
63019e2c6a Cosmetics. 2013-10-17 21:01:49 -07:00
Andrew Gvozdev
35b004c5d4 Bug 414831 - Preserve line delimiters when writing xml
Change-Id: Ib6c023fb73193f3b15450f52cefcc67068d1398d
Also-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17187
2013-10-16 00:18:49 -04:00
Johann Draschwandtner
b36cb27a1e bug 419207: Regular Expression matching is slow in Error Parser
Signed-off-by: Johann Draschwandtner <johann.draschwandtner@windriver.com>
2013-10-15 09:52:33 -04:00
Andrew Gvozdev
410d532bde bug 419396: CommandLauncher may hang eclipse 2013-10-14 15:36:31 -04:00
Anton Leherbauer
25ea069927 Bug 418797 - Spawner closes file descriptor it didn't open when process cannot be started 2013-10-14 11:03:36 +02:00
Sergey Prigogin
32b0c2c73c Cosmetics. 2013-10-10 11:55:41 -07:00
Liviu Ionescu
e72330fe5a Bug 392416: make BuiltinSpecsDetectorTest.java run on non-windows
platforms (accept spaces in paths; increase timestamp by 1000ms)

Change-Id: I0bf2cef0e31d655310446a6f5321dd938e4c69ad
Also-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Signed-off-by: Liviu Ionescu <ilg@livius.net>
Reviewed-on: https://git.eclipse.org/r/17179
2013-10-08 22:09:26 -04:00
Serge Beauchamp
e2661d9993 Bug 418810 - Two options are selected at the same time after clicking
"Restore Defaults" button

Change-Id: I03341f636f4fad6e129847e76953c290351773fc
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/17108
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-10-07 13:26:01 -04:00
Andrew Gvozdev
d49a0e91fd bug 418606: Exception on page "Preprocessor Include Paths" in multiconfiguration mode 2013-10-03 15:36:17 -04:00
Serge Beauchamp
02b96302a7 Bug 406545 - Restore Defaults/Apply buttons disappear in [All
configurations] mode from Project Properties

Change-Id: Iac29cd3f6d3b06bf2baae8c3bbc16cbff9c73d2e
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/16770
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-10-03 11:47:10 -04:00
Sergey Prigogin
15b11f611a Cosmetics. 2013-10-02 13:35:53 -07:00
Sergey Prigogin
19db352cb9 Bug 418479 - IllegalArgumentException on template alias member of
template class
2013-10-02 12:17:43 -07:00
Sergey Prigogin
3852941d5c Cosmetics. 2013-10-02 12:04:54 -07:00
Simon Taddiken
e51a76571e Bug 414501: modification of base specifiers now works using an
ASTRewrite

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=414501
Change-Id: Ide93fa5f988f1121fddfed9af036cbac7518fe29
Signed-off-by: Simon Taddiken <simon.taddiken@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15178
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-10-02 13:22:19 -04:00
Andrew Eidsness
a0a2059fdd Bug 416471: Support for extra ILanguageSettingsProviders in new projects
This change introduces three new ProcessRunners that can be used in the
New Project wizard's template.xml files.  These will be used by two new
Qt project wizards that I will introduce in a second patch.

The three new rules are:

1) "AddMakeTarget" which creates new Make Targets (in the Make Targets
view) for the new projects.

2) "SetEnvironmentVariable" which sets an environment variable in all of
the new project's build configurations.

3) "ExtraLanguageSettingsProvider" which modifies the new project's
build configurations to include a new ILanguageSettingsProvider.

The first two are straightforward, the third is a bit different.
Instead of creating a new Toolchain or Configuration it modifies the
Configurations that were created for the new project.  In this case the
only modification is to add the extra ILanguageSettingsProvider, but it
might be useful to extend this to other customizations as well.

Change-Id: I30710400e9b0dffcbe6e8965ce7ce2078c1c99ca
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/16817
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-10-01 20:59:40 -04:00
Sergey Prigogin
411734ee3b Cosmetics. 2013-10-01 11:50:14 -07:00
Sergey Prigogin
51ac942b6c Added handling of situations when the AST in not available. 2013-10-01 11:00:16 -07:00
Sergey Prigogin
48799b684f Bug 418390 - ArrayIndexOutOfBoundsException in Chunk.putInt 2013-09-30 17:59:45 -07:00
Sergey Prigogin
61fa9916b6 Bug 418130 - Name resolution with anonymous namespace 2013-09-30 16:01:59 -07:00
Sergey Prigogin
709e3fa878 Minor performance optimization. 2013-09-30 16:01:28 -07:00
Sergey Prigogin
1e598a2202 Cosmetics. 2013-09-30 16:01:21 -07:00
Serge Beauchamp
360577311b Bug 418184 - ConcurrentException in CProjectDescription
Change-Id: Iabda238b8e87ab4dff94284af8ddd3f07ed6c294
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/16843
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-09-27 14:24:47 -04:00
Serge Beauchamp
9dd8b1c50d Bug 418075 - NullPointerException in CModelManager.createBinaryFile()
Change-Id: Id0a1cb87ea0a5a1f0f645e4322ae9ce151d1b41e
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/16789
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-09-27 13:58:13 -04:00
Thomas Corbat
b40866ce32 Bug 412380: Flag for indicating whether AST contains all nodes
Possible approach for providing a way to check in refactorings whether
the AST might miss important nodes for rewriting. Including scalability
option, configurable in the preferences.

Change-Id: I0b56a24f103a5cf764afbf39b644780081459853
Reviewed-on: https://git.eclipse.org/r/14404
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2013-09-27 08:42:36 -04:00
Chris Recoskie
2001e49bf3 Bug 417616 - IndexedFilesLabelProvider does work on non-CDT projects
Change-Id: Iee639c9ecb6daca06946e57546b0ec9f501655e4
Reviewed-on: https://git.eclipse.org/r/16695
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Chris Recoskie <recoskie@ca.ibm.com>
Tested-by: Chris Recoskie <recoskie@ca.ibm.com>
Reviewed-by: Chris Recoskie <recoskie@ca.ibm.com>
2013-09-26 15:51:34 -04:00
Andrew Gvozdev
44514db3fb bug 105978: Replaced deprecated calls and other cosmetics. 2013-09-26 12:12:48 -04:00
Chris Recoskie
e87c41012e Bug 406479 - Some "org.eclipse.cdt.core" fragments are missing an
"Eclipse-PlatformFilter" in their manifest
2013-09-26 11:37:38 -04:00
Andrew Gvozdev
ed2bb8449b bug 105978: [Error Parser]: Error markers that build generates on files in different projects are not removed 2013-09-26 10:49:07 -04:00
Serge Beauchamp
ee19807cb0 Bug 417926 - Markers shouldn't be created on the workspace root
Change-Id: Ia7d00fa513a6fb18d616503d64e178ae4a09fe4d
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/16775
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-09-25 15:25:58 -04:00
Sergey Prigogin
5b9c323d9c Cosmetics. 2013-09-25 09:54:59 -07:00
Serge Beauchamp
1e450cdd37 Bug 417909 - Opening a large file from a progress dialog causes the
scalability dialog to disappear

Change-Id: I1840fe1ac53a78c2d8d7c540474436faab08d8b1
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/16721
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-09-25 12:28:14 -04:00
Sergey Prigogin
af8f41dd1b Code streamlining. 2013-09-24 16:48:46 -07:00
Sergey Prigogin
290cf3472d Bug 414450 - Fixed CompositingNotImplementedError for
CPPAliasTemplateInstance.
2013-09-24 09:55:01 -07:00
Sergey Prigogin
8722849f10 Cosmetics. 2013-09-24 09:41:20 -07:00
Marc-Andre Laperle
a7f9c65430 Bug 414831 - .cproject line delimiters change to the system default when
saving

Reused some code from org.eclipse.core.internal.utils.FileUtil to
determine the line separator to use when saving the .cproject.

Change-Id: Ibda9724bdc73143c2ec37601727bec024d3dca26
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15399
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-09-24 11:02:35 -04:00
Serge Beauchamp
dc28d7f6f8 Bug 417852 - java.utilConcurrentModificationException in
LanguageVerifier

Change-Id: I8c614c37ab1559069c0639e8c4247ec414e0f0fd
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/16703
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-09-23 15:56:03 -04:00
Sergey Prigogin
7569b2522f Cosmetics. 2013-09-23 11:00:24 -07:00
Andrew Gvozdev
d7dc313c49 bug 416628: to fix intermittently failing test case 2013-09-21 06:19:24 -04:00
Andrew Gvozdev
f49338fed1 bug 416628: Handle case when projects reference each other recursively 2013-09-21 05:29:37 -04:00
Sergey Prigogin
6791f19c41 Relaxed condition on matching of extern "C" functions. 2013-09-20 11:14:11 -07:00
Sergey Prigogin
cb89037f22 Set __cplusplus macro to 201103L as the C++11 standard prescribes. 2013-09-20 11:12:28 -07:00
Sergey Prigogin
d7d38fd21f Cosmetics. 2013-09-20 11:09:40 -07:00
Sergey Prigogin
05841be5fc Renamed ParserConfiguration to TestParserConfiguration and made it
private.
2013-09-17 18:13:29 -07:00
Sergey Prigogin
cb9d63e661 Bug 412766. Check qualified names when doing base class lookup. 2013-09-16 16:00:52 -07:00
Sergey Prigogin
bd922e4988 Cosmetics. 2013-09-16 14:32:58 -07:00
Sergey Prigogin
0c42dae8e4 Removed an obsolete TODO. 2013-09-16 14:32:30 -07:00
Sergey Prigogin
6aa4c6f4d7 Bug 412766 - Allow indexing to continue after encountering an invalid
class member.
2013-09-16 14:13:59 -07:00
Sergey Prigogin
dffb9aa514 Bug 417243 - Organize Includes inserts unnecessary include for the
header declaring a function parameter type
2013-09-13 19:02:56 -07:00