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

24092 commits

Author SHA1 Message Date
Marc Khouzam
56635a1b57 Move @since 4.9 to @since 5.0
Change-Id: I78e8a5652c10e3bf773f6cf92874b121891df4b1
2015-11-27 11:18:33 -05:00
Doug Schaefer
3dd8f57dcf Bug 481978 - Lots of clean-up to the Qt Build and Launch.
Especially launch. Now have local and QNX launches (which are 
in our internal repo) working.

Change-Id: I97bacc520cc6806fe9622700b2bb3f544e4aad94
2015-11-27 09:41:40 -05:00
Marc-Andre Laperle
5656acd253 Bug 481971 - Detect cc compiler in the build output parser
Change-Id: If667583eb3f720aa9ad7907af4673da8437d15d7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-26 09:01:33 -05:00
Alena Laskavaia
9e38beb510 incorrect source lookup fallback when file is not in workspace
Change-Id: I9f7c5f3c46a26053123d28f30a7b8712eb8c9254
2015-11-25 20:46:02 -05:00
Nathan Ridge
04bf520618 Bug 480825 - Raise CPPSemantics.MAX_INHERITANCE_DEPTH to accommodate
patterns used by some commonly-used libraries

In particular, Boost.MPL supports compile-time computations with type
lists of up to 20 elements, which require a depth of 40 to support

Change-Id: I89b33205837f0acdb84e2d79cef53ec636a6bc8a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-25 18:50:00 -05:00
Marc Khouzam
1551e5d787 Missing rm.done()
Change-Id: Ica2962eeb10d56a12dce7960106426a37429211d
2015-11-25 15:17:05 -05:00
Marc Khouzam
3eb8e4146f Remove deprecated constructor.
The constructor MIThreadGroupExitedEvent(IProcessDMContext, int, String)
has been removed.  MIThreadGroupExitedEvent(IProcessDMContext ctx, int,
MIResult[]) instead.

Change-Id: I1314f63e98b654daab81e30602c14b3e44c7a128
2015-11-25 15:15:41 -05:00
Marc Khouzam
89742720d0 Remove deprecated constructor.
The constructor MITargetAttach(ICommandControlDMContext, String) has be
removed.  MITargetAttach(IMIContainerDMContext, String) or
MITargetAttach(IMIContainerDMContext, String, boolean) should be used
instead.

Correspondingly, the method
CommandFactory.createMITargetAttach(ICommandControlDMContext, String)
was removed.  CommandFactory.createMITargetAttach(IMIContainerDMContext,
String) or CommandFactory.createMITargetAttach(IMIContainerDMContext,
String, boolean) should be used instead.
Change-Id: I2c35f0a7817d135511a851c400d3ad71781afd0c
2015-11-25 15:15:13 -05:00
Marc Khouzam
664185f14a Remove deprecated constructors.
The constructors MIFileExecAndSymbols(ICommandControlDMContext) and
MIFileExecAndSymbols(ICommandControlDMContext, String) where removed.
MIFileExecAndSymbols(IMIContainerDMContext) and
MIFileExecAndSymbols(IMIContainerDMContext, String) should be used
instead.

Change-Id: I1c54599f930430c9640833420256691d01184e76
2015-11-25 15:14:41 -05:00
Marc Khouzam
bf1083842e Remove deprecated classes.
In GDBControl_7_0, the classes InitializationShutdownStep,
CommandMonitoringStep, CommandProcessorsStep, RegisterStep have been
removed; their counterparts, defined in GDBControl, should be used
instead.

Also, the class GDBControl_7_0.ListFeaturesStep now extends
GDBControl.InitializationShutdownStep instead of the removed
GDBControl_7_0.InitializationShutdownStep.

Change-Id: I9365e746ac3cee67abcdc9507dd15e45337a1396
2015-11-25 15:12:26 -05:00
Marc Khouzam
939f543688 Remove deprecated method.
MIVariableManager.MIVariableObject.setExpressionData(String,String,int)
which has been deprecated for over 4 years has been removed.  The method
MIVariableManager.MIVariableObject.setExpressionData(ExpressionInfo,String,int,boolean)
should be used instead.

