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

1348 commits

Author SHA1 Message Date
Daisuke Nojiri
58af86640b Bug 443436 - Auto indenter uses spaces where it should use tabs
This change makes auto indentation following a new line use tabs where
possible when "Use tabs only for leading indentations" is disabled.

Change-Id: I97d787a003763697e281bb4a8af0f4760cbd81fb
Signed-off-by: Daisuke Nojiri <dai.nojiri@gmail.com>
Reviewed-on: https://git.eclipse.org/r/32955
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-09-05 18:43:14 -04:00
Sergey Prigogin
62f4735f8e Bug 443356 - Organize Includes adds an unnecessary include for a
function referenced by a macro
2014-09-04 15:44:59 -07:00
Sergey Prigogin
096fae2b3e Bug 442841 - Organize Includes adds an unnecessary include for the base
class of the type of a field
2014-08-29 22:11:21 -07:00
Marc-Andre Laperle
97079f6ad0 Add missing arg for jacoco in in tests. Update jacoco.
Jacoco arguments are missing when executing certain tests. This happens when
argLine is being overriden. We had the same problem in Linux Tools. We solved
it by prepending the argLine with ${tycho.testArgLine}. This should help
improving the Code coverage metric in Sonar.

Also update the jacoco version to fix a bug when building with Java 8.

Change-Id: I7f73f40488efc01fc7d643940c1ac0d5950c900d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32507
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-08-28 15:40:26 -04:00
Sergey Prigogin
565aae76ba Bug 442742 - "Organize Includes" removes a header required for a
namespace alias
2014-08-27 14:14:59 -07:00
John Dallaway
e23f4ef14b Bug 442186: Code formatter handling of CRLF after single line comment
Change-Id: I1a17ec992fd881851e076c732629ac912effc2f1
Signed-off-by: John Dallaway <john@dallaway.org.uk>
Reviewed-on: https://git.eclipse.org/r/32024
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-22 14:42:08 -04:00
Thomas Corbat
ac8965a904 Bug 418493 - [Content Assist] Show default values within parameter hints
Preferences:
- Displaying parameters with default argument
- Displaying default arguments

Default arguments for functions and templates.

Conflicts:
	core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/DOMCompletionProposalComputer.java

Conflicts:
	core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/contentassist2/CompletionTests.java
	
Rebased to changed parent

Change-Id: Ifb505f5723dc26212c34f492d3d49b7badf366ea
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30646
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
2014-08-14 02:55:59 -04:00
Thomas Corbat
ebb9bced0d Bug 440422 - Completion in Using Declarations
Fix for content assist in the context of using declarations:
- No parameter hint for using declaration (template and function)
- No trailing semicolon if one is already present
- Parameter hint for invocation in template arguments
- Space after comma in function suggestions

Some refactoring to content assist test infrastructure.


Change-Id: Id2483ddefe1c35572a9554fdadb0b6416402446a
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30584
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-13 09:06:04 -04:00
Marc-Andre Laperle
86a08c918e Upgrade to Tycho 0.21.0
Change-Id: I1ef13eda4f297c10ee360cac64f43d58a91790e1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29954
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-31 11:19:17 -04:00
Thomas Corbat
312f6dc9ac Bug 440642 - [Content Assist] No Completion in Template Aliases
Fix for bug including test. This change will need to be adapted if Bug
440422 is submitted as currently proposed, because it replaces the
existing constants for selecting the comparison strategy with an enum.

