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

2679 commits

Author SHA1 Message Date
Stefan Xenos
f893d9590c Replace SubProgressMonitor with SubMonitor
Signed-off-by: Stefan Xenos <sxenos@google.com>
Change-Id: Iabdf98ac10cbf9924c0b85e446a2de22f609deea
2015-05-08 14:22:27 -04:00
Marc Khouzam
79ff9f136c Change output to fix failing tests.
The cause of the different output is a change in o.e.core.resources
where the order of visiting a project has changed to become
alphabetical.  See 
http://eclip.se/461838

Therefore, our benchmark files must also have the output of
subdirectories in alphabetical order.

Change-Id: I3331649cf516adbe3b453b11f1ed6733a007ce4d
2015-05-08 09:04:37 -04:00
Stefan Xenos
4dc26f9a20 Switch from SubProgressMonitor to SubMonitor to improve progress
reporting.

Signed-off-by: Stefan Xenos <sxenos@google.com>
Change-Id: Ibd635b59d17e88f93439c7041994b6006d74434e
2015-05-07 12:57:31 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Doug Schaefer
076e141b69 Bug 466209 - Initial commit of Arduino plugins.
Includes freemarker jar which we have CQ approval for.

Change-Id: I8f36cd7f4539497bab5f106f84216f75a25da3a0
2015-05-04 16:34:10 -04:00
Roberto Oliveira
769187db08 Bug 463644 - Remove unused message in org.eclipse.cdt.managedbuilder
Change-Id: Ied379a4a436b638ad8c33337d53c3bf0cd9eb2b5
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
2015-04-06 09:20:46 -03:00
Guy Bonneau
f3781679fa Bug 461628 Some tools within a toolchain can potentially generate an
output resource with the same name even if the input resource name to
the tool is not the same. This fix is to provide this capability to CDT


Change-Id: I9ad9d2ff0cc39797718f8b689c7a828e81f49648
Signed-off-by: Guy Bonneau <guy.bonneau@videotron.ca>

Bug 461628 Some tools within a toolchain can potentially generate an
output resource with the same name even if the input resource name to
the tool is not the same. This fix is to provide this capability to CDT"

Change-Id: I9ad9d2ff0cc39797718f8b689c7a828e81f49648
Signed-off-by: Guy Bonneau <guy.bonneau@videotron.ca>
2015-03-30 19:55:55 -04:00
mazab
65bac9ae34 Bug 461394.
[Autotools] Add import wizard

Change-Id: Idc221696f6c09e470eab1c19bf8646691d0a380e
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-03-30 18:20:24 -04:00
Marc Khouzam
4781f20495 Move some leftover plugins from Java 5 to Java 7.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 13:42:20 -04:00
Marc Khouzam
a04d64606e Remove unnecessary @SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:39:17 -04:00
Marc Khouzam
37890019cb Remove warnings caused by change to getAdaptable()
getAdaptable() in 4.5 M6 has changed to use generics, making casting its
result no longer necessary.

Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:01:46 -04:00
Marc-Andre Laperle
bb69775934 Bug 426627 - GCC Build Output Parser doesn't work with libtool
Change-Id: Id1fa62c15c57d84c8a646bb41096c887714d4474
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-03-24 16:41:21 -04:00
Marc-Andre Laperle
862705bb45 Bug 426628 - Define V=1 env variable by default for Autotools projects
This enables verbose output which is necessary for proper GCC output parsing.

Change-Id: I965c50cb4ca3ea46e73efa4d8eb3d7de582deabc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-03-23 15:29:31 -04:00
Marc-Andre Laperle
0699f77da6 Replace deprecated use of MakeErrorParser in autotools
Change-Id: I2ccf851e5db538a57b9a3c3f583737a8baebbcd8
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-03-19 16:29:29 -04:00
Andrew Gvozdev
fe8b5e806d Bug 458370: NPE trying to build an existing project
Change-Id: I99cdc7d535a98633ae9d2ea8cca1d49dab1eca3d
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-03-18 21:09:09 -04:00
Nathan Ridge
ff5a55388c Bug 433171 - Handle line continuations when parsing build output
Change-Id: I9449e3167eae1464d23948da80663997adf95b16
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-11 14:33:06 -04:00
Marc-Andre Laperle
5664514d00 swtbot: Wait for the presence of a text pattern in the console view
Instead of relying only on a sleep, wait until the specified console
view has the specified text pattern.

Change-Id: I196ac1f1c04212c536b9bd5917156f24158df469
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-23 20:24:46 -05:00
Christian Walther
3e7f1d284b Bug 355609 - Add -no-indexer argument to headless build
The indexer is mostly useless in a headless build and slows things down
- add an option to disable it.

Change-Id: I32560499923561acbcc0421ca77716232b18008a
Signed-off-by: Christian Walther <walther@indel.ch>
2015-02-21 22:11:11 -05:00
Doug Schaefer
7fdd6f6e90 Fix up API @since tags against CDT 8.6.
Change-Id: I31966aa0dc312bb7ba77b6ce91eecd01ad4891ce
2015-02-17 23:43:49 -05:00
Doug Schaefer
cd65a29016 Bug 459972 - Update CDT to use o.e.remote 2.0.
Requires a couple of changes in the autotools plug-ins. Change the
4.5 target to refer to the remote 2.0 build and update the pom to
use the 4.5 target.

