1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00
Commit graph

24065 commits

Author SHA1 Message Date
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
Alexander Kurtakov
ae53f82634 autotools: Cleanups in the ui bundle.
* Do not check for null variables that are known to be non-null already.
* Stop using SubProgressMonitor in favor of SubMonitor.
* Non-javadoc removed.
* Commented code removed.
* Multi-catch.

Change-Id: Ib0aa433fbdfa8581c89161225f83a1f1640dd2dc
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-30 16:39:13 -04:00
Marc Khouzam
7cc28b5400 Bug 480225 - Reduce trace output for "-list-thread-groups --available"
Change-Id: Ief95bb4dc47cb76b40285cd8a809b15f3d0731bf
2015-10-30 16:13:18 -04:00
Marc Khouzam
ca2070f258 Modify properties to make them easier to use.
Also standardize properties names

Change-Id: I4b25f879d8c0b3b1e74b9590905b1a4b0cfe02ca
2015-10-30 13:45:23 -04:00
Alexander Kurtakov
e0516f3084 autotools: Improve import wizard to generate missing files.
Calling AutotoolsNewMakeGenerator.reconfigure in the wizard ensures that
autogen.sh/configure etc. will be called at import time to make build
work after that without further intervention.

Change-Id: I3f89f84e2f698ebe1c26cb4427de421b29225030
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-29 01:47:16 -04:00
Sergey Prigogin
3098d1679b Bug 472950 - Fixed an infinite loop in content assist inside a body of a
lambda.

Change-Id: I5194571ba8a88e67e9cc897be463c5e833700000
2015-10-28 20:34:09 -07:00
Alexander Kurtakov
904d0df63d autotools: Another round of core bundle cleanups.
* Use try-with-resources.
* More efficient cycles.
* Use collections interfaces instead of concrete classes.
* Turn non-javadoc with actual comments into javadoc.
* Adapt to proper Java naming conventions.
* Modifiers order.
* Unused modifiers.

Change-Id: I5e4ca3e5f2900b72b53338a455dbaaa65273d812
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-28 18:14:27 -04:00
Marc Khouzam
0a04f1aba9 Remove visualizer plugins from Stand-alone RCP debugger
The RCP stand-alone debugger does not have the multicore visualizer
plugins but does have the visualizer plugins.  That means a user can
open the Visualizer view but nothing will display.

We could either add the multicore visualizer plugins or remove the
visualizer plugins.  To follow what the stand-alone script does, this
patch removes the visualizer plugins.

Change-Id: I90075c7fc5c87f21c0b697f81c45abf1d0395218
2015-10-28 14:32:29 -04:00
Alexander Kurtakov
59263ecc02 autotools: Remove redundant and unused modifiers.
Reducing sonar warnings is good strategy to keep new warnings easily
noticable. 
Interface methods/fields have strict modifiers so no need to specify it.

Change-Id: I8c453b5dbdc3c7fcc37e4e0a4fdf1c600e23fb1a
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-27 18:45:17 -04:00
Matthew Bastien
a9730dc194 Bug 480238 - Parse QML Object Literal and Members
Acorn-qml can now parse a large subset of QML syntax.  The only two
things left to do at this point are to allow QML Object Literals in
Property Bindings and to allow QML contextual keywords such as 'signal'
as property binding identifiers.  Both of these require lookahead which
acorn does not ship with at the moment, so this may be a bit of an
undertaking.  Also, added a whole bunch of tests to parse the new
syntax.

Change-Id: I0950fa29265c8337b5c9bfc0a1ec0c3ba8267426
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-10-27 14:53:13 -04:00
Marc Khouzam
cf7cb39de6 Allow autotools.ui to use autotools.core
This change removes around 300 warnings

Change-Id: I5704e99307e8d9117328a76e705a4ba25201be51
2015-10-27 13:02:27 -04:00
Marc-Andre Laperle
8b01ed9b2c Add dsf.gdb.tests.timeout.multiplier property to pom.xml
This allows specifying the multiplier on the command line and pass
it along to the tests.

Change-Id: I35cb764a6494a0eb98e5e2205a47522935c2b206
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-26 15:43:10 -04:00
Alexander Kurtakov
c44b570504 autotools: Bump o.e.cdt.autotools.ui BREE to 1.8.
* Use lambdas.
* Remove non-javadoc comments.

Change-Id: I5a2542f331b40c50460ba93dd34aecff5d68a161
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-23 14:55:55 -04:00
Matthew Bastien
89f0a08d77 Bug 480238 - Parse QML Header Statements
The acorn parser is now able to parse QML import and pragma statements.

Change-Id: Iaeebaa21f8b013935f8cdf2c2a2ff511038e1069
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-10-23 14:33:13 -04:00
Marc-Andre Laperle
e18311d2a2 Add missing buildModel tracing option
managedbuilder.core was already calling getDebugOption with this key
but it was not exposed in the launch configutation.