Change-Id: I3ac346eddd8dc119e725d475481836aa5fbd7d79
2015-11-25 15:11:29 -05:00
Marc Khouzam
65f9144e0f Deprecate method
The method AbstractMIControl.getControlDMContext() has been deprecated.
I has been replaced by ICommandControlService.getContext().  It should
have been deprecated at the same time as when
GDBControl.getControlDMContext() was deprecated, but was forgotten.

Change-Id: Ib568fce51b29455281a3d26b5ace914b9f4dece8
2015-11-25 15:07:20 -05:00
Doug Schaefer
e3496e1246 Bug 481978 - Big overhaul of new build system to work with Qt.
Moved new build system to it's own plug-ins. Cleaned up the root
build configuration and toolchain classes and use them for Qt local
run builds. Also hooks Qt local run launch delegate to launch target
manager and associated delegate interface.

Change-Id: I0c0f711ee53005edd399f6d24ba96658d606e1e5
2015-11-24 22:11:33 -05:00
Alexander Kurtakov
ef76cdac14 Use varargs MessageFormat.format method.
Removes few warnings from codebase.

Change-Id: I432bda487b7eed9adfdbe10086776a54fd37b7b8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-21 03:05:38 -05:00
Alexander Kurtakov
ba862975c1 autotools: Fix dialogs run from Actions to have proper parent.
Creating new Shell as parent of every dialog is waste of resources,
complicates window management and have negative effects in terms of
positioning and stacking of dialogs.
While at it remove dead/unused code from these classes.

Change-Id: I62f9a6430f230e18e5b2f949afe97b46fb9e4ac1
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-21 00:43:00 -05:00
Marc-Andre Laperle
388d94a963 Bug 402313 - [Keybindings] With MS Visual Studio bindings, F5 should be Resume
Change-Id: I928e1a9cb22a535f3c4dd5800c5d364c5a8d2b67
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-20 23:03:59 -05:00
Marc-Andre Laperle
e59d20f0ba Bug 478462 - LLVM feature description is copied from CDT p2 feature
Change-Id: I3a5351a6997633b768eea9dc52a826b3a33e2702
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-20 22:18:55 -05:00
Sergey Prigogin
2af5429bdb Bug 406462 - Fixed a regression in parsing of lambda expressions.
The regression was triggered by the change that introduced support for
designated initializers in C++.

Change-Id: I8e78a8818b8365cce0b878cd4a2c19116b3682d4
2015-11-19 17:52:42 -08:00
Sergey Prigogin
f0bd13a754 Bug 406462 - Allow designated initializers for C++
Change-Id: Iafadba03e6a54b679b4c10ea693a5f8a84ddf839
2015-11-18 21:03:49 -08:00
Sergey Prigogin
49a9b0c3f6 Cosmetics. 2015-11-18 20:25:08 -08:00
Marc Khouzam
c7a94541e5 Bug 336876: Simplify GDBRunControl_7_2
This will help extend the class for the grouping patch.

Change-Id: I67f392833d6391a97850b184f5c866337dff0aba
2015-11-17 15:12:21 -05:00
Matthew Bastien
b5606e115f Bug 481126 - Tern QML Tests
Added a testing framework similar to acorn-qml's for tern-qml and began
adding tests.  Updated acorn-qml and tern-qml to use acorn v2.6.4 which
includes the changes to acorn_loose that enable loose parser plugins.

Change-Id: Ib6af4b476321fde4b3f15aac8342764a45985dfa
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-11-17 10:23:31 -05:00
Sergey Prigogin
4316da89b5 Cosmetics. 2015-11-16 19:55:36 -08:00
Nathan Ridge
3e81f0437c Bug 475894 - Forward declaration of enum at class scope
Change-Id: I51e9bc36350dd403514ce5ec3d48ddb4f456102b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-16 15:37:11 -05:00
Nathan Ridge
e5d0038f49 Bug 481078 - Unwrap typedefs when checking for composite pointer
conversion

Change-Id: I70d99f16c32fd2c00971fd20114c45cae3b08785
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-11-16 14:35:32 -05:00
Alexander Kurtakov
728a032bde Generify getAdapter methods.
Not all instances handled but the patch is big enough already. Drop the
useless casts thanks to the generification too.