Change-Id: I657c6f24217c5d1810a088080ee0ecadb3b83e9b
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30661
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-07-30 02:16:56 -04:00
Sergey Prigogin
d8154bd340 Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
Thomas Corbat
f81b783269 Bug 84144 - Occurrence marking for label references. 2014-07-10 13:20:38 +02:00
Thomas Corbat
875e21efb0 Bug 430342 - Completion of template arguments.
Change-Id: Iaf1c43ce826f6676b941689f39fc81ea5e25daa8
Reviewed-on: https://git.eclipse.org/r/29440
Tested-by: Hudson CI
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2014-07-07 03:05:57 -04:00
Sergey Prigogin
852659fa1d Bug 437630 - NPE in Organize Includes with a lambda expression 2014-06-17 15:18:24 -07:00
Sergey Prigogin
d962e2eee7 Automatic update of include statements and include guards when header
files are renamed or moved.
2014-06-17 15:14:50 -07:00
Sergey Prigogin
cf4556f05f Cosmetics. 2014-06-17 15:12:01 -07:00
Sergey Prigogin
a74fec3491 Adjusted test expectations to the modified treatment of unused includes. 2014-06-04 11:56:04 -07:00
Sergey Prigogin
dc63d60efd Bug 435340 - Add Include inserts an extra blank line 2014-05-20 14:12:41 -07:00
Sergey Prigogin
5b6571f5d9 Bug 435235 - Automatically close opening brace of list initializer 2014-05-19 18:52:07 -07:00
Sergey Prigogin
9a96a017e5 Cosmetics. 2014-05-19 17:49:41 -07:00
Nathan Ridge
a7b73d776c Bug 399149 - Syntax-coloring for class-virt-specifier
Change-Id: I13bd4b3fcc82e1ce0339f2a357f0854f9e56bba8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/26555
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-16 01:16:02 -04:00
Sergey Prigogin
c8b14a3c3e Bug 434917 - Rename refactoring misses macro reference. 2014-05-14 20:48:23 -07:00
Sergey Prigogin
b75e994cb1 Cosmetics. 2014-05-14 20:45:09 -07:00
Sergey Prigogin
456630b5a0 Bug 424571 - C++ indexer cannot find a derived class if the base class
in its declaration is written with namespace
2014-05-08 20:11:09 -07:00
Sergey Prigogin
f8dc5e0c75 Bug 434383 - Organize Includes inserts unnecessary include for code
produced by macro expansion
2014-05-07 20:26:40 -07:00
Sergey Prigogin
9d7a23cde5 Bug 414692 - Organize Includes has to honor @headername{<header>} in
doxygen comments
2014-05-02 10:46:19 -07:00
Sergey Prigogin
355027f0c9 Cosmetics. 2014-05-02 10:43:52 -07:00
Nathan Ridge
a290bdac7e Bug 399149 - Semantic highlighting for context-sensitive keywords
Change-Id: Ied967abed9291eb2e9548f23bf2fbb41e898aec2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24513
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-14 12:33:47 -04:00
Nathan Ridge
f699ed76a0 Bug 432703 - 'Open Declaration' in parameter referencing previous
parameter

Change-Id: I3ea07345093c7d3663de70fb534532bbdf0bd191
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24933
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-14 12:33:02 -04:00
Sergey Prigogin
5c7a64d0fb Bug 432651 - Organize Includes removes an include necessary for defining
a method
2014-04-11 16:16:25 -07:00
Nathan Ridge
a2a05a515a Bug 372004 - Locally declared extern variable
Change-Id: I33d634d6c63138910b2958b81f6d8df358e89e7d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23098
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>
2014-03-10 12:44:07 -04:00
Sergey Prigogin
99de8fdda1 Removed unused constants. 2014-01-29 17:23:26 -08:00
Sergey Prigogin
acef14f15d Removed an unused constant. 2014-01-29 17:04:46 -08:00
Sergey Prigogin
5d7a19fa6c Enabled JDK 1.7.
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
1d166260a8 Bumped up CDT version to 8.4.
Change-Id: I1229344feaaed4a3551ceb7b1ef1410545048b55
Reviewed-on: https://git.eclipse.org/r/20908
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21 17:35:29 -05:00
Sergey Prigogin
3005e7ef26 Bug 424876 - Unable to extract a function containing nested loops 2014-01-03 18:39:31 -08:00
Sergey Prigogin
c95730601b Cosmetics. 2014-01-02 17:22:04 -08:00
Sergey Prigogin
772f6c1643 Bug 423126 - Extract Function refactoring misses additional occurrences
of the extracted code
2013-12-03 18:16:43 -08:00
Sergey Prigogin
772066afce Bug 422727 - Extract Function doesn't properly handle auto types 2013-11-30 22:39:34 -08:00
Sergey Prigogin
02001dbe71 Bug 422695. More test cases and fixes. 2013-11-27 14:27:00 -08:00
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
24922585f0 Bug 421398 - Organize Includes not adds includes for base class. 2013-11-20 11:47:17 -08:00
Sergey Prigogin
e363ba7f04 Cosmetics. 2013-11-07 11:26:53 -08: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
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
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
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
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