Change-Id: Ib9e983ea9240bf6d911b2e2b94fc5929d91bcea1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-22 15:24:47 -04:00
Alena Laskavaia
95c65f0a9c Bug 465976 aarch64 support in Elf reader
Change-Id: I226efbe1013cb254686979fd4cd48a05f9800c01
2015-10-22 13:37:22 -04:00
Alexander Kurtakov
9f03bd1ee2 Use *Scope INSTANCE fields.
Recommended way is to use e.g. InstanceScope.INSTANCE instead of new
InstanceScope() which is deprecated now.

Change-Id: I9fa8e53e180a480805bd0a57903e65b5c2de5f75
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-22 01:54:54 -04:00
Marc Khouzam
ac06de029f Missing @since tags in autotools
Change-Id: Ifd660175e636a05d8d304b7462099b9a84e298a8
2015-10-21 13:14:32 -04:00
Matthew Bastien
f8b769b2b3 Bug 480238 - QML Parser based on Acorn
Added a new plugin 'org.eclipse.cdt.qt.core.acorn' which houses the new
acorn-qml parser.

Change-Id: I7b456ecec97d44e10ca7e259523b5262c67c538d
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-10-20 15:55:20 -04:00
Alexander Kurtakov
508ee9fd44 autotools: Migrate core bundle to SubMonitor.
Migrate org.eclipse.cdt.autotools.core from deprecated
SubProgressMonitor to SubMonitor.

Change-Id: Icad7c666fc88852554c5d7dbc70b4ecf26b9bc88
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-20 20:01:26 +03:00
Alexander Kurtakov
62f349f013 autotools: Modernize o.e.cdt.autotools.ui.tests bundle.
* Bump BREE to Java 1.8.
* Enable more warnings and save actions.
* Use lambdas.
* Use try-with-resources.

Change-Id: I688dd1865353380a9791ff28779b4c98f21403f6
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-20 11:11:20 -04:00
Alexander Kurtakov
6839fa9c6b autotools: Modernize o.e.cdt.autotools.ui.
* Enable warnings and save actions.
* Replace useless @see comments with proper Override annotations.
* Remove redundant type declarations.
* Add missing Deprecated annotations.
* Remove useless throws declarations.
* Remove useless casts.
* Remove useless method parameters.

Change-Id: Ic93548f0d0b20706b36efb921a7a86adbe1b2608
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-20 11:10:56 -04:00
Alexander Kurtakov
c6a1fab921 autotools: Bump o.e.cdt.autotools.core BREE to 1.8.
Change-Id: I38ed3dfc834bcdbc77ebe0f2f11645d734c6ea0d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-20 10:16:40 +03:00
Alena Laskavaia
f5170f0cce Bug 478244 - Empty environment variables result in NPEs
java.lang.NullPointerException
        at
org.eclipse.cdt.utils.envvar.EnvVarOperationProcessor.convertToList(EnvVarOperationProcessor.java:158)
        at
org.eclipse.cdt.managedbuilder.internal.envvar.EnvironmentVariableProvider$DefaultBuildPathResolver.resolveBuildPaths(EnvironmentVariableProvider.java:72)

Change-Id: I46e9e990685bf29d1ddd90496e277c049e358a02
2015-10-19 15:03:26 -04:00
Marc-Andre Laperle
646f1813f8 autotools: Fix API errors. Make internal packages actually internal.
Change-Id: I014a7e778f247124239b7c6087b2f0107a11a7fc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-19 14:34:20 -04:00
Doug Schaefer
a657aaa132 Bug 480077 Be more lenient on the *usbserial* port names.
Need to add support for /dev/tty.wchusbserial*.

Change-Id: I219070b7464eff1781baa57882c93d4b70032fb2
(cherry picked from commit 652943dfdf)
2015-10-18 21:57:32 -04:00
Marc-Andre Laperle
98dee4063b Remove some unused images in documentation plugins
I used a simple script:

    for every file name of a given extension {
      grep for the file name usage
      if no result {
         delete it!
      }
    }

I only deleted things under the documentation plugins, to be safe.
This results in about 8MB of deleted images.

Change-Id: I566b8b1ff396b67689d273fc6e827dd3a02ad991
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-16 18:19:52 -04:00
Alexander Kurtakov
495766631c autotools: Modernize o.e.cdt.autotools.core.
* Enable warnings and save actions. 
* Replace useless @see comments with proper Override annotations. 
* Remove redundant type declarations. 
* Add missing Deprecated annotations. 
* Remove useless throws declarations. 
* Remove useless casts. 
* Remove useless method parameters.

Change-Id: I632c1c811b5d01c80279fab30010cec7d285a971
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-16 12:07:00 -04:00