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

2643 commits

Author SHA1 Message Date
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
Sergey Prigogin
a2fbb5c879 Inremented feature version to 8.5. 2014-07-21 17:07:12 -07:00
Andrew Ferrazzutti
cc2fe9086b Update Autotools SWTBot tests.
Change-Id: I830ca99f83548a5fc0e6fcfdeb26d00cd68e3060
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/29608
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-07-17 14:08:03 -04:00
Thomas Corbat
f68e29865e Bug 408545 - Increased version of o.e.c.mangedbuilder.gnu.ui from 8.2.1
to 8.3.0.

Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2014-07-16 09:44:23 +02:00
Marc-Andre Laperle
b280f247ae Bug 438476 - Fix autotools MinGW and Cygwin build
Change-Id: I10bfb868718bf564dc74d53be6ff7453f1349dc5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29435
Tested-by: Hudson CI
2014-07-15 21:06:31 -04:00
Leo Ufimtsev
29b783155f Bug 408545 - Added single checkbox to enable gcov. (edit commit msg)
I added a checkbox to enable gCov via a single checkbox to 
        enable gcov in the compiler. It then uses the 
	applicability calculator to automatically enable the linker if
	the compiler option is set.

Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Change-Id: I561d7263d578a7807e890fce5518e6fc2ebb2bb2
Reviewed-on: https://git.eclipse.org/r/29403
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-15 16:48:21 -04:00
Jeff Johnston
6592f4dc24 Bug 438092 - Advanced Autotools flags not set for C++ projects
- Replace previous fix with better one
- Continue to use the name CFLAGS for the compiler flags but add
  a default value of CFLAGS|CXXFLAGS so that multiple flags will be
  issued on configure
- enhance the FlagConfigureOption to handle multiple flags at once by
  using the value and splitting on the | delimiter to generate separate
  multiple flags if needed
- Change title of Autotools compiler flag options to be
  Compiler Flags instead of CFLAGS (previous) and CFLAGS|CXXFLAGS (new)
- Add transformed name for CFLAGS|CXXFLAGS
- Add tests to verify multiple flags are used


Change-Id: Ic7f8028f07469d04c9de3105f818a5e37e06246a
Reviewed-on: https://git.eclipse.org/r/28943
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-25 15:09:54 -04:00
Jeff Johnston
753276a27d Bug 438092 - Advanced Autotools flags not set for C++ projects
- enhance the FlagConfigureOption to handle multiple flags at once by
  accepting the | delimiter in the name and generate separate multiple
  flag outputs using the children flag value options
- add a new CFLAGS|CXXFLAGS flag so that both CFLAGS and CXXFLAGS will
  be set at the same time (to handle both C and C++ source)
- modify the Autotools tests to verify the fix works

Change-Id: I4e97c1a16381a3a10404e2fd20f8e49d99590db5
Reviewed-on: https://git.eclipse.org/r/28941
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-24 18:15:45 -04:00
Marc Khouzam
397b269e26 Bug 435998 - Remove 'updateSiteName' string as they are not used
Change-Id: I55485c9cba17f544d50d8e27b77d6644493d8300
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27500
Tested-by: Hudson CI
2014-06-18 15:54:57 -04:00
Marc Khouzam
ce9b270a38 Bug 435998 - Get rid of all "eclipse_update_120.jpg" files in CDT
features

Change-Id: I52a71e62f8161990657e96ef52403fd7f69698a2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27499
2014-06-17 11:33:37 -04:00
Marc-Andre Laperle
1cc6d6ab8e Build with 4.4 and use target definition file for maven build
Change-Id: I1044751c600e7725fd2cb02578c28d5f45de1854
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27631
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-06-03 11:52:57 -04:00
Marc Khouzam
2c22479c9e Bug 435309 - Use the shared license file scheme for CDT
This means that:
- feature.xml files now make a reference to the shared license plugin
      using version 0.0.0
- feature.properties files no longer have the text for the license
- license.html and epl-v10.html files are removed as they are part
      of the shared license plugin
- build.properties files no longer reference removed files
- the main pom.xml file references the license repository

Change-Id: Ibd880480de3a07597084d44cce7b822903509079
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27250
2014-05-26 10:03:45 -04:00
Marc Khouzam
60f83b7522 Unnecessary Bundle-RequiredExecutionEnvironment for documentation plugin
Change-Id: If3fa4a9a134284d53f502b89cde7b8e84502196a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27119
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-22 11:55:23 -04:00
Marc-Andre Laperle
18ff3be8fa Bug 430966 - Prevent StackOverflowError in Makefile editor
Change-Id: I4c9d04290d047f52d56e3f1e5bf874efc55c51cb
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25707
Tested-by: Hudson CI
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2014-05-21 16:40:30 -04:00
Greg Watson
009a3a7d5f [autotools] Prevent MalformedURLException when setting remote working
directory.

