Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-04Bug 313553 - Unentangle ProvidedCapability members and attributesTodor Boev1-24/+42
The members are the generic way for p2 queries to describe getters on objects. The capability attributes then participate in queries as the "attributes" member of a ProvidedCapability object. Fixed the IProvidedCapability to follow the OSGi convention that the attributes contain the name of the capability under a key equal to the capability namespace. This is cleaner than to introduce a new "name" attribute for the p2 name that can conflict with an incoming OSGi "name" attribute. Fixed the version of IProvidedCapability to follow the OSGi convention that capabilities with a version have a "version" attribute with a value of type an OSGi version object. Change-Id: Ic9b77c2d103216141035dc3fb5861ca99a3ddccd Signed-off-by: Todor Boev <rinsvind@gmail.com>
2017-10-03Bug 313553 - Capability: add writing to a metadata repoTodor Boev1-0/+2
Change-Id: I4323f084b7b6b1107d0ccd95d375570dc9c35fb0 Signed-off-by: Todor Boev <rinsvind@gmail.com>
2017-09-29Bug 313553 - Capability: add handling to BundlesActionI20171002-2000Todor Boev1-2/+35
Update BundlesAction to publish the bundle generic capabilities. Fix BundlesActionTest to handle the newly published capabilities. Change-Id: I4b3d11b64706b4fc77b9084f27f8e1583f15580e Signed-off-by: Todor Boev <rinsvind@gmail.com>
2017-09-28Bug 313553 - Requirement: add handling to BundlesActionI20171001-2000I20170930-1500I20170929-2000I20170928-2000Todor Boev1-1/+19
Added publication of generic requirements. Fixed the requirement advice processing to ignore generic requirements. Fixed the BundlesActionTest to verify the newly published generic requirements Change-Id: I5351e12dbc92090717348e0c495c4993906d07fc Signed-off-by: Todor Boev <rinsvind@gmail.com>
2017-09-06Bug 313553 - Prepare BundlesActionTodor Boev1-81/+112
Change-Id: I783ce240d5e79d0bc90e3982bef206ef11c80be1 Signed-off-by: Todor Boev <rinsvind@gmail.com>
2017-08-31Bug 518031 - XML External Entity Vulnerability in Eclipse IDEI20170904-0230I20170903-2000I20170902-1500I20170901-2000Brian de Alwis2-4/+4
Ensure XML processors are configured to use XMLConstants.FEATURE_SECURE_PROCESSING=true to avoid accessing external DTDs and expanding external entities. Change-Id: Ic29e4a0aab1ea5f642ce49914bc6fcecd238efe8 Signed-off-by: Brian de Alwis <bsd@mt.ca>
2017-08-20Bug 521157 - Do not try to acquire PluginConverterI20170820-2000Alexander Kurtakov1-50/+0
Eclipse platform no longer ships PluginConverter implementation so trying to acquire it is pointless. Change-Id: Ice2d9acf4dcb736614c9d110fbe974c92c139016 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-08-18Bug 521121 - Move p2 publisher.eclipse to Java 8I20170819-1500I20170818-2000Alexander Kurtakov40-168/+255
Bump minor version, remove duplicate type declarations, add missing override/deprecated annotations. Change-Id: I9ab3e7bcdf76e8d359d8fb3da1d27d3fcc4673b7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-07-21Bug 514885 - fix for NPE on reading update site.xmlI20170724-2000I20170723-2000I20170722-2000I20170722-0045I20170721-2000Andrey Loskutov1-1/+1
Change-Id: Ic03e8ed9ae5efcb523e944cca54d94a95476f496 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-06-27Bug 514885 Pooling Version and VersionRangeKarsten Thoms2-4/+5
- Introduce weak object pool for Verson and VersionRange - Use VersionRange.create() for getting pooled instances - JavaDoc & check input for empty string Change-Id: Ie42bdc1059d8c667af312038c26c035a6ef674af Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-06-22Bug 517929 - Update POMs in the master for 4.8 releaseI20170622-0950Alexander Kurtakov1-1/+1
Point to 4.8 parent pom. Change-Id: Ic754058b23731334425f98aaca527bcf90991a7d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-11Bug 516457 - Many of plug-ins need a version increaseI20170514-2000I20170514-1120Alexander Kurtakov2-2/+2
Take care of the following: o.e.equinox.p2.publisher - service bump o.e.equinox.p2.publisher.eclipse - service bump o.e.equinox.p2.repository - service bump o.e.equinox.p2.repository.tools - service bump org.eclipse.equinox.p2.touchpoint.natives - service bump org.eclipse.equinox.p2.ui.admin - service bump org.eclipse.equinox.p2.ui.admin.rcp - service bump org.eclipse.equinox.p2.ui.importexport - service bump org.eclipse.equinox.p2.ui.sdk - service bump org.eclipse.equinox.p2.tests - service bump Change-Id: I21578f13200b5c9de6fed6818b16992764f33216 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-03-19Bug 513790 - Compiler warnings in I20170316-2000 after moving to M6I20170328-2000I20170327-2000I20170326-2000I20170325-2000I20170324-2000I20170323-2000I20170322-2000Andrey Loskutov1-1/+7
compiler Change-Id: I3de8ff54e4efc354443ab2d99fd75316f2abacbb Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-01-31Bug 511367: Only run Ant builders when necessaryY20170202-1000I20170205-2000I20170204-2000I20170203-2000I20170202-2000I20170201-2000I20170131-2000Markus Keller1-12/+15
2016-06-28Bug 496465 - Prep for 4.7 (Oxygen) and 4.6.1 (Neon.1) maintenance buildsThomas Watson1-1/+1
Change-Id: I90a85375f7864204f482d76130da772798f0a28b Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-05-04Bug 493004 - Need to update versions for Neon of various bundlesY20160519-1000Y20160513-1000Y20160505-1000I20160523-2000I20160522-2000I20160521-1500I20160520-2000I20160519-1730I20160519-1100I20160518-2000I20160517-2000I20160516-2000I20160515-2000I20160514-1500I20160513-2000I20160512-1000I20160511-2000I20160511-0400I20160510-2000I20160509-2000I20160508-2000I20160507-1500I20160506-2000I20160506-1030I20160506-0830I20160505-2000I20160504-2000Thomas Watson2-2/+2
Change-Id: Idb4576fc90fc7180d3c7e1960696615bb4c37594 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-04-19Bug 471875 - [IconExe] Improve error message when launcher's icons has not ↵Mykola Nikishov1-27/+63
been replaced Provide more details in error message and show what icons actually has not been replaced: [IconExe] Error - 3 original icon(s) not replaced in /win/eclipse.exe: - 48x48, 32 bits, 9640 byte(s) @ 38384 - 32x32, 32 bits, 4264 byte(s) @ 48024 - 16x16, 32 bits, 1128 byte(s) @ 52288 We don't know what input files were actually used (we accept one or more files with icons) thus not reporting input filename in error message. Also restore documentation about icons used in launcher 3.4 for Windows by partially reverting commit a2f9d54d4ec55e27d28b6c522a2940b309729f11. Because the source code is the only source of information about requirements for icons, show the link to the browsable source code in error message. Change-Id: I900253ae3851d882b07ebbde1c827e32d1bd419e Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2015-10-11Bug 437466 - erroneous PluginConverter message caused by a directory inDavid Williams1-1/+9
"dropins" Change-Id: I977e70e2c556af63bcf15014a5ae802e66b170c5 Signed-off-by: David Williams <david_williams@us.ibm.com>
2015-09-07Bug 476724 - Remove new Boolean and Boolean.valueOf().booleanValue()I20150929-0800I20150922-0800I20150916-2000I20150916-0800I20150915-2000I20150915-0800I20150914-2000I20150914-1545I20150914-1130I20150914-0800I20150913-2000I20150908-0800Alex Blewitt4-20/+21
The new Boolean constructor creates a new instance of a Boolean object, but it can easily be replaced with Boolean.valueOf which returns the reference to the global Boolean.TRUE or Boolean.FALSE. Replace calls to new Boolean() with Boolean.valueOf() for identical semantics except without object collection. Additionally Boolean.valueOf().booleanValue() is identical to Boolean.parseBoolean() and will result in no garbage. In addition, methods will be (slightly) smaller and parseBoolean will often be in-lined by the JIT, which can often prove that the value is non-null for faster checking. Replace Boolean.valueOf().booleanValue() chains with Boolean.parseBoolean(). Some other tests can use Wrapper.valueOf() to take advantage of the built-in caches that these objects maintain (for values in the range -128..127). Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com> Change-Id: I5da4216a26ffbb6b8fd3365515ee800dd82b36ae
2015-07-02Bug 469765 - Prep for 4.6 (Neon) and 4.5 (Mars) maintenance buildsI20150818-0800I20150811-1400I20150805-2000I20150805-0800I20150804-2000I20150804-0800I20150803-2000I20150803-0800I20150802-2000I20150728-0800I20150721-0800I20150714-0800I20150707-0800Thomas Watson1-1/+1
- update parent poms for 4.6
2015-06-01Bug 468767 - org.eclipse.equinox.p2.publisher.eclipse needs minorR4_5I20150603-2000I20150602-2000I20150601-2000Pascal Rapicault2-2/+2
version increased Change-Id: Ia541d6b7523bc7a6104b4e38403d00d4f84b8f7a
2015-04-23Update versions for MarsThomas Watson2-2/+2
2015-03-26Bug 463148 - compile warnings in official buildI20150331-0800Alexander Kurtakov1-1/+0
Removes 2 now unneeded SuppressWarnings. Change-Id: I78a66ad709892b1368fb10fb2c904b2ed17678dc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-03-20Remove irrelevant commentI20150324-0800Pascal Rapicault1-1/+0
Change-Id: I4216ae4625100036712c9c990a1c5b3cb430ec95
2015-03-19Bug 461675 - [publisher][mac] Remove --launcher.ini from branding ironI20150320-0800I20150320-0030I20150319-1640I20150319-1430Pascal Rapicault1-15/+0
2015-03-09Bug 461758 - [Mac] Branding iron should set CFBundleDisplayNameI20150311-1300I20150310-0800Pascal Rapicault2-1/+4
2015-03-08Branding iron fails when id is nullPascal Rapicault1-1/+1
Change-Id: Ie1498a71ac60122df1ed50c98479e941a8993100 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2015-03-05Adjust workspace settings to match BREE in manifestI20150305-1200Pascal Rapicault2-4/+4
2015-03-04Bug 431116 - Releases for Mac OS X should be bundled as a proper "MacPascal Rapicault4-85/+235
App" and/or "Library" Change-Id: I2bdcc86960361f8268964b4e95bf0eb960dc3cd6 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2015-02-26Bug 460967 - Use type safe service retrievingI20150303-0800Alexander Kurtakov5-14/+20
Instead of retrieving services based on their String class name there is newer implementation that takes the class directly and returns the correct class preventing casts. Change-Id: I8b26f4d294b927f4c28a6ba4e68e35bd401df4ec Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-02-16Revert "WIP mac"I20150217-0800Pascal Rapicault1-8/+8
This reverts commit 0fdb03cf79ad3493245ba7f37b6fda5775dbd836.
2015-02-16WIP macPascal Rapicault1-8/+8
2015-02-16373817 Add hasBundles and hasFeatures methodsTobias Oberlies3-3/+23
... so that the check for ignored product file content does not call getBundles and getFeatures. This makes it easier to override the latter methods to also expand version references with 'qualifier' literals. Bug: 373817 Change-Id: I18591dfe5b8abd014889374b22686501d0173ef4
2015-02-16428889 Don't include installMode="root" features in the product IUTobias Oberlies5-4/+79
- Ignore features marked with installMode="root" when publishing products. This attribute is currently only supported by Tycho (cf. bug 427563 for adding p2 support for this) and entails that the feature must *not* be referenced from the product IU. This is achieved with the changed implementation of getFeatures(). - This change allows to get rid of separate product file pre-processing steps in Tycho. Bug: 428889 Change-Id: Ib7aa666c6746fbf417fa7437a7fa7b6a95ebd51f
2014-06-19Bug 436736 - Prep for 4.5 (Mars) and 4.4 maintenance buildsPaul Webster1-1/+1
Update parent versions from 4.4.0 to 4.5.0 Signed-off-by: Paul Webster <pwebster@ca.ibm.com>
2014-04-14Bug 432634 - [Product][Editors] Add support for p2 repoI20140415-0800Susan McCourt3-18/+11
Remove API changes from IConfigAdvice Change-Id: I4ae827621752f41f0e983ba5cbeb4622bad1073a
2014-04-13Bug 432634 - [Product][Editors] Add support for p2 repoSusan McCourt6-8/+87
Change-Id: I2630ca336e6f2301973410cdcbb2572fb64caf27
2014-02-21Bug 428785 - [publisher] Allow for system properties to be specified forSusan McCourt3-7/+86
an OS / Arch combination Change-Id: I867591c7060250f46e80911c0e6dcea02d3e6db7
2014-02-14Bug 427155 - [publisher] p2 publisher read and honor OS archSusan McCourt1-18/+18
specification in product file. Remove aggressive trimming of args that caused Bug 427956. Change-Id: If209c4958dbe7ef7353d95f595ea6022173afdde Signed-off-by: Susan McCourt <susan@rapicorp.com>
2014-02-10Bug 427155 - [publisher] p2 publisher read and honor OS archI20140211-0800Susan McCourt3-29/+274
specification in product file Change-Id: I89147f8bacda5b2e36d39a4bafac676259cc2986
2013-12-11bug 423827 - Disable "Treat above errors like fatal compile errors"I20131217-0800I20131212-1600I20131211-2000Krzysztof Daniel1-1/+1
Change-Id: If2b8652ff7deed04dea308880d444f1b4e7c6ffe Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-12-09bug 418662: Get rid of compile warnings in official build -Krzysztof Daniel2-2/+22
org.eclipse.equinox.p2.publisher.eclipse Change-Id: I02f9f6367913e01988f5e65452d2c52c7898a5a7 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
2013-11-19Bug 422026 - Get rid of ColletionUtils.empty[Set|List|Map]Alexander Kurtakov1-2/+3
Now that p2 has Java 1.5 as a minimum there is no reason to not use the JVM methods. Change-Id: I89444e8d1e174c316e2b17fb4f53bc7b1d097c0a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-09-11Bug 411419 - 38 pom files specify <executionEnvironment>Krzysztof Daniel1-14/+0
Remove executionEnvironments matching manifest.mf. Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com> Change-Id: I5b7c70eab929503d7c5213a1405c6c8d41c0c049
2013-06-26Bug 411170 -- Updated the parent poms for Luna (Eclipse 4.4)Ian Bull1-1/+1
2013-05-16Bug 406942 - BrandingIron#modifyInfoPListFile(..) should not remove iconI20130516-2200I20130516-1800I20130516-1600Ian Bull1-5/+7
If the icon name is empty, we don't update the Info.plist file.
2013-03-27Bug 403971 - Update Equinox p2 parent versionsI20130402-0800Pascal Rapicault2-3/+4
2013-02-25Bug 397850 - [CBI] use the correct group IDs for all artifactsv20130225-185631Ian Bull1-0/+2
Upated all the pom.xml files (in the bundles) to include the proper groupID. The groupID is the first three segments of the artifactID.
2013-01-31398066 Restored narrow path in ProductAction used by the PDEv20130131-135455Tobias Oberlies1-2/+5
- Restoring the strange behaviour - just read the comment that attempts to explain it - needed by PDE UI (see bug 398066) and the PDE tests (see bug 390361 comment #3). I don't see a problem that we keep this behaviour because it is only relevant in case a caller (like the PDE) choose to ignore the status code. - The ProductAction still treats cases as fatal (returning an error status) where it would either have to ignore parts of the product file or guess the platform filters of bundles. Bug: 398066
2013-01-28364781 Drop special treatment of o.e.update.configurator in publisherv20130128-074809I20130128-0800Igor Fedorenko1-59/+2
- When publishing org.eclipse.update.configurator, additionally the bundle org.eclipse.equinox.simpleconfigurator was published. This seems like a workaround for some legacy use case which nobody remembers. Plus the was more than questionable - the extra bundle was taken from the runtime of the publisher. This change removes this special handling. Bug: 364781

Back to the top