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

22683 commits

Author SHA1 Message Date
Marc Khouzam
0946f7290e Comment cleanup
Change-Id: Ibe40289deadb0a873bf69aae6edf6b620d2f5eca
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-03 14:41:04 -04:00
Marc Khouzam
b2503d844f Typo
Change-Id: I7b941eb2d51b96e6e7669a34509dd7ebed241e52
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-03 14:36:54 -04:00
Marc Khouzam
c9c64b1cd2 Remove unused API filter.
Change-Id: I19d6ea47093ab4e3dfeae09b6f94d9fa03142691
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-03 14:34:27 -04:00
Doug Schaefer
1c70ddf64a Bug 429196 Eliminate StackOverflow on adaptBinding.
A pretty simple and kludgy fix to the problem, but if we detect that
we are adapting a binding that we are just in the middle of adapting,
we bail and return null. Added Andrew's JUnit that reproduces the
problem in case someone wants to try a better solution.

Change-Id: Ib4a85c161be6aee073fee7ac0501464b70020fac
Reviewed-on: https://git.eclipse.org/r/24396
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
Reviewed-on: https://git.eclipse.org/r/24409
Tested-by: Hudson CI
2014-04-03 14:02:22 -04:00
Marc-Andre Laperle
88ba69a961 Add visualizer.examples to maven build
Change-Id: Ic8e52f7f6733f37e8641e6fe9fc01baa4d640476
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/24025
Tested-by: Hudson CI
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
2014-04-02 18:23:40 -04:00
Mikhail Khodjaiants
090c85b966 Bug 431825 - Empty brackets in "Select Process" dialog. 2014-04-02 17:19:06 -04:00
Sergey Prigogin
2e7fd0da20 More efficient ordering of conditions. 2014-04-01 10:35:05 -07:00
Sergey Prigogin
5850c01893 Bug 431596 - NPE in BindingCollector.leave. 2014-04-01 10:33:37 -07:00
Lukas Felber
8c3ba9ec2d Bug 431684 - Intermittent test failures in IndexBugsTest
Improved reliability of BaseTestCase.waitForIndexer method.

Change-Id: Ifcfb4e90a1595e6cc2bc90856daad6cd265b6247
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/24080
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-04-01 13:32:09 -04:00
Xavier Raynaud
f65493131c Bug 431690 - [visualizer] Use clipping when drawing strings
Change-Id: I342b1a430da450b45d62cea1469fbb62a3e9bc94
Signed-off-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-on: https://git.eclipse.org/r/24201
Tested-by: Hudson CI
IP-Clean: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
Reviewed-by: William Swanson <traveler@tilera.com>
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
2014-04-01 12:46:13 -04:00
Alvaro Sanchez-Leon
af6a81e33d Bug 430313 - [remote] Auto Remote Debug - Unable to download to folder
Change-Id: I5b798435a11a97cb0e5195494455104867d12b8d
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/23735
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
IP-Clean: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-04-01 04:41:32 -04:00
Sergey Prigogin
98e690291a Cosmetics. 2014-03-31 14:17:43 -07:00
Mikhail Khodjaiants
8113f63532 Bug 426834 - Failure to install breakpoint in GDB when spaces are in the
workspace path

Change-Id: I9487275bd5c8c5a5cacbadd884c2fa38e49dd6dd
Reviewed-on: https://git.eclipse.org/r/23732
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-03-31 15:45:53 -04:00
Xavier Raynaud
22c1ce3d27 bug 428424: fix NPE while playing with
org.eclipse.cdt.visualizer.examples

Change-Id: I239c7c6594dd5864459ed47c47a1888607ecdaa2
Signed-off-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-on: https://git.eclipse.org/r/22156
Reviewed-by: William Swanson <traveler@tilera.com>
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
IP-Clean: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
2014-03-31 14:33:13 -04:00
William Riley
f54cf7280e Bug 357270 - Show opcodes in the disassembly view
Change-Id: Ia88fa4032483cf70f41714bddd688d754bb5451b
Signed-off-by: William Riley <william.riley@renesas.com>
Reviewed-on: https://git.eclipse.org/r/22972
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-03-31 14:30:49 -04:00
Sergey Prigogin
6b32a922ba Cosmetics. 2014-03-31 11:15:19 -07:00
Sergey Prigogin
dc19bb3b6b Bug 431544 - UnsupportedOperationException in
ControlFlowGraphBuilder.build

