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

2747 commits

Author SHA1 Message Date
Marc Khouzam
ac06de029f Missing @since tags in autotools
Change-Id: Ifd660175e636a05d8d304b7462099b9a84e298a8
2015-10-21 13:14:32 -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
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
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
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
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
0cfb15135f Remove reference to java environment in build.properties
Change-Id: I053158a23d2783879248320a84a9549e28cfb4d1
2015-09-29 08:57:47 -04:00
Simon Marchi
d23b3871ff Bug 465461 - Merge "Symbols" and "Preprocessor" in GCC C compiler settings
...so that it matches the way the GCC C++ compiler is.

Change-Id: I9e32dc3888cfec2c0c01196f44f2e730e2bbc574
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-09-22 10:01:08 -04:00
Andrew Gvozdev
f635f6c7d8 Bug 470538 - Build selected File(s) should create error/warning marker
Change-Id: I0f37e3733299ab0e0db262a0194c9734b39eea94
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-08-14 07:42:26 -04:00
Mat Booth
c9a1d984ca Bug 473373 - Remove unneeded runtime dep on ant from autotools.docs bundle
Change-Id: I6bb5cf37bd2122e97ab8171b4eb12324fdb38b3a
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2015-08-03 19:42:52 -04:00
ocagdas
6ab4145c56 Bug 468417
The '.d' files that are generated by CDT, contain 'file_name.d:
file_name.cpp file_name.h' type of target prerequisite relations. 

However, to get benefit of the dependency mechanism, this should be
something like 'file_name.o: file_name.cpp file_name.h'.

Therefore, we need to change ''options[3] = "-MT\"$(@:%.o=%.d)\"";'' as
'options[3] = "-MT\"$(@)\"";'

Also update the test cases.

Change-Id: Iee829a8564e1b134905ee06a8a4b76a1e3b30ecc
Signed-off-by: ocagdas <ocagdas@yahoo.com>
2015-06-24 21:54:00 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Marc-Andre Laperle
10e011fa33 Bug 468713 - CDT should explicitly require eclipse.remote 2.0.0
Change-Id: Ifd0b8a54e93300f1970b887385ee01de1de2cfa3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-28 19:49:10 -04:00
mazab
3d8907e788 Bug 461378
Adding margins to configure settings pages.

Change-Id: Ic9e8df3d73f66a47a53726c8fc115f3397436c37
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-05-15 18:04:20 -04:00
Guy
07c9f4fbc3 Bug 421884 - Fixed invalid checking condition. Must be == rather than !=
Change-Id: Ib6321a4b5625fd3fbcb0b23d2174d008f967710d
Signed-off-by: Guy <guy.bonneau@videotron.ca>
2015-05-15 15:57:32 -04:00
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