1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00
Commit graph

23108 commits

Author SHA1 Message Date
Jeff Johnston
16f2f4717d Fix standalone feature names in their .project files.
Change-Id: I0602133925319f06de9b7139d698d88ca284cc3d
Reviewed-on: https://git.eclipse.org/r/34505
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
(cherry picked from commit 98ff5df1a1)
Reviewed-on: https://git.eclipse.org/r/34516
2014-10-07 15:45:10 -04:00
Marc-Andre Laperle
14ab5d8e01 Fix ptp p2 update site to fix build
Change-Id: I1f32178baa27c5ff1d77852834eae1539fef5506
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33475
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/33516
2014-09-17 19:27:03 -04:00
Marc Khouzam
7d817be44a Bug 444395 - Breakpoints don't get set for second session.
Change-Id: Ifa857cc2e9de00bb2f2a86b9d5e73536294dd01d
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33517
2014-09-17 16:29:37 -04:00
Jeff Johnston
2d3e5f7187 Change Kepler reference to Luna in p2.inf file for Autotools feature.
Change-Id: I34cbcefcf104759465363ef702406264304f5bae
Reviewed-on: https://git.eclipse.org/r/33276
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-09-12 14:56:51 -04:00
Daisuke Nojiri
0234c6c601 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 15:47:18 -07:00
Sergey Prigogin
a6265b01d4 Bug 443356 - Organize Includes adds an unnecessary include for a
function referenced by a macro
2014-09-04 15:50:04 -07:00
Markus Schorn
4fac47d2ea Bug 440057: Fix ClassCastException invoking C/C++ Project Settings Import Wizard. 2014-08-28 13:44:36 +02:00
Sergey Prigogin
98e2f01a97 Bug 442742 - "Organize Includes" removes a header required for a
namespace alias
2014-08-27 14:44:06 -07:00
Nathan Ridge
01fcf452a7 Bug 442213 - Field reference in pack expansion
Change-Id: Iea4f20ced1050d66aad178d43db0c5dac15faed2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32191
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-27 14:42:10 -07:00
Nathan Ridge
60290def38 Bug 439923 - Fix an assertion failure in
AbstractCPPClassSpecializationScope.getBindings()

Change-Id: I4f6485b016d87d98fc980adf8c0dce9fa139aecf
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32203
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-27 14:41:34 -07:00
Nathan Ridge
1002bcdf78 Bug 435075 - Avoid an infinite recursion during name resolution
Change-Id: Ie9ac34b184f7b7f6b5196aad716d0fc3696c1e6e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/32193
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-27 14:41:06 -07:00
Sergey Prigogin
3779d88f41 More consistent treatment of anonymous namespaces betwenn index and
non-index bindings.
2014-08-27 14:39:26 -07:00
Sergey Prigogin
7ed07030b2 Bug 442117 - Name resolution problem with namespace alias. 2014-08-27 14:37:17 -07:00
Sergey Prigogin
eaf6b52cba Cosmetics. 2014-08-27 14:36:43 -07:00
Sergey Prigogin
e0b4a2fffb Code streamlining. 2014-08-27 14:36:11 -07:00
Sergey Prigogin
47a6e15934 Added toString method. 2014-08-27 14:35:34 -07:00
Sergey Prigogin
e1516b4a11 Cosmetics. 2014-08-27 14:34:14 -07:00
Anton Leherbauer
48178ec7f8 Fix PTYOutputStream.write for off > 0 2014-08-27 15:47:09 +02:00
John Dallaway
3663a18bc8 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 12:06:45 -07:00
Sergey Prigogin
4f6b3c9174 Fixed an invalid version constraint. 2014-08-19 20:05:50 -07:00
Marc Khouzam
8753a61a36 Point cdt_8_5 build to its own location
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-08-19 10:55:20 -04:00
Marc Khouzam
0f9bc0bea4 Remove Launch Bar from 8.5 release.
Change-Id: I38f37ee230a9078c670ea7abb22f9aaa4eb50dd3
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31862
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-08-18 23:15:54 -04:00
Thomas Corbat
ec2fe61a04 Bug 441859 - [ASTRewrite] Replacing Replaced Node Throws IllegalArgEx
Changed ASTRewrite to also accept the root node as valid target for
replacement. Added a test to show the resulting modification store setup
works as expected.

Change-Id: I471d4399690f3a5bb7dcddca45b3f848826b696c
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/31747
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-18 02:46:56 -04:00
Nathan Ridge
05d86fc1d1 Bug 439896 - Handle problem bindings in
CPPCompositesFactory.getCompositeEvaluation()

Change-Id: I96a9961f39b6bf8d9109ebe0daa30194b8f3fed4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31801
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-17 13:34:49 -04:00
Nathan Ridge
82f3bca7d0 Bug 441701 - Add ICPPASTFunctionCallExpression.getOverload()
Change-Id: I42e2180c28db135d5d7d135cccde44f839720bbd
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31799
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-17 13:33:59 -04:00
Sergey Prigogin
4e69217016 Cosmetics. 2014-08-14 20:08:46 -07:00
Sergey Prigogin
d87c480f47 Proper reporting of unsupported statement types.
Change-Id: I4e4745bf7661329873107e8849f6200577756891
Reviewed-on: https://git.eclipse.org/r/31725
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-14 17:50:36 -04:00
Sergey Prigogin
63053a556c Cosmetics. 2014-08-14 13:59:30 -07:00
Marc Dumais
2af299938c Bug 436095 - [visualizer] Make cloning of visualizer view possible
Change-Id: Ic77a218c513c7066a3f7300bb76aa85359ce0852
Reviewed-on: https://git.eclipse.org/r/28807
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
2014-08-14 14:25:04 -04:00
Alvaro Sanchez-Leon
e3d302bc13 Possibility to override the p2 repo used to generate help documentation
needed by the tycho eclipserun plugin