Change-Id: I608c93a317135a8738ad770de71d9c3cda24791a
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-14 00:04:50 +02:00
Alexander Kurtakov
e0616d97b0 Stop setting MaxPermSize.
Ignored on Java 8 which is min required version.

Change-Id: Ib133bdeaccd56512e87958ec18c0865d50a9f8d7
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-13 15:02:49 -05:00
Alexander Kurtakov
85bb1512f9 autotools: Drop old Linux Tools compat bundle.
People that would have migrated did it in the last 4 years it is no
longer even known whether this is of any use anymore so better to drop
it now that there is major release on the horizon.

Change-Id: Ic68606582b426be10125fe6a6de345358fc57755
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-13 19:27:39 +02:00
Alexander Kurtakov
8f169e452a autotools: Change order of binary parsers.
Putting ELF before GNU_ELF by default means that the former will never
be used (unless manually configured by user) as the first match will
serve. This patch puts GNU_ELF first giving objdump and all other
benefits. 
Inspired by 4303bc5cbb .

Change-Id: Ib37c174c216758f36cd0574c7980a38461794837
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-12 11:23:00 -05:00
Doug Schaefer
2e6c6216fb Bug 481978 - UI to add Qt installs. Installs are now persisted.
Change-Id: I1fa75b71615959df314a9aaca5f01e17069ec35f
2015-11-12 10:18:37 -05:00
Matthew Bastien
2d6e4f4b8a Bug 481850 - QML Error Tolerant Parser
Added the loose plugin to acorn-qml which is error-tolerant in its
parsing approach.  Switched the main parser to automatically use strict
mode and to complain if the ECMA Script version is set to anything
higher than 5.  This simplifies the parsing a little bit and keeps us in
sync with Qt which currently uses ECMA Script 5 in its JavaScript
runtime environment.

Updated the test framework to accommodate the loose parser and be less
'magic' in how it runs the tests.  Added new tests to make sure the
loose parser is, in fact, error tolerant.

Change-Id: I670fc01853198d2261fbf9d8b017d225c4612182
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-11-12 10:04:21 -05:00
Alexander Kurtakov
8b32e36ed7 autotools: Remove unused wizards.
These extend deprecated classes and are not hooked anywhere so better to
remove directly.

Change-Id: I3be280cb7c24a92c633b2b055424609f99889412
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-12 10:02:19 -05:00
Sergey Prigogin
54ff537f95 Fixed few compiler warnings.
Change-Id: I0f52e2ab9c918031c098d04553b7a6c723bd83b9
2015-11-11 10:53:50 -08:00
Sergey Prigogin
e68e933a2e Removed use of deprecated SubProgressMonitor .
Change-Id: I3d89d91f392ec914c69de086b2184ff3eef482ec
2015-11-11 10:40:05 -08:00
Marc-Andre Laperle
4303bc5cbb Bug 481621 - Linux GCC toolchain should use Gnu Elf binary parser by default
-Projects with default settings for binary parser will see their binary parser
changed to Gnu Elf automatically.
-New projects will have Gnu Elf binary parser enabled.
-Projects overriding the settings will not change

Change-Id: Ie5db969e68da20d16f565923ecb0ec1edf8b79f3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-09 13:07:58 -05:00
Alena Laskavaia
63aa4b3376 Bug 481523 - Open project properties from launch config page
- also removed deprecated fields from CAbstractMainTab

Change-Id: I217f2ade868756edb331de60894846e7f5ec5cc2
2015-11-09 10:35:08 -05:00
Alena Laskavaia
75aa6665a0 minor tweaks bin obj
Change-Id: Ib2a5463bc71f05358a137c1c2bb547fd5577e8e9
2015-11-09 08:55:32 -05:00
Doug Schaefer
67f78c8094 Remove the ANTLR based QML parser. We're planning on tern.js instead.
The prototyping of a tern.js based QML parser and semantic analyzer
is working out well. We are proceeding with that for now and are
removing the ANTLR based QML parser we were thinking of to clean
things up.

