1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 02:06:01 +02:00
Commit graph

4541 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
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
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
51ac942b6c Added handling of situations when the AST in not available. 2013-10-01 11:00:16 -07: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
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
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
6791f19c41 Relaxed condition on matching of extern "C" functions. 2013-09-20 11:14:11 -07:00
Sergey Prigogin
bd922e4988 Cosmetics. 2013-09-16 14:32:58 -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
Sergey Prigogin
37d52ad572 Bug 417240 - Organize Includes inserts unnecessary include for the
header declaring a base class
2013-09-13 17:03:03 -07:00
Jesse Weinstein
10a7fa2f66 [bug 417138] Various schema cleanups in cdt.ui
Change-Id: I56109bce78155e58b0f98155d5dec0eef625f007
Signed-off-by: Jesse Weinstein <Jesse.Weinstein@clinicomp.com>
Reviewed-on: https://git.eclipse.org/r/16402
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-12 23:04:35 -04:00
Sergey Prigogin
5c358c649c Bug 417147 - Organize Includes ignores an overloaded operator. 2013-09-12 19:34:08 -07:00
Sergey Prigogin
79cd2757f5 Bug 417143 - Organize Includes removes include of the header declaring a
variable.
2013-09-12 16:04:05 -07:00
Sergey Prigogin
6188a361c0 Bug 417050 - Organize Includes adds includes for template parameters of
unique_ptr.
2013-09-11 20:20:59 -07:00
Marc-Andre Laperle
67aac2386d Bug 416317 - Toggle refactoring creates .cpp file when in a C project
Change-Id: I60f4d4def8f5f2a52c3bc07979d317ec4f6d2d06
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16089
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-09-09 19:59:17 -04:00
Andrew Gvozdev
6856d55b68 bug 416628: "Export" of entries of language settings providers to referencing projects - added provider to do that 2013-09-08 08:09:33 -04:00
Andrew Gvozdev
da95189bb4 bug 416628: "Export" of entries of language settings providers to referencing projects - added capability 2013-09-08 08:09:10 -04:00
Nathan Ridge
e9d295e1a6 Bug 380751 - Members of decltype types cannot be used
Change-Id: Ie6113d44647a222e063ab2ab27f3dc9d994f98fc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15451
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-05 20:01:24 -04:00
Sergey Prigogin
3edcac7cc7 Fixed an NPE. 2013-08-29 17:17:02 -07:00
Sergey Prigogin
c9ab9203e6 Bug 416194 - Partner include should never be removed 2013-08-29 14:43:49 -07:00
Andrew Gvozdev
652ce4748e Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
Sergey Prigogin
50c5677fcf Bug 415914 - Organize Includes doesn't add include for a constructor
call
2013-08-26 13:24:53 -07:00
Sergey Prigogin
7c4c09cb65 Bug 415808 - Organize Includes command doesn't add includes for template
arguments
2013-08-23 21:44:21 -07:00
Sergey Prigogin
73e87bf305 Bug 414694 - Forward declarations inserted by Organize Includes have to
honor formatting preferences
2013-08-22 16:53:07 -07:00
Sergey Prigogin
80ca2e52aa Bug 415702 - Invalid thread access in IncludeCreator.findContribution
method
2013-08-22 16:48:00 -07:00
Chris Recoskie
59b8242268 Bug 413080 - IllegalArgumentException in Indexer preference page 2013-08-22 14:28:45 -04:00
Sergey Prigogin
410adb2b01 Bug 415394 - Function parameter types allowing implicit conversion from
other types should not be forward-declared
2013-08-19 20:35:48 -07:00
Sergey Prigogin
75660e6087 Bug 414624. Removed unused externalized strings. 2013-08-19 17:19:34 -07:00
Sergey Prigogin
9f51f9f990 Bug 45203. Export header substitution maps in canonical order. 2013-08-19 13:35:24 -07:00
Glen Anderson
191382509c Fix for Bug 414525 Product preferences ignored in console preferences
page

Change-Id: I76ada4dcdf1dfd89fe71a854423cfdc0f26bfe6a
Signed-off-by: Glen Anderson <glen.anderson@analog.com>
Reviewed-on: https://git.eclipse.org/r/15177
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-08-16 17:42:38 -04:00
Sergey Prigogin
93af246156 Bug 45203. Added few tests and fixed bugs uncovered by them. 2013-08-15 10:27:55 -07:00
Sergey Prigogin
a0ac619929 Bug 45203. Added a test for indirect header export and fixed a bug
uncovered by the test.
2013-08-15 10:25:38 -07:00
Sergey Prigogin
ca5586f8be Bug 414624 - Add Include command doesn't honor Organize Includes
preferences
2013-08-14 09:27:35 -07:00
Sergey Prigogin
7ae8b48608 Cosmetics. 2013-08-14 09:23:29 -07:00
Sergey Prigogin
eca8e6004c Bug 414838 - New class creation doesn't properly handle include path
with directories for non-system headers.
2013-08-11 22:10:24 -07:00
Marc-Andre Laperle
1524122c03 Bug 414827 - ClassCastExceptions in ToggleNodeHelper using C file
Change-Id: Ia98176f3a532432a02758c23cc515566d83b3efd
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15325
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-08-11 15:49:12 -04:00
Sergey Prigogin
5a3fe46fd9 Bug 45203. Added substitution rules for few additional standard C++
headers.
2013-08-08 11:20:32 -07:00
Sergey Prigogin
e132ade3f4 Bug 414624. First step towards code reuse between Add Include and
Organize Includes commands.
2013-08-07 20:30:39 -07:00
Sergey Prigogin
fba15d74dc Bug 45203. A preference for forward-declaring external variables. 2013-08-07 11:40:50 -07:00
Sergey Prigogin
073237d901 Bug 45203. Allowed partner indirect inclusion by default. 2013-08-07 11:28:45 -07:00