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

23523 commits

Author SHA1 Message Date
Sergey Prigogin
d722e6d367 Cosmetics. 2013-10-21 14:11:07 -07:00
Sergey Prigogin
20e35e3e42 Code streamlining. 2013-10-21 14:06:28 -07:00
Sergey Prigogin
1e9005bdc8 Cosmetics. 2013-10-21 14:02:13 -07:00
Sergey Prigogin
b2b2a109f5 Fixed a potential NPE. 2013-10-21 10:15:46 -07:00
Andrew Gvozdev
dcffc2cabf bug 416024: "null" is added to the ${workspace_loc} paths 2013-10-20 15:26:51 -04:00
Andrew Gvozdev
3426670477 bug 416024: ManagedBuildManager.locationToFullPath(str) moved to BuildEntryStorage 2013-10-20 15:26:32 -04:00
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
Marc-Andre Laperle
a58170e643 Rename the non-staging target definitions to non-staging names
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-10-18 01:41:31 -04:00
Sergey Prigogin
63019e2c6a Cosmetics. 2013-10-17 21:01:49 -07:00
Marc-Andre Laperle
c644a857ba Bug 392404 - Change Cross GCC toolchain to use language setting provider
Add cross toolchain prefix to the command macro.

Change-Id: I3188d21050b84fdc6d6a4b8d3b6aa540710f1790
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17189
2013-10-16 01:01:43 -04: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
Thomas Corbat
7445c192ca Changed assertNotEquals to assertFalse to comply with JUnit 4.8.1
Change-Id: I51ece211f04c23c2f654b60ecfd662dfb9717890
Reviewed-on: https://git.eclipse.org/r/17291
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-10-11 09:06:05 -04:00
Sergey Prigogin
32b0c2c73c Cosmetics. 2013-10-10 11:55:41 -07:00
Sergey Prigogin
cc789a1979 Fixed an NPE during shutdown. 2013-10-09 09:37:03 -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
Liviu Ionescu
775dc3fc68 Bug 413678: trigger discovery after command line change
Change-Id: I543b95ba08c0f2a482799a6c37fe13759bc21550
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>
2013-10-08 11:01:13 -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
cc0bb2b375 bug 392416: Rebuild builtin GCC compiler settings when GCC version changes 2013-10-06 07:08:41 -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
Thomas Corbat
830c09b3be Bug 412380 Fix for LRParser Tests
Change-Id: I5567cebbace02efe038076ebaf6193308fa5289f
Reviewed-on: https://git.eclipse.org/r/16880
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Reviewed-by: Chris Recoskie <recoskie@ca.ibm.com>
IP-Clean: Chris Recoskie <recoskie@ca.ibm.com>
Tested-by: Chris Recoskie <recoskie@ca.ibm.com>
2013-09-30 14:31:11 -04:00
Alvaro Sanchez-Leon
4eb628b862 Bug 418176 - Register view does not refresh register names per process
Change-Id: I656593bb655d3a384fbcc179ca77e81c9f804f8a
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/16837
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-09-29 22:39:23 -04: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
Alvaro Sanchez-Leon
6c85c85a06 Bug 323552: [registers] Register View content is not stack frame
specific

Change-Id: Ib7922f8487d10e3b9cb5b6dcb255590cc31d2a97
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/16566
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-09-27 10:07:02 -04:00
Thomas Corbat
c92d135f6d Bug 412380 Documentation for "Skip trivial initializer" flag.
Replaced the screenshot and added a short description of the new
options.

Change-Id: Iab2be3bb769079fac8cad70d16d37797d4a57100
Reviewed-on: https://git.eclipse.org/r/16838
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2013-09-27 09:51:23 -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
557839783c Bug 418098 - Added toolchain keywords to some more properties/preferences pages 2013-09-26 11:28:55 -04:00
Serge Beauchamp
597265c574 Bug 418098 - Entering 'Tool chain' in the preference dialog should
return the proper preference panel

Change-Id: Iedf013131c0445914436536da3d6db59173764f7
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/16797
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-26 11:17:43 -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