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

11977 commits

Author SHA1 Message Date
Sergey Prigogin
e9e53fb9fa Bug 422695 - Organize Includes does not add include for template
parameter of unique_ptr, etc.
2013-11-27 09:42:55 -08:00
Sergey Prigogin
38fd6392e2 Cosmetics. 2013-11-25 19:48:46 -08:00
Sergey Prigogin
2d58772f73 Bug 421247 - ASTNode.copy() chaining inconsistent
Change-Id: I89397209ae6a47b5a3a0827942b83a6755bc60e0
Reviewed-on: https://git.eclipse.org/r/18874
Tested-by: Hudson CI
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-11-25 21:37:10 -05:00
Sergey Prigogin
4f485bfd58 Bug 422217 - NPE in IndexLocationFactory.getAbsolutePath 2013-11-21 11:47:18 -08:00
Sergey Prigogin
24922585f0 Bug 421398 - Organize Includes not adds includes for base class. 2013-11-20 11:47:17 -08:00
Sergey Prigogin
6f2c349bc3 Corrected tracing code. 2013-11-19 13:47:17 -08:00
Sergey Prigogin
6aa836780c Cosmetics. 2013-11-18 19:13:47 -08:00
Marc-Andre Laperle
dfd0794ed6 Bug 421889 - Typo in CRefactoringDescriptor_unknown_project message
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-11-16 17:21:56 -05:00
Sergey Prigogin
33174d0697 Cosmetics. 2013-11-07 20:27:37 -08:00
Sergey Prigogin
c98b965760 Erase code_formatter preference when disabling project specific settings 2013-11-07 20:23:28 -08:00
Sergey Prigogin
e363ba7f04 Cosmetics. 2013-11-07 11:26:53 -08:00
Serge Beauchamp
3d9e51d8ae Bug 421070 - DwarfReader should scale better for large binaries
Change-Id: I9e085f7fc8e48b265d0e3aa36501e9ae3dadad91
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/18081
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-11-06 23:05:37 -05:00
Marc-Andre Laperle
e911482b4e Fix compilation error. 2013-10-28 22:17:43 -04:00
Sergey Prigogin
642d4c3975 A step towards unification of Organize Includes and Add Include header
substitution algorithms.
2013-10-28 16:27:08 -07:00
Sergey Prigogin
cc3695ca21 Cosmetics. 2013-10-25 09:26:03 -07:00
Serge Beauchamp
66acca58ba Bug 409916 - Can not expand Binary with DWARF 4 format, NPE in
DwardReader

Change-Id: Iaea9685051d5dd73f8504ea3714ce26198fdac46
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/17542
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2013-10-23 12:28:31 -04:00
Marc-Andre Laperle
e562b5e204 Bug 419900 - NPE in BaseClassLookup.lookupInBaseClass
Change-Id: I868bf1918a18a9e7db4aba4d2792510aea03e9a4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17551
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-10-21 23:56:20 -04:00
Sergey Prigogin
d2b9c42395 Cosmetics. 2013-10-21 17:02:40 -07:00
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
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