Also fixes autotools test so they run on the Mac.

Change-Id: I145de3ea3f14d61ffba7354ad0fa3e0ec2467e26
2015-02-17 14:48:08 -05:00
Marc-Andre Laperle
afd11359e6 Extract test VM args to common property base.test.vmargs
This makes it easier to change arguments for all tests. As a side-effect,
all tests now enable assertion (-ea) and have the same max heap size, etc.

Change-Id: I0965d40ba3283efe7eacdf927f6c302ee0ab30f0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-02-06 13:02:28 -05:00
Marc-Andre Laperle
619216fca4 Add build flag (-DskipDoc) to be able to skip building documentation
Building documentation can take several minutes and is often not necessary.
I suggest that we leave it on by default so that people building locally
still get a full, consistent build of CDT but that it should be possible to
skip it on demand.

My build time went from 4:14s to 1:45s (without running tests).

Change-Id: Ic7c4535f3faf82080534d39ccbe6f452d8b52317
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-29 22:07:31 -05:00
Piotr Aniola
13ed63ea3a Bug 423342 - MinGW builds fail with custom EFS
Signed-off-by: Piotr Aniola <piotr.aniola@pl.ibm.com>
Change-Id: I9aafac7355350d076a197159c8ba4f4d05812eeb
Reviewed-on: https://git.eclipse.org/r/19442
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-12 15:03:10 -05:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00
Doug Schaefer
1681eb8676 Revert "Bug 451929 - Leverage p2 ability to express native packages"
This is breaking downstream builds.

This reverts commit 18e6101a53.

Change-Id: I5dd2ee129518757866ab832c683b648d13b07b83
Reviewed-on: https://git.eclipse.org/r/38594
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-12-23 00:05:47 -05:00
Sebastian Bauer
accfa032aa Bug 389536 - NPE in AdditionalInput for projects containing files with
custom build-steps.

Tools for custom build steps normally don't belong to a tool chain. We
assume now that the inputs don't need to be rebuilt rather than
provoking a NPE.

The actual fix is similiar to the patch added to the mentioned bug
originally been created by Piotr Aniola. It has been extended with a
test case demonstrating the problem (and the fix).

Change-Id: I5f17248cbe8e84779144bb5f1873c5b9456baa16
Signed-off-by: Sebastian Bauer <mail@sebastianbauer.info>
Reviewed-on: https://git.eclipse.org/r/38206
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-12-18 08:25:30 -05:00
Pascal Rapicault
18e6101a53 Bug 451929 - Leverage p2 ability to express native packages
Change-Id: I0d2d4b5088a0148d3f0dc7690448fe231ae45103
Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
Reviewed-on: https://git.eclipse.org/r/38272
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-12-16 17:28:33 -05:00
Marc Khouzam
c4ea834fd6 Increase delay to let autoreconf have time to produce all files
Change-Id: I60a376028407f2c1e9c1241918e352dde8867a43
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38172
2014-12-12 16:05:30 -05:00
Marc-Andre Laperle
ae4ed4d438 swtbot: Delete projects after tests
This allows running the tests repeatedly

Change-Id: I289da60f0d3dc8d2539eeb5bc6f2b14e3bb35fb1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37752
Tested-by: Hudson CI
2014-12-09 12:47:26 -05:00
Marc-Andre Laperle
f7cf5a154f swtbot: Look for "Eclipse" in the shell title instead of "Eclipse SDK"
This allows running the tests with the Eclipse Platform product.

Change-Id: I0027654e5b2a885d656f9610459b4d4beaa875ce
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36731
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-11-20 13:22:13 -05:00
Jeff Johnston
bf95b80b05 Fix Autotools UI SWTBot tests
- force tests to be run in file order by requesting alphabetic order
  and renaming tests to they alphabetic equals file order
- fix configuration test which looks for C/C++ Build page from
  properties by looking for it in the properties search text box
- put configuration tests last in suite

Change-Id: I21b943c2a6691f9277bc8cc712684f2bc1fd2db4
Reviewed-on: https://git.eclipse.org/r/35767
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-11-04 13:10:23 -05:00
Marc Khouzam
bb461328b9 Ignore autotools UI tests if automake is not installed
Change-Id: Ic00d77fffbcd471f08b29a1b78d7da23b32a1dcc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-11-04 08:52:48 -05:00
Jeff Johnston
2706336f46 Enable Autotools UI tests which use SWTBot.
Change-Id: I4269954635a3d7a534092daf8a85c4c8be6cc63b
Reviewed-on: https://git.eclipse.org/r/33143
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-10-31 17:50:33 -04:00
Jeff Johnston
ead5d54e4b Bug 444688 - Autotools shared lib example not building
- make changes to default shared library template to handle
  changes made to external autotools
- add the rpath specification to the exampleProgram build so it
  will just run without having to set LD_LIBRARY_PATH

