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

24036 commits

Author SHA1 Message Date
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
Marc Khouzam
843ecb2adc Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-10-15 16:17:32 -04:00
Marc-Andre Laperle
803bf0db80 Bug 458771 - Cannot refresh an editor in standalone debugger
-Add Refresh command to File menu.
-Enable 'Refresh on Access' by default, like Eclipse for C/C++ package
-Reorder the File menu a bit so that Exit is last

Change-Id: I3636cd20da1a2523ca1574674cf6ebc59a124860
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-13 16:39:36 -04:00
Marc-Andre Laperle
10ae5c9dea Fix org.eclipse.cdt.alltests.AllTests compilation
Change-Id: Ie07ba0e7411e5d165fc11f4e7616edc793611a77
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-09 17:42:59 -04:00
Alexander Kurtakov
41d04dd376 autotools: Modernize o.e.cdt.autotools.tests bundle. (take 2)
* Bump BREE to Java 1.8.
* Start using lambdas.
* Removed unused helper methods/activator/etc.
* More JUnit 4 migration.
* Enable more warnings by default and fix them.


Change-Id: If2df6114fb18b66822849ce2e1b956dd0ce6b514
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-09 16:03:51 +03:00
Sergey Prigogin
46db6d71cf Make com.google.gson dependency optional to preserve compatibility with
Eclipse 4.5.

Change-Id: I2589809649bc7d28c444d9901c46d14a1393826f
2015-10-08 12:48:00 -07:00
Alexander Kurtakov
20ff8a3cbc autotools: Modernize o.e.cdt.autotools.tests bundle.
* Use generics.
* Add missing Override annotations
* Migrate to JUnit 4
* Drop non-javadoc comments.

Change-Id: Ic715a7375fb052bdbc4385f0528d40197060eda3
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-10-08 14:12:47 +03:00
Marc Khouzam
4d5e9569e6 Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-10-06 14:21:35 -04:00
Marc Khouzam
ef8906cc1d Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-10-06 13:13:49 -04:00
Marc-Andre Laperle
9aa72d4a44 Updates to Oomph setup
-Update API baseline to 8.8
-Fix some missing things for Neon Targlet
-Default is now Neon

Change-Id: Ia2b07ba8438e7b2b853c77fae8ff7dbd9febf010
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-06 12:39:40 -04:00
Marc Dumais
139e8a6d96 bug 479039 - Move VisualizerVirtualBoundsGraphicObjectTest to
org.eclipse.cdt.dsf.gdb.multicoreVisualizer.ui.tests

Change-Id: Iceed10c7458aceee2560d6066ec052f85f2d9086
2015-10-06 08:31:40 -04:00
Marc-Andre Laperle
886cc17c35 rcp: Fix stand-alone build with Eclipse 4.6 target
Change-Id: I8dc5fdd98add54f34ee0d5b8d833c058ceae0f59
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-05 15:17:36 -04:00
Marc Khouzam
5c2a64bc5d Add 4.6 target to pom.xml
Change-Id: Id968fc0ce95bf18b849d5c36e37398b76d08130c
2015-10-05 13:40:06 -04:00
Matthew Bastien
6c3f10576b Bug 478938 - Automatically add source files to Qt Project File
Added basic content assist for built-in qmake variables since there are
so many of them.

Added a bunch of new classes dealing with basic parsing and modification
of Qt Project Files.  For now the parser is a simple regular expression
matcher that finds instances of variables.  The modification class
supports preservation of indentation and comments that are tied to
variables in the project file.

