Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-22Bug 540373: Standard .settings auto appliedJonah Graham5-25/+683
The releng/scripts/apply_jdt_prefs_to_all_projects.sh was run to copy standard settings to all other projects. Change-Id: I4436c947d7f0142f56b709e661379c3eb54f666b
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham293-884/+1756
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22Bug 540371: normalize files before applying EPLv2Jonah Graham3-2/+3
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2018-11-01Remove NewMakeProjectPreferencePage (unused)Marc-Andre Laperle1-2/+1
It is not used anywhere and it's internal. Change-Id: I4e157ec7fd1184118aea8f6bef35a850dfeb0945 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-10-30Bug 540610 - Add Automatic-Module-Name headerKarsten Thoms1-0/+1
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-23Bug 540367 - Increment version numbersWilliam Riley1-1/+1
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-01-31Bug 530478 - Relax AC_INIT macro validation in AutoconfEditorChin Huat Ang1-1/+4
When AutoconfEditor is set to 2.67 or newer, relax the validation of AC_INIT version string. Change-Id: I65221857905e867e3eea2de219ddf68c60f6d39b Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-01-10Bug 528169 - Run autotools commands within containersJeff Johnston1-3/+19
- add new optional build property to run all Autotool commands in Container - for Autotool nature projects only, add a checkbox to the ContainerPropertyTab to turn this new option on/off - change the AbstractAutotoolsHandler class to look at the optional build properties for the project to determine if the fallback CommandLauncher used to run commands should come from the CommandLauncherManager to run in Container or to a local CommandLauncher - change AutotoolsNewMakeGenerator the same way - add new messages as needed (add a tooltip to warn user that choosing new option may cause inconsistencies for files shared among configurations) Change-Id: Id828ec3015f32f320d2247bd0577944164c71df8
2017-11-02Bug 526730 - Autotools should not run autotool commands in the ContainerJeff Johnston1-2/+4
- modify runCommand and runScript methods in AutotoolsNewMakeGenerator class to take an ICommandLauncher to use - modify AutotoolsNewMakeGenerator regenerateMakefile method to pass a local CommandLauncher when running autotool commands, but using one from the CommandLauncherManager when running configure or config.status to do the configuration - modify RemoteCommandLauncher to add a constructor that includes the ICommandLauncher to use if the project is not remote - fix AbstractAutotoolsHandler to use local CommandLauncher Change-Id: Ib3f0deff3cca4b7b40459b5dd691d73dcbf2a87c Signed-off-by: Jeff Johnston <jjohnstn@redhat.com>
2017-09-11Bug 522077 - New Autotools project doesn't open source file by defaultJeff Johnston3-0/+27
- add open file process to Autotools C ANSI hello world template.xml - add open file process to Autotools CPP ANSI hello work template.xml - add open file process to Autotools Shared library template.xml Change-Id: I2fcba56973374d00006f8ce5664581f3fcc419cf (cherry picked from commit 41e54f16567fd6f934ad525d6ef3b22c4beed2bf)
2017-03-25autotools: Restore API.Alexander Kurtakov1-0/+5
It's unused but still we have to keep it. Change-Id: I9f23e09c0ce62bf88f6cc490a7c0c31852b6fd16 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-03-23autotools: automake/autoconf generic editor.Alexander Kurtakov8-95/+126
Reorganize code and expose things for generic editor. So far presentation reconciler only is ported. Allows to right-click/Open with/Generic editor on e.g. Makefile.am and see it in the generic editor. It is not as feature rich as the specialized editors we have now but over time it should provide all the features of them with significantly less code. Change-Id: I72324b94ce08ab762979804914adbb1982c88198 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-02-13releng: Make use of Tycho POM-less functionalityMarc-Andre Laperle1-17/+0
This removes a lot of pom.xml from the source tree. This is using the "POM-less" Tycho functionality. See https://wiki.eclipse.org/Tycho/Release_Notes/0.24#POM-less_Tycho_builds One advantage of this is that you do not need to update the version in the pom.xml when you change it in the MANIFEST.MF because the pom.xml is automatically generated. This also reduces a lot of the duplicated information and pom.xml repetition. - Maven 3.3 and up is required. - Only eclipse-plugins and eclipse-features can be pom-less. Repositories, target and others still have pom.xml. - New parent poms are added because a parent is necessary directly one level above the plug-in/feature that will have its pom generated - Some test plug-ins had to be renamed .test -> .tests because it's required so that it detects that it's a test plug-in - Some suites were renamed so that they all use the same consistent name "AutomatedIntegrationSuite" - Profiles were added for the more common test configurations. They are activated by the presence of simple .properties files that only serve to activate the correct profile. The profiles: - One for UI tests (UI present and start in UI thread) - One for SWTBot tests (UI present and do not start in UI thread) Other test plug-ins that are too different are kept intact and still have a pom.xml - Fragments are kept intact since they all have different target platform configurations Change-Id: I9d73380eb766f547830c552daf08053a30b1845c Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-11-15Update version to 9.3.0Marc Khouzam1-1/+1
Change-Id: Ic953ccc5d38ff3661ca44de21ed8c4b7dad5b246
2016-11-14Update version to 9.2.0Marc Khouzam1-1/+1
Change-Id: I36ad4218b20b8ea70584c89f5be45c757bf4c714
2016-08-17Update version to 9.1.0Marc Khouzam1-1/+1
This commit used the script releng/scripts/ChangeFeaturesVersion.sh Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-07-01Bug 343552 - RFE: Quick Outline support for configure.ac editorAlexander Kurtakov4-7/+271
Implement quick outline for AutoconfEditor with search, navigation and etc. Small reorganizations in the plugin.xml to make it easier to navigate. Change-Id: Ibb13caa6f80ae2bbdfe3a78dec0eb033ee0c0482 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-06-17autotools: Start using Job.create.Alexander Kurtakov3-161/+144
Making use of lambdas for the sake of showing new APIs and having better code. Change-Id: If03cde0b2ae58d965387b0b224bc5129af78dacc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-04-25Bug 492210 - Remove ChangeLog files from projectAlex Blewitt1-1023/+0
ChangeLog is an archaic format for identifying what has changed in a project. Fortunately more powerful version control systems are capable of generating this information and displaying information such as this paragraph in order to determine what has changed in a project and when. Change-Id: Ia71a05fa51869c1adb193d94f71c28b3b36beb37 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-25Bug 492304 - Fix NLS warningsAlex Blewitt6-31/+31
Eclipse warns if a String literal does not have a `//$NON-NLS-<n>$` entry at the end of the line. However, for historic or formatting reasons, many such occurrences in the CDT source have an intermediate whitespace, such as `// $NON-NLS-<n>$` Fix these so that the whitespace is removed between the // and $ characters. Change-Id: Idc12398fe6e9d619af1d0b1b73fb8b6180da223c Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-25Bug 492230 - Replace buffer.append(a+b) callsAlex Blewitt4-20/+19
When using a `StringBuilder` or `StringBuffer` to create a string message, using implicit string concatenation inside an `.append()` call will create a nested StringBuilder for the purposes of creating the arguments, which will subsequently be converted to a String and then passed to the outer StringBuilder. Skip the creation of the intermediate object and String by simply replacing such calls with `buffer.append(a).append(b)`. Where values are compile time String constants, leave as is so that the javac compiler can perform compile-time String concatenation. Ensure that NEWLINE isn't appended in such a way since it is not a compile time constant `System.getProperty("line.separator")` Change-Id: I4126aefb2272f06b08332e004d7ea76b6f02cdba Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-21Bug 492200 - Replace StringBuffer with StringBuilder where appropriateSergey Prigogin1-11/+12
Change-Id: Ib52b839a211e2068e56da4b62a5b9640fef55d40
2016-04-21Bug 492200 - Replace StringBuffer with StringBuilderAlex Blewitt43-105/+105
There are many opportunities for replacing `StringBuffer` with `StringBuilder` provided that the type isn't visible from the public API and is used only in internal methods. Replace these where appropriate. Change-Id: I769ceb6eaee18d183fb0e00fa0d730651f8a7edb Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-20Bug 491984 - Optimise toString().isEmpty() checksAlex Blewitt1-1/+1
The use of toString().toEmpty() is a potential code smell, and has identified a couple of places where this pattern could be optimised. Change-Id: I1a37e62ed8546a48151a494e9f24fea46d9d2497 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-19Bug 491984 - Replace .equals("") with .isEmpty()Alex Blewitt3-6/+6
In many cases a String's empty status is tested with `.equals("")`. However, Java 1.6 added `.isEmpty()` which can be more efficient since it compares the internal length parameter only for testing. Replace code using the `.isEmpty()` variant instead. Some tests for `"".equals(expr)` can be replaced with `expr.isEmpty()` where it is already known that the `expr` is not null; however, these have to be reviewed on a case-by-case basis. Change-Id: I3c6af4d8b7638e757435914ac76cb3a67899a5fd Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-18Bug 491945 - Remove new String() from expressionsAlex Blewitt1-6/+2
Replace all occurrences of `new String(expr)` with `expr` provided that the `expr` is not a byte array or a char array. Change-Id: Iecae801b83084908b60b9e146eba87550eac640d Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-16Bug 491825 - Remove primitive wrapper creationAlex Blewitt1-2/+2
Using `new Integer` and other wrapper types such as `new Character` results in potential extra heap utilisation as the values are not cached. The built-in `Integer.valueOf` will perform caching on numbers in the range -128..127 (at least) using a flyweight pattern. In addition, parsing `int` values can be done with `Integer.parseInt` which avoids object construction. Adjust tests such as `"true".equals(expr)` to `Boolean.parseBoolean(expr)`. Change-Id: I0408a5c69afc4ca6ede71acaf6cc4abd67538006 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-15autotools: Adapt to generified ListenerList.Alexander Kurtakov4-18/+16
Neon generified ListenerList so cleanup here too. Change-Id: I569ddf79d4cc0e805da5083867f3c403aa6d79b9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-03-18minor fix, replace == for .equalsAlvaro Sanchez-Leon1-1/+1
Change-Id: I26f949b64d1d5da0f410c76379d51f7edfcf9474
2016-03-14Bug 467771 - add basis to support autotools option as NAME=VALUEWainer dos Santos Moschetta3-2/+245
It is not obvious in autotools preferences UI how to set variables like CC=/sbin/gcc Introduces the basis to allow extend the UI to include such as kind of variables. Change-Id: Ife0aada50d8c253f3fff39e7087f5fd54803ba48 Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
2016-02-01Missing copyright header.Marc Khouzam6-1/+43
Copyright assigned to company of the committer who did the first commit of the file. Change-Id: Ia133694018c798f9558258810982f5276737a0b0
2016-01-20Fix Autotools to remove use of Wizard classes that are being removedJeff Johnston1-1/+2
- remove NewProjectWizards - fix AutotoolsBuildWizardHandler to remove warning Change-Id: I3dfcf9d09477c267ea4a770dcf77c0f29d652e38
2016-01-18Incremented CDT features version to 9.0.0Marc Khouzam1-1/+1
This includes bumping the standalone debugger to 9.0.0 Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-03Fix copyright of all CDT plugins using the copyright tool from platform.Marc Khouzam260-260/+260
This commit does not add missing copyrights, just updates the date on the existing ones. Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2015-12-18autotools: Add api filters for implementing make bundles interfaces.Alexander Kurtakov1-0/+331
Change-Id: Id8cffb0df983e6e5e2a752aac0aea5b66cf4bee2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-18autotools: Creating default config doesn't need project.Alexander Kurtakov1-2/+1
AutotoolsConfigurationManager.createDefaultConfiguration doesn't need the project as parameter, that's why it's default one :). Change-Id: I55f39edf5867f874e38524042572329bc7e34f66 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-14autotools: Additional generification.Alexander Kurtakov15-60/+44
Properly generify now that o.e.text is generified. This alows removing a number of suppressed warnings. In a few places it is better to use wildcard than suppressing warnings. Also remove DefaultNoDependencyCalculator as it was suppressing warnings but better to remove directly as it's not use anywhere. Change-Id: I70c4ac073ce5b6c2a45443372037fa61b7c36c76 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-08autotools: Revive sorting action in automake/conf editor.Alexander Kurtakov4-26/+39
Remove the sorting action from the MakefileContentOutlinePage because the action was changed in a way to be addable in init method instead of deprecated setActionBars. Hooked it properly in AutomakefileContentOutlinePage. Bonus point - hooked into AutoconfContentOutlinePage as it was just too easy to get it there too. Change-Id: I873864f3978ae7cb1d8aa4143edf604244c0a4bc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-08autotools: Make automake editor use make.[core|ui] interfaces.Alexander Kurtakov98-1263/+187
Duplicating this interfaces just creates confusion due to interfaces in autotools were copied from make bundles but staled in the years. Implementation is kept as it is but at least the door is open for some interoperability. Change-Id: I1eb4a7c7dc7511aa6cb15ec0716d0bae8a64389c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-03autotools: Saner handlers.Alexander Kurtakov17-1000/+735
Old IActions were just wrapped in handlers which created insane amount of interactions. This is one idea better by moving the implementations in the handlers themselves. Change-Id: Ieb7fc465c8a23af09cb6a3d809f157289c65d2ae Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-03autotools: Bin dead code in property pages.Alexander Kurtakov7-147/+15
Removing unused code, making methods private to make it obvious when no longer used (uncovered few cases), delete commented code and remove methods that were simply one line invoking some method as they don't create anything more but pollution. Change-Id: I9aa0feedaedeb6509fe27772b1015ec953efa9e8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-02autotools: Sanitize activators.Alexander Kurtakov3-100/+16
Reduce coupling by changing UI bundle to use UI activator and drop UI getters (e.g. workbench, window, shell) from the core bundle. Also remove other unused methods. Change-Id: Ida510d5a0e991c08332a998aefaba5843743172a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-01autotools: Cosmetics.Alexander Kurtakov19-256/+26
Various small readability improvements in autotools.ui bundle: * Remove useless comments * Remove methods merely calling super(). * Use SelectionAdapter when only one method of SelectionListener implemented * Multi-catch exceptions * Specialize return types to reduce casting after that * Remove commented code * Remove unused methods * Use String.isEmpty Change-Id: Iacda4094ee8b3bf80e1509cc3b39f55b6fcb96c9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-21autotools: Fix dialogs run from Actions to have proper parent.Alexander Kurtakov6-136/+10
Creating new Shell as parent of every dialog is waste of resources, complicates window management and have negative effects in terms of positioning and stacking of dialogs. While at it remove dead/unused code from these classes. Change-Id: I62f9a6430f230e18e5b2f949afe97b46fb9e4ac1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-12autotools: Remove unused wizards.Alexander Kurtakov2-646/+0
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-02Fix API baseline error in autotools UI.Doug Schaefer1-0/+3
Change-Id: I303a2e71cd6bf6527b22544fc1b220a78cdda565
2015-10-31autotools: Cleanups of the ui bundle.Alexander Kurtakov45-217/+107
* 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-30autotools: Cleanups in the ui bundle.Alexander Kurtakov16-227/+139
* 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-29autotools: Improve import wizard to generate missing files.Alexander Kurtakov1-7/+14
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-27autotools: Remove redundant and unused modifiers.Alexander Kurtakov9-60/+63
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>

Back to the top