Change-Id: I299c274bc07e91bbe6cf955c5391faf4f87b3edc
Reviewed-on: https://git.eclipse.org/r/34531
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
(cherry picked from commit e39e96bd9c)
Reviewed-on: https://git.eclipse.org/r/34602
2014-10-08 16:50:24 -04:00
Marc Khouzam
a3ee0c86f9 Bug 443965 - Move update site from
build/org.eclipse.cdt.autotools-feature/p2.inf to
releng/org.eclipse.cdt-feature 

Change-Id: I2827c4d96ff7cd70f752d5619caa82e8450c3048
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33707
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-09-24 12:37:07 -04:00
Roberto Oliveira
dc52a0c446 Remove a NSL unused message ConvertTargetAction_No_Converter from org.eclipse.cdt.managedbuilder.internal.ui
Change-Id: Idb4590ecabfabf74076517b7c09cf2839481c405
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/33622
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-22 10:21:27 -04:00
Roberto Oliveira
fd8148a659 Autotools Sync - Fix an issue when trying to build Syncro Autotools project.
As the RemoteCommandLauncher#makeRemote already convert the local path to a remote path, dont need to convert it here,
	otherwise it will mess with the configure path.

Change-Id: Ibaaeb34dc80f1574f8b59db0ad0d68cf49af2551
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/33574
Reviewed-by: Greg Watson <g.watson@computer.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-09-19 13:21:01 -04:00
Andrew Gvozdev
63c28d216f Bug 442123: java.lang.StringIndexOutOfBoundsException in
org.eclipse.cdt.make.internal.ui.text.WordPartDetector
2014-09-09 15:22:41 -04:00
Marc-Andre Laperle
97079f6ad0 Add missing arg for jacoco in in tests. Update jacoco.
Jacoco arguments are missing when executing certain tests. This happens when
argLine is being overriden. We had the same problem in Linux Tools. We solved
it by prepending the argLine with ${tycho.testArgLine}. This should help
improving the Code coverage metric in Sonar.

Also update the jacoco version to fix a bug when building with Java 8.

Change-Id: I7f73f40488efc01fc7d643940c1ac0d5950c900d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32507
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-08-28 15:40:26 -04:00
Jeff Johnston
3b458e99b5 Add Autotools test for bug 434275
- add a way to create a linked folder in utilities class
- add new test for virtual folder
- fix markExecutable to handle linked resources when they exist

Change-Id: I88f800f6f4e4f50e754ea0190f558852825bc498
Reviewed-on: https://git.eclipse.org/r/30769
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-07 22:36:37 -04:00
mazab
597c1dbc69 Bug 436147. Changed the way of handling "Restore Defaults" to reset the
values to default values instead of removing the options.

Change-Id: I748206ab90aa07d161a437af0b6fc4e3d3a7161b
Signed-off-by: mazab <mohamed_azab@mentor.com>
Reviewed-on: https://git.eclipse.org/r/27519
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-05 10:19:57 -04:00
Sergey Prigogin
5cc7505a12 Cleanup of Messages.properties and Messages.java files.
Change-Id: Iea47d46a3ea201722fbe666a03c89dde7e5e4961
2014-08-04 11:15:40 -07:00
Sergey Prigogin
2ca45300fe Corrected a plugin version in pom.xml
Change-Id: I25ae15419dd08ef11cdd25ba53d8ae55e20aa0fa
2014-08-01 12:24:28 -07:00
Sergey Prigogin
093b2efacf Proper enablement of Build Configurations Build/Clean commands.
Change-Id: I7446a357cc2bafdb5015c3a988a1ad0b6f23a8c6
2014-08-01 11:55:31 -07:00
Marc-Andre Laperle
86a08c918e Upgrade to Tycho 0.21.0
Change-Id: I1ef13eda4f297c10ee360cac64f43d58a91790e1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29954
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-31 11:19:17 -04:00
Sergey Prigogin
f17501b981 Proper enablement of Convert To... command.
Change-Id: I992048f902992cd548e523c9881b4d36789f3544
2014-07-30 19:27:46 -07:00
Sergey Prigogin
7880c684eb Slightly reduced clutter in the project's context menu.
Change-Id: I78b5a8b37ce297a9ceaf8ecf9cb94b8df014e61d
2014-07-30 19:07:38 -07:00
Sergey Prigogin
31f37f5b63 Proper enablement/disablement of Clean/Build Selected Files commands.
Change-Id: I6f56eeb111759ccf7a0bc8fbbfd57ffd8689bf01
2014-07-30 16:47:55 -07:00
Jeff Johnston
49d1763a80 Bug 434275 - Autotools configuration in subfolder not found
- add getProjectLocation() method
- fix getSourcePath() method to find the srcDir resource and then
  get its location
- fix all references in code to use getProjectLocation() and
  getSourcePath() where appropriate

Change-Id: I7d6d401a42213dbe9c4c2dee03aca306a4941683
Reviewed-on: https://git.eclipse.org/r/30466
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-07-30 17:51:23 -04:00
Sergey Prigogin
d8154bd340 Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00