Change-Id: Ib8a6a7d4df09a1f73a533db0a3821fcdb8cecdcb
Signed-off-by: Greg Watson <g.watson@computer.org>
Reviewed-on: https://git.eclipse.org/r/26428
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-20 12:01:40 -04:00
Marc Khouzam
5806deb5b8 Update to new license text
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-05-20 11:36:39 -04:00
Sergey Prigogin
ca4098caac Cosmetics. 2014-05-09 09:53:25 -07:00
Lukas Felber
2e4760ee38 added missing gnu file types (as defined in
http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Overall-Options.html#index-file-name-suffix-71)

Change-Id: If0903113d74439a9bf96022e1e3c636a0ffaebbf
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/24846
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-09 12:28:11 -04:00
Andrew Ferrazzutti
fdfa6fe4b8 Bug 433014 - Autotools UI plugin is using deprecated extensions
Replace usage of popupMenus with command/handler/menu framework.

Change-Id: I89b4bc611572fafbf63e27b68573f105da4d2698
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/26134
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-08 18:18:57 -04:00
Sergey Prigogin
7e686b6744 Relaxed type constraints. 2014-05-02 10:45:06 -07:00
Marc Khouzam
fa5de3be3b Update license.html files for 2014 version
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-05-02 11:17:44 -04:00
Doug Schaefer
185074996d Bug 433222 - Turn on Others category in New Proj Wizard by default.
With this preference off, the new project wizard is a mess. We need
to have categories at the top level, especially as the number of
categories grow. This also fixes an issue with the Autotools which
tried to go into the Others category, but made a bit of a mess and
doesn't really need to be there anyway.

Change-Id: Idc67096756caa77087acabacb18ada41a43202b4
Reviewed-on: https://git.eclipse.org/r/25375
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-04-22 16:49:05 -04:00
Marc Khouzam
53e8e8138e Missing export to o.e.cdt.autotools.core
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-21 16:26:11 -04:00
Jeff Johnston
4a278f0d05 Fix for bug 432086
- Autotools was not using the Builder build command to do "make"
  operations such as cleaning the source directory

Change-Id: I7dfb44894a1204a5ce7eb83af07f5615526f5721
Reviewed-on: https://git.eclipse.org/r/25169
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-04-16 18:08:25 -04:00
Jeff Johnston
fdba4b05b8 Bug 430831 - add autotools support for PTP synchronized project
- bump up minor version
- refresh remote synchronized projects when adding a file or directory
- for remote synchronized projects, use remote interfaces to figure
  out target OS
- look for synchronized builder when adding Autotools builder
- switch to use RemoteCommandLauncher in autotools core and ui
- make autotools.core and autotools.ui friends of CDT remote.core
- fix org.eclipse.cdt.remote.core to respect working directory
- wait for process exitValue to succeed in try loop before attempting
  to use the return value

Change-Id: I837ecf74c44085e35b7e775250b7e5264051475e
Reviewed-on: https://git.eclipse.org/r/24360
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-04-16 16:04:26 -04:00
brad
0a1d2637ac Bugfix : Bug 424919 - The toolchain name was wrong when create a new make file project
modified:   Configuration.java

Change-Id: I169dd9182eae66b31fca07c2abe42baecd350842
Signed-off-by: Brad Chiu <brad@andestech.com>
Reviewed-on: https://git.eclipse.org/r/24931
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-04-14 23:56:10 -04:00
Marc Khouzam
0ddab334f0 Missing NON-NLS strings
Change-Id: Ia177b5ded46b3d6292af3e41951165c9d26b57cc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:31:42 -04:00
Marc Khouzam
b647093b94 Remove unused API filters
Change-Id: Ia3a53fec79973ccdec7d74d68fcc4f4621fe1cc7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:24:47 -04:00
Jeff Johnston
e62ed2c8b7 Bug 429963 - m4 editor not handling quotes properly
- Fix Autoconf editor to not arbitrarily apply to any
  m4 file, but instead list a set of filenames known to
  be part of autoconf (i.e. expect [] quotation)

Change-Id: Ib6b5a6b8c215d63b0a2423f5a01de5d9131a92c6
Reviewed-on: https://git.eclipse.org/r/23217
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-03-12 15:26:59 -04:00
Serge Beauchamp
612cecbc3c Bug 418114 - Build artifact name can be set to an empty string, causing
a cluster of build errors

Change-Id: Ief7eca369edf60aa1a064495a7da98089cb88d5d
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/16805
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-03-01 14:09:59 -05:00
Sergey Prigogin
5d7a19fa6c Enabled JDK 1.7.
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
207bcc6f56 Adjusted plugin version numbers to not go back compared to CDT 8.2.1. 2014-01-22 11:04:19 -08:00
Sergey Prigogin
1d166260a8 Bumped up CDT version to 8.4.
Change-Id: I1229344feaaed4a3551ceb7b1ef1410545048b55
Reviewed-on: https://git.eclipse.org/r/20908
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21 17:35:29 -05:00
Jeff Johnston
bd84e07bc6 Bug 423192 - Fix AutotoolsNewMakeGenerator getWinOSType method
- Fix AutotoolsNewMakeGenerator.getWinOSType method to
  use the build env variables when invoking the sh
  command because the path to "sh" may be specified there

Change-Id: Ibcde5de924c50b6557fb4264572ddd59b02bb99a
Reviewed-on: https://git.eclipse.org/r/19400
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2013-12-05 17:28:40 -05:00
Liviu Ionescu
6c8e4c45f4 Bug 322168: source files with specific settings disable secondary
outputs

Change-Id: I86caab2a842ef821606cf589c194b8deee91c5ec
Signed-off-by: Liviu Ionescu <ilg@livius.net>
Reviewed-on: https://git.eclipse.org/r/17735
Tested-by: Hudson CI
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-11-02 16:03:37 -04:00
Andrew Gvozdev
09915f99bf bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
Andrew Gvozdev
dcffc2cabf bug 416024: "null" is added to the ${workspace_loc} paths 2013-10-20 15:26:51 -04:00