Change-Id: I0539458d5c1cf29e6c9c1246e4e717e7cbec1b84
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-10-05 12:41:41 -04:00
Marc Khouzam
43da8ab7ac Point for 8.8 release
Change-Id: I8974e9a657f928f097a0d4e40f0e887288ccb8f1
2015-10-05 11:39:27 -04:00
Jonah Graham
cc2099c4a0 Bug 478803 and Bug 478805: add tests for source lookup
Change-Id: If47f62a46164e4098e663f1eef1a0a8640a84009
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-10-01 22:31:39 +01:00
Doug Schaefer
3b26dc26c4 Set up QML parser tests using TestSourceReader.
Change-Id: I40a3ef8dcf53d6189a980ae6ae7128746867c70f
2015-09-30 19:45:36 -06:00
Doug Schaefer
7cf2a14cc9 Move QML stuff to qt.core plug-in. Add deps for ANTLR, FreeMarker.
Moves to the cdt 4.6 platform where the new ANTLR and Freemarker deps
will be. Also properly names the qt test plug-ins.

Change-Id: I026873583c6e6ca7602cb983ab04f99acd700a4b
2015-09-30 08:22:59 -04:00
Marc Khouzam
0cfb15135f Remove reference to java environment in build.properties
Change-Id: I053158a23d2783879248320a84a9549e28cfb4d1
2015-09-29 08:57:47 -04:00
Marc-Andre Laperle
3415575b19 Add Error view to Stand-alone debugger
Add Error view to both the rcp and the script.
Also update the script to include com.google.gson which is required by
cdt.core.

Change-Id: I3975420cff8c912c07949384226bfa655a1a10e3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-28 22:53:20 -04:00
Doug Schaefer
34378cb163 Hack in Windows support for Qt build and launch.
Only supports Qt 5.5 and mingw492_32 and only if installed into
C:/Qt or %HOME%/Qt.

Change-Id: I10e293fe5c7a72430a624dcf74fd8fc9a806c34c
2015-09-28 14:46:38 -04:00
Doug Schaefer
64bf3c4f69 Starting to put Qt onto the new build system and launch.
Change-Id: I3e65f5d69bfb35d16b2d1135f99517c7a2b2c437
2015-09-28 13:24:41 -04:00
Nathan Ridge
7ba4959cf4 Bug 477231 - NPE in CPPTemplates.convertNonTypeTemplateArgument()
Change-Id: If018f3d40f46eaccfaa9b8fb0094dbf40f50e599
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-09-27 14:31:06 -04:00
Marc Khouzam
15935286c0 Replace hack to obtain full path
We can obtain the full path of the executable using
File#getAbsolutePath().  This is much better than the hack that was
actually doing a launch to ask GDB where the binary was.

I cannot explain why I didn't use this in the original implementation.

Change-Id: Ifa0d538919cd0c231547f1f3e9c4b72837df4257
2015-09-25 12:59:20 -04:00
Marc-Andre Laperle
a4d67b9eaa Update Tycho to 0.23.1
See
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#Milestone_0.23.1

Change-Id: I63a7204ab5f79194c24c69783da44a046f50d81c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-24 13:34:41 -04:00
Thomas Corbat
2471f7e1d3 Bug 159803 - Console View Ignores EOF
Added statement to send end of transmission (ASCII 4) before close for
non-Windows PTY.

Change-Id: If98848a833f7619ce93277d05d39f3ba986a3cf4
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-09-24 01:36:49 -04:00
Matthew Bastien
74c21f5427 Bug 478231 - Hook up .qrc files to the XML Editor
Change-Id: I41b8e07474b608d8311fbc3f117f9386e73b5305
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-09-23 20:39:38 -04:00
Marc-Andre Laperle
f97822d433 Update tycho-eclipserun to use Eclipse 4.5 instead of 4.4
That way we have less dependencies to download at build time.

Change-Id: I2caf9e7dfb98578ef376673bf2db749622d42289
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-23 17:11:26 -04:00
Matthew Bastien
8235aa4492 Bug 478211 - Create Qt Project File Editor
Also added bracket matching to the QML editor.

Change-Id: Ieb960bdec103a1c2055c3fda3dcda028ce73bb0a
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-09-23 15:26:34 -04:00
Marc-Andre Laperle
0246be9a04 Bug 478074 - Maven builds don't show same error as Eclipse
Change-Id: I48d1cae2d0b4a386cb805259218046c175d2c7c7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-22 16:45:47 -04:00