Change-Id: I91fd0b4e1a816b80a4bbad5e7a8ee1f61f9862a9
Reviewed-on: https://git.eclipse.org/r/24214
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-31 13:52:52 -04:00
Sergey Prigogin
14bea54256 Cosmetics. 2014-03-31 10:44:07 -07:00
Raphael Zulliger
48613495d7 Bug 431622: Refactoring: Allow derived classes of RegisterVMProvider to
create alternative configuration

Change-Id: I66003b8d664c7633d24a4419acad4c6c8cc0d9bb
Signed-off-by: Raphael Zulliger <zulliger@indel.ch>
Reviewed-on: https://git.eclipse.org/r/24197
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-03-31 13:02:59 -04:00
Anton Leherbauer
c3e9df032b Bug 430117 - "Connect to Process" is always enabled initially 2014-03-31 13:13:42 +02:00
Anton Leherbauer
b3b36231e3 Bug 428121 - Can't force refresh of the disassembly on a different address 2014-03-31 11:44:58 +02:00
Anton Leherbauer
7d147536f3 Limit opcode ruler width to max 20 chars 2014-03-31 11:44:35 +02:00
Sergey Prigogin
4d2a57889c Cosmetics. 2014-03-25 15:35:37 -07:00
Sergey Prigogin
fa7aff1975 Fixed an "Unsafe method call" exception. 2014-03-25 15:32:42 -07:00
David Kaspar
698788ea71 Bug 431012: Missing IQMakeProjectInfo.updateQMakeInfo()
Adding IQMakeProjectInfo.updateQMakeInfo():QMakeInfo method to allow
explicit calculation of QMakeInfo at the time of the method call.

Change-Id: I665bedd5e095d1968f0c39ff2abb19c60aac9e14
Signed-off-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-on: https://git.eclipse.org/r/23800
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-03-24 15:01:26 -04:00
mhussein
f9e4bbf0a3 Bug 430610: Fix ClassCast in TemplateEngineUIUtil.showError
Change-Id: I12505001e3c2fa1ee996ad5ba55ab615be34c731
Signed-off-by: mhussein <mohamed_hussein@mentor.com>
Reviewed-on: https://git.eclipse.org/r/23550
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-03-24 13:59:20 -04:00
Nathan Ridge
2384c6442a Bug 429891 - Fold conditional expression when condition's value becomes
known

Change-Id: Ic241428937864d2c93f6d252386c89fcd3172974
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23768
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-24 12:31:56 -04:00
Doug Schaefer
35daa1d321 PR 383941 - Support binaries with dots in their name. 2014-03-24 11:25:45 -04:00
Marc-Andre Laperle
274b07f70f Remove test interdependencies in CPathEntryTest
testCPathEntries verifies the presence of the default path entries.
testPathEntryContainer modifies the path entries. Because the same
project is being used, if testPathEntryContainer executes first,
testCPathEntries fails. By creating and deleting the project every
time, the problem is fixed.

Also, removed some unnecessary code than seemed copy pasted but not actually used.

Change-Id: Ifcd06d3a133f29b5ce9e2e0fdee34e9493377625
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23756
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-23 23:49:38 -04:00
Nathan Ridge
6d82f0f7a4 Bug 429891 - Do not attempt to evaluate a constexpr function call if the
arguments are not constant expressions

Change-Id: I7f7e5cfd1e581c168bfcc65222e9ef87a15a8e4f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23744
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-23 23:44:29 -04:00
Nathan Ridge
8be981a088 Bug 430282 - Break out of recursion when creating
RecursionResolvingBindings