Change-Id: I4551faa6503e3d34afcb4618a07f36d28c2779e8
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31547
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-08-14 13:37:33 -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
Alena Laskavaia
742c1d9ee8 LaunchBar - some checks to prevent NPE's in ui
Change-Id: Iddece4d412b8d88ffba833b55950ec693a2817cc
Reviewed-on: https://git.eclipse.org/r/31554
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-13 16:24:59 -04:00
Alvaro Sanchez-Leon
bf0e781811 Add o.e.cdt.tests.dsf.gdb to the testing repo
Change-Id: I276e96460e7b8c8f86c1eb6232ff3922ac027a5d
Reviewed-on: https://git.eclipse.org/r/31551
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-08-13 15:43:35 -04:00
Sergey Prigogin
21c0d0a2f8 Cosmetics. 2014-08-13 12:03:53 -07: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
Alena Laskavaia
51f7d9c829 Launch Bar - label provider for config selector
If provider does not return image or text, use default provider

Change-Id: I20bca6e5ef577f4e227d5e567820ba8d004cb85a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31447
Tested-by: Hudson CI
2014-08-12 14:04:15 -04:00
Jonathan Williams
c1ca67ed34 Bug 441445 - Implement 'Add Target' functionality for target type
contributions to LaunchBar

Change-Id: I577c0e1438090aaaf27bba34660169cde82a8e8c
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/31319
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-12 12:27:29 -04:00
Alena Laskavaia
bc0a8fb72f LaunchBar - project based descriptor bug
project based descriptor must not accept launch configs without project
set
ownProject should not log exception when lc does not exist

Change-Id: I9a600641324b0ae22a2fdb99e68ff530cd1d33df
Reviewed-on: https://git.eclipse.org/r/31400
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-12 11:52:17 -04:00
Alena Laskavaia
a458a0fe9f Fixing NPE in ACBuilder
ACBuilder now fails to add a marker if some other marker have no
linumber attribute. Added default line and severity for marker
comparision purposes.

Change-Id: I9c42f660cae08c3303382d8c35aa6404e7130652
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31398
Tested-by: Hudson CI
2014-08-12 08:46:41 -04:00
Sergey Prigogin
4dd9a12177 Cosmetics. 2014-08-11 20:17:08 -07:00
Nathan Ridge
de6b33924c Bug 437675 - Handle PDOM function instances in
CPPTemplates.instantiateBinding()

Change-Id: I3bf9ee9f5db0521e60c302b96db39513873aeb1b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31347
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-11 13:35:40 -04:00
Nathan Ridge
3e540156b6 Bug 404245 - Check that a function call has enough arguments after
template argument deduction

Change-Id: I2824e908dc6ea9796c9400e81f3ef34d97406dc6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31345
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-11 13:33:27 -04:00
Nathan Ridge
42235704cb Bug 438348 - Allow decltype-specifiers in base-specifiers
Change-Id: Ib027b78aa207e1fe0e1aef56fae7eeace041118c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/31341
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-11 13:30:57 -04:00
Alena Laskavaia
b7ec8deec4 Bug 242405 - Binary file editor does not refresh when binary is rebuilt
Change-Id: I0af100959f8f61b2d2735f9d0d9cd42b6c91e590
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31300
Tested-by: Hudson CI
2014-08-11 11:28:30 -04:00
Alena Laskavaia
1bf2aa825f LaunhBar - some API changes and cleanup
* Project provider to react on project changes (i.e. when nature
changed)
* Added concept of open descriptor - which will be visible in UI,
this will allow not to remap to null, reuse objects for other reasons,
and eventually I want to replace object map into 1:1 mapping without
nulls
* Removed throwing CoreException from getLaunchDescriptors (it does not
need to throw it)
* Project based type now checks if project is open
* Fixed copyright
* Added interface for ILaunchDescriptorProjectBased

Change-Id: I3277f5910c7df1bb4aa3e809dda3b61921dcad6e
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31321
2014-08-11 11:02:11 -04:00
Thomas Corbat
4d4ab6cafd Bug 440710 - [ASTRewriter] UnhandledASTModificationException when ...
When a statement has been inserted into a replaced compound statement
createModifiedChildArray is called for the new compound statement. The
insert modification is attached to its sibling node. The implementation
for handling this insert was on the parent (compound statement) though.
I moved this (adapted) functionality to handling of the sibling nodes.
With the way insert modifications are stored the previous implementation
cannot have worked. Furthermore, there is no test code which covers the
deleted code.

Change-Id: I9615787177c12a870df7c9663170f38b2c28accb
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30796
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
2014-08-11 07:19:41 -04:00
Thomas Corbat
21a7118692 Bug 440447 - ASTRewrite Loses Nested Modifications
Modified ChangeGeneratorWriterVisitor to cope with nested modifications
as described in the ticket.

Also added some related change generator tests to the corresponding
tests suites.

Refined change to cope with sibling changes too.

Change-Id: Ia04f3d01e50375828588e7fa65e2ec3782c58e79
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30525
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-08-11 05:07:07 -04:00
Sergey Prigogin
cbc4e67f8e Moved TextUtil class to a more prominent place. 2014-08-08 18:45:28 -07:00
Sergey Prigogin
191b4111f8 Cosmetics. 2014-08-08 18:42:02 -07:00
Sergey Prigogin
ebac470813 Added support for radio buttons corresponding to non-boolean preferences 2014-08-08 18:40:47 -07:00