Change-Id: I5b9894ade1904d017709542ef23d1f80c4886e45
2015-11-06 15:26:37 -05:00
Matthew Bastien
894c74be7e Bug 481126 - QML Static Analysis based on Tern.js
Tern can now perform static analysis on the following QML constructs:
  - QML Property Declarations
  - QML Property Bindings
  - QML Signals
  - QML Signal Handlers

Added basic support for the 'id' property that can be assigned to any
QML Object.  Fixed acorn-qml's member function parsing and added tests.
The 'demo' folder contains an html demo of the qml tern implementation
using codemirror as the editor.

Change-Id: I9e4d3837b194ff92a36a8d62bef288f61743e4ce
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-11-06 14:39:28 -05:00
Sergey Prigogin
3fea214163 Bug 469788 - Ambiguous node in initializer in trailing return type
Change-Id: Iff81cad75a57c9482ada515a9e9a34d5d1a956d3
2015-11-06 13:22:45 -05:00
Doug Schaefer
790f90ee55 Bug 481352 - Adapt Qt and Arduino providers to ILaunchTargets
ILaunchTarget replaces IRemoteConnection.

Change-Id: I77825ae1347cec7095655548e06cb6dbc5c2aaf4
2015-11-04 23:59:46 -05:00
Matthew Bastien
19cd53ec10 Bug 480238 - Clean Up Acorn QML Parser
Fixed the AST elements so that they more closely match the format used
by acorn (i.e. using 'id' instead of 'identifier' and 'name' instead of
'raw' for the identifier name).  Resolved one of the ambiguities dealing
with using 'signal', 'property', and 'readonly' as identifiers for
properties and QML Objects.   Added a bunch of new tests and fixed the
old ones to match the new AST.

Change-Id: I5a8bbd14b3e6f8531268740dd9e57cb48a0e22b3
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-11-04 09:51:34 -05:00
Marc-Andre Laperle
5eaf1129a5 Upgrade to Tycho 0.24.0
See https://wiki.eclipse.org/Tycho/Release_Notes/0.24

Change-Id: I643c3e47ebc74b8cae468bf4d913566dc79e7bf7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-03 15:51:03 -05:00
Sergey Prigogin
cc20398075 Cosmetics. 2015-11-02 15:31:26 -08:00
Sergey Prigogin
a61ff51c62 Bug 481274 - ArrayStoreException in parser
Change-Id: I4ee9484794925efbb86d7621bbbf5f9932f31773
2015-11-02 15:31:07 -08:00
Doug Schaefer
26014d3ff3 Fix API baseline error in autotools UI.
Change-Id: I303a2e71cd6bf6527b22544fc1b220a78cdda565
2015-11-02 12:40:03 -05:00
Alexander Kurtakov
839adc35b2 qt: Fix feature not installable from nightly p2 repo.
Add freemarker and antlr to category.xml so they end up mirrored in the
nightly repo.

Change-Id: I8c35f1c376f63b8fbe79c7d7b954a63686b129c9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-02 12:29:05 +02:00
Alexander Kurtakov
65a52dfa48 autotools: Cleanups of the ui bundle.
* Remove useless instanceof check.
* Use collections interfaces to loose coupling.
* Remove useless overriding methods that simply call super.
* Unnecessary local before return.
* Stop useless coupling between wizards and pages.

Change-Id: I83c6240259a7805caeadda5503ea3ae2fa6adafb
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-31 10:21:29 +02:00
Sergey Prigogin
392511ef61 Bug 481161 - Namespace resolution problem with index
Change-Id: I2adaa53647bcd67f0a1058de4d44dbc808ff84a9
2015-10-30 16:06:29 -07:00
Matthew Bastien
f9143ebfdc Bug 481126 - QML Static Analysis based on Tern.js
Moved the Tern.js work and acorn-qml into the Qt Core plugin rather than
in a separate plugin.  Added walk.js in order to facilitate walking the
QML AST by acorn-qml.  Changed a few things in index.js and inject.js
for acorn-qml in order to get it working in a browser environment.
Added a tern-qml webpage demo which doesn't do much for now.

Change-Id: I3c8a3d57c98a4936d0e038774b410bb2a68afb6c
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-10-30 17:48:01 -04:00