Change-Id: I568a6f551969adc771ef48113c25b089b69657df
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23588
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-22 12:54:57 -04:00
Nathan Ridge
d02be6bf77 Bug 430282 - Trace indexer exceptions for easier diagnosis of bugs
Change-Id: I208a77af84cc3f3dd017456133edd5e3fa4c7743
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23743
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-22 12:53:13 -04:00
Marc-Andre Laperle
c8c5a78649 Remove test interdependencies in CDescriptorTests
Change-Id: I9b7660bed41357337505ec99bc9289071bcbce7e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23733
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-21 16:33:00 -04:00
sprigogin
c35254e018 Fixed a typo. 2014-03-19 11:40:23 -07:00
sprigogin
c38c1e4204 Test - please ignore
Change-Id: Ie4a5e20b458152f18360f2dd20ad05efd33061a1
2014-03-19 11:31:33 -07:00
Marc-Andre Laperle
ac235ca6b7 Use the default indexer timeout instead of hard-coded ones in some tests
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-03-18 01:00:33 -04:00
Marc-Andre Laperle
535ad23797 Fix intermittent test failures in codan
Sometimes, index-based checkers (AbstractIndexAstChecker) were skipped
because the indexer was not fully initialized so expected errors were
not getting reported.

Change-Id: Ibb764224f11ae4a867a4aa6b9de2b8ec55e90c55
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23428
Reviewed-by: Nathan Ridge <zeratul976@hotmail.com>
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-15 12:05:03 -04:00
Sergey Prigogin
c1ca5aeef0 Bug 430428 - Function resolution problem with lambda and typedef. 2014-03-14 19:17:30 -07:00
Marc-Andre Laperle
cc287ba76f Upgrade to Tycho 0.20 2014-03-14 14:59:48 -04:00
Sergey Prigogin
526fd1eb55 Bug 430230. Fixed loss of EvalTypeId arguments during
serialization/deserialization.
2014-03-14 11:04:45 -07:00
Nathan Ridge
2c78dee75f Bug 151329 - Accept '\r' as line delimiter in the lexer
Change-Id: Ie3fb2926270a605db2a8590f6e00c1dc6ab7855a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23096
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-14 12:16:29 -04:00
Sergey Prigogin
450504e505 Bug 430230. More involved test case and a fix for the issues it
uncovered.
2014-03-13 20:39:01 -07:00
Sergey Prigogin
db4c3d2c3e Bug 430230. Few follow up fixes. 2014-03-13 17:06:04 -07:00
Sergey Prigogin
aa2ae49463 Bug 430230 - Invalid constructor call is ignored by SFINAE template
resolution.
2014-03-13 16:30:08 -07:00
Sergey Prigogin
d5db93891d Cosmetics. 2014-03-13 16:29:58 -07:00
Marc Khouzam
ea81f8bf27 Bug 430304 - "Add C/C++ Watchpoints" no longer shows for variables and
expressions view 

Change-Id: I0ed59f1f2ce4a6c145b601b79bc9394071686f06
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23342
2014-03-13 13:22:38 -04:00
Marc-Andre Laperle
b1b11e28bd Change target definitions to use JavaSE-1.7 Execution Environment
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-03-13 02:23:31 -04:00
Marc-Andre Laperle
c221d768ac Always run CDescriptorTests methods in the same order
It appears this class was not written to with random test ordering in
mind. This should fix some of the intermittent test failures.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-03-13 02:00:03 -04:00
Marc-Andre Laperle
f6fcccfcad Bug 421041 - NPE in EvalBinding.getBinding
This happens when constructor EvalBinding(IBinding binding, IType type,
IBinding templateDefinition) is called with a null binding. A binding
can be null for example when TypeMarshalBuffer.unmarshalBinding returns
null. Instead of returning null, unmarshalBinding can return a
ProblemBinding and the assumptions that the binding in EvalBinding is
not null can be maintained.

Change-Id: Icebf875e059f2962cc2ddd91d3b79c51b88eddac
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18064
2014-03-12 22:01:36 -04:00
David Kaspar
73a912f95b Bug 429488: Fix for deadlock in QMakeProjectInfo.updateActiveConfiguration
To prevent a deadlock between two the workspace and QMakeProjectInfo.sync
locks, QMakeProjectInfo class has been rewritten to not call any method
under sync-lock except for IQMakeEnv.init/destroy method.

All methods should allow calling under workspace lock.

Added a new IQMakeEnv2 interface to provide an explicit init method.

Original QMakeProjectInfo has been split to
QMakeProjectInfo and QMakeProjectInfoManager.

This change is fully backward compatible.

Change-Id: I880f22dd9bd999af1d3f47e4a3c4c0ab216b4ad2
Signed-off-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-on: https://git.eclipse.org/r/23270
Tested-by: Hudson CI
Reviewed-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-03-12 20:50:01 -04:00