Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-17Bug 501505 - Several M2 candidate features decrease versions compared toY20161024-2045Y20161024-1300Y20161024-0700Y20161021-1200Y20161021-0600Y20161020-1800Y20161020-1000Y20161018-1100I20161027-0200I20161026-2000I20161026-1100I20161026-0800I20161025-2000I20161024-2000I20161024-1000I20161024-0410I20161023-2000I20161018-0800Thomas Watson4-4/+4
Neon.1 candidate Change-Id: Ie1c8358aab9d82acd4cbad6260132ba5727e716e Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-10-03Bug 502515 - Neon still reports a p2 header of "p2 mars-sr0"Y20161013-1000Y20161006-1000I20161011-0800I20161005-1430I20161005-1045I20161005-0815I20161004-1000Pascal Rapicault3-3/+5
Change-Id: I28549f765f70cd3a0d78a21fbc0469f6c6d9ab8e Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2016-10-03Bug 495726: MetadataRepositoryElementWrapper ignores parent contextI20161004-0800elaskavaia1-5/+9
If have content set for MetadataRepositories and children of it is MetedataRepository, because of this wrapper context is not passed around, for example if I say I don't want filters, it will only apply to root and not individual repos which does not make any sense Change-Id: I8a89d9366f9cd7575f36c85c66e025b782d6019a Signed-off-by: elaskavaia <elaskavaia.cdt@gmail.com>
2016-09-27Bug 495726 - API: InstallWizardPage ui elements do not respect policy Alena Laskavaia9-17/+37
P2 UI Wizard pages do not respect provisioning ui which is passed to them when it comes to querying elements, because IUElementListRoot which is the root of all elements does not extend QueriedElement so getProvisioningUI() on the elments defaults to ProvisioningUI.getDefaultUI() Fix is to add an API to accept ProvisioningUI as an argument. All places that were creating IUElementListRoot now pass appropriate ui to the constructor. For backward compatibility if ui is not set or set to null it will return default UI as before. Change-Id: I1d8d87339812c874eeee7127e762731b600cb4bf Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2016-09-19Bug 499623: Do not run testLoadConfigurationExtended on Windows.Y20160929-1000Y20160922-1000I20160927-0800I20160920-0800Roland Grunberg1-0/+6
Currently, test utility methods do not guarantee a folder can be made read-only and asserted using java.io.File.canWrite(). As a result extended configuration tests will not work correctly on Windows. Change-Id: I2e4f320587aea45c22a4b95b57f6817c3e8a09ff Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2016-08-30Bug 461102 - NPE in OperationFactory.listInstalledElementsY20160915-1000Y20160908-1000Y20160901-1000I20160915-0230I20160915-0200I20160914-2300I20160914-2000I20160914-0800I20160914-0430I20160914-0030I20160913-2000I20160913-0800I20160912-2000I20160912-1005I20160912-0800I20160912-0430I20160912-0225I20160912-0140I20160911-2015I20160906-0800Sergey Prigogin1-2/+6
Change-Id: I3bfff65bdcd579398434c1a19c1642be5d2f34c0 Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2016-08-30Bug 371970 - NPE atSergey Prigogin1-4/+20
org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.lockProfile Change-Id: I789887493f8b5e3b601a6b00c8ec7928c77e85e3 Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2016-08-24Bug 500225: Endless loop in Install/Update dialogY20160825-1000I20160830-0800I20160824-1429Markus Keller1-1/+1
2016-08-24fixed Javadoc errorsMarkus Keller3-5/+5
2016-08-17Bug 488504 - [ui] Allow the filter for available IUs to also match on their ↵Y20160818-1000I20160823-1359I20160823-0759Nitin Dahyabhai8-15/+87
description Signed-off-by: Nitin Dahyabhai <nitind@us.ibm.com> Change-Id: I19d173c5fdad89705d966c954343eda607409f46
2016-08-17Bug 494822 - Pass a range specification unconditionallyMykola Nikishov1-6/+2
When sending request for transfer of a remote file to local file storage from FileReader.sendRetrieveRequest(URI, OutputStream, DownloadRange, boolean, IProgressMonitor), drop redundant null check for DownloadRange parameter and pass it to IRetrieveFileTransferContainerAdapter's sendRetrieveRequest(IFileID, IFileRangeSpecification, IFileTransferListener, Map) as is because a range specification for retrieving a portion of the given remote file is allowed to be null: If null the entire file will be retrieved (as per sendRetrieveRequest(IFileID, IFileTransferListener, Map). Bug: 266243 Change-Id: If957ebd23e4a229db873cb6d4df3e10d5b93c75b Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2016-08-17Bug 482765 - NullPointerException in ↵Carsten Reckord1-2/+2
TextSearchControl.createLabelButtonControl(198) Changed the broken icon path to point to the png version. Fall back to "missing image" descriptor when the provided descriptor is null. Change-Id: I3fb3cdd08ea7413f388661f2657070710463620e Signed-off-by: Carsten Reckord <reckord@yatta.de>
2016-08-12Bug 499623 - Support extended configurations in SimpleConfigManipulator.Roland Grunberg2-3/+64
SimpleConfiguratorManipulatorImpl#loadConfiguration(BundleContext, String) only returns the list of BundleInfo elements from the platform itself. Extend this mechanism to also return extended BundleInfo elements (when p2.fragments property is set). Change-Id: I2230aff75bb20f8e38dd8a7a22c4cba6aefd6df8 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2016-08-11Bug 499539: Update JDT core and apt to use Oxygen M1 to produce M2I20160816-1015I20160816-0800Markus Keller2-2/+2
touch bundle to force rebuild after bug 460491 was fixed
2016-06-30Bug 497094 - Check for no symbolic name before calling PackageAdminY20160811-1000Y20160804-1000Y20160728-1000Y20160721-1000Y20160714-1000Y20160707-1000I20160809-1300I20160809-1100I20160803-2000I20160803-0800I20160802-2000I20160802-0800I20160801-2000I20160801-0800I20160731-2000I20160726-1400I20160726-0800I20160719-0800I20160716-1900I20160712-1000I20160712-0800I20160708-1700I20160705-1600Thomas Watson1-5/+8
Change-Id: I18e56f297188c32a412127da36d4917bf1cc9944 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-06-28Bug 496465 - Prep for 4.7 (Oxygen) and 4.6.1 (Neon.1) maintenance buildsThomas Watson65-70/+70
Change-Id: I90a85375f7864204f482d76130da772798f0a28b Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-06-16Bug 490752 - Remove Help > Installation Details menuLars Vogel1-9/+0
Change-Id: Ifc81dbdfe1c022840090b9101b2ba263c3c659ad Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-06-06Revert "Bug 490112 - Add unique id to p2 user agent information"R4_6I20160606-1100Pascal Rapicault1-2/+1
This reverts commit f64681eca06c4f8142bac7f0a1c91df8113a232d. Change-Id: Iedc3a1624e044956faf1645da4f7c0fe4a1990a4
2016-06-05Revert "Bug 490112 - Add unique id to p2 user agent information"Pascal Rapicault1-37/+15
This reverts commit 3bcec796ae83cd5400228185662275446056993f. Change-Id: If8e8ecf95f28a1143fcbeacd7f4947f397eaabec
2016-05-31Bug 490112 - Add unique id to p2 user agent informationI20160603-1000I20160602-1000I20160601-2000I20160601-1000Pascal Rapicault1-15/+37
Only send the UUID when contacting the eclipse.org Change-Id: I06e8acd937bda5e8318b99694e06c6e511d2f089
2016-05-21fix project nameY20160526-1000I20160531-2330I20160531-2000I20160530-2000I20160529-2000I20160528-1500I20160527-2000I20160525-2000I20160524-2000Michael Keppler1-39/+39
The project name of the bundle did not match the bundle id, leading to some confusion on my side after an initial oomph based import. Change-Id: Ie03fd28189d244c8a950ea0cc5bf9c4057ab5288 Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
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 Watson38-38/+38
Change-Id: Idb4576fc90fc7180d3c7e1960696615bb4c37594 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-04-27Bug 489706 - Remove custom Integer cache from P2Y20160428-1430Y20160428-1000I20160504-0035I20160503-2000I20160502-2000I20160501-2000I20160430-2000I20160429-2300I20160429-2000I20160428-0800I20160427-2000Alex Blewitt2-18/+5
The OmniVersion provides a custom Integer cache, which apart from storing the MAX_VALUE has no additional benefit over and above using the built-in Integer cache. Replace calls to new Integer() with Integer.valueOf() Change-Id: Ibbcc0072a103bd16c7ef1e86a7962b9d88a5c1cb Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-27Bug 490112 - Add unique id to p2 user agent informationPascal Rapicault1-1/+2
Change-Id: Iff4742b3acf501d9b5a3a5c1bcefae96ec04b2ba Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2016-04-25Bug 492367: org.eclipse.equinox.p2.metadata.repository must only depend on ↵I20160427-1200I20160427-0800I20160427-0400I20160426-2330I20160426-2000I20160426-1615I20160426-1430I20160426-1245I20160426-1105I20160426-1045I20160426-1000I20160426-0800I20160426-0130I20160426-0030I20160425-2230I20160425-2000I20160425-1300Markus Keller1-25/+0
Ant from Orbit Change-Id: Ifb7a6b9dd63d07f3cac8b10adb5d63d13410d5db
2016-04-22Bug 449365 - Refresh all bundles of the same symbolic name whenI20160425-0800I20160424-2245Thomas Watson1-2/+17
installing new versions Change-Id: I31aef843db00a7b7cd6204edbf0568a66304b816 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-04-20Bug 336246 - Remove the metadata generatorY20160421-1000I20160424-2000Mykola Nikishov1-15/+0
With 439356b40487f691fc68c0c90eedce5d73d65c0f, references to MetadataGeneratorHelper's method had been replaced with a call to PublisherHelper. Now testGeneration*2 methods are just duplicates of existing ones (check testGenerationFolder vs testGenerationFile2). Remove tests that used to call MetadataGeneratorHelper's methods and are the same as the tests for PublisherHelper. Change-Id: I74670f196a5a2b3b24c8a6e36120e9885d9ea7d6 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2016-04-20Bug 490028 - Extract MD5 checksum calculation into a separate classMykola Nikishov5-86/+76
MD5 checksum is calculated in (almost) the same way in two places: org.eclipse.equinox.p2.internal.repository.tools.RepositoryUtilities and org.eclipse.equinox.spi.p2.publisher.PublisherHelper. The latter uses 4K byte buffer instead of byte-by-byte update which makes MD5 calculation for a 300k jar file 5x faster, see bug #405716 for more details. Due to the duplication, this has been fixed in PublisherHelper only but not in RepositoryUtilities. Eliminate code duplication by extracting MD5 checksum calculation into a separate class, ChecksumProducer. To make it consimable by org.eclipse.equinox.p2.publisher and org.eclipse.equinox.p2.repository.tools bundles but not exposing too much internals, move it to the x-friend'ed org.eclipse.equinox.internal.p2.repository.helpers package of org.eclipse.equinox.p2.repository bundle. Change-Id: Ic8b45a47700f35af1fb69f534dec7b32a2f7714a Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
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>
2016-04-19Bug 489706 - Replace new Integer() with Integer.valueOf()I20160419-0800Alex Blewitt49-192/+191
There are a lot of new Integer() calls in the P2 codebase, which results in many duplicate values of Integer being stored, particularly when performing updates or checks. Integer.valueOf() performs this caching already, which means that it's unnecessary to call new Integer() and instead can call Integer.valueOf(). In the places where the int value is being used directly, the call can be further optimised to Integer.parseInt() instead. Replace calls to new Integer() with Integer.valueOf() or .parseInt() as appropriate. Change-Id: Ic760e66084c856fc90cb7c8a358007c975213638 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-18Bug 490012 - Remove the "strictly compatible JRE" per-project overrideStefan Xenos4-12/+0
from all projects in the Eclipse SDK Change-Id: I92d470a94e3134d8e475e3ccefc019341c7972e1 Signed-off-by: Stefan Xenos <sxenos@gmail.com>
2016-03-17Bug 483644: improve "no updates were found" dialog.Y20160414-1000Y20160407-1000Y20160331-1000Y20160324-1000I20160417-1112I20160412-0800I20160405-0800I20160330-1230I20160330-0930I20160329-0800I20160322-0800Mickael Istria3-2/+84
Gives hint and link to suggest edition of available sites to user. Change-Id: If02a8d7436dc3e9f7fdffab6b28eed988c4d44a2 Signed-off-by: Mickael Istria <mistria@redhat.com>
2016-01-29Fixed bug 486662: Neon features and bundles that might need a version increaseY20160317-0800Y20160310-0830Y20160310-0800Y20160303-0800I20160317-0200I20160316-2000I20160316-1200I20160316-0800I20160315-2000I20160315-0800I20160314-2000I20160314-1400I20160314-0800I20160313-2000I20160308-0800I20160301-1230I20160301-0800I20160223-0800I20160216-1400I20160216-0800I20160209-0800I20160202-1000I20160202-0800Dani Megert2-3/+3
Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
2016-01-28Bug 485018 - NullPointerException in SiteListener.getFeatures() I20160128-2000Eike Stepper1-1/+1
Change-Id: Idc8c26f8012d22a4e7925f02941ff3f33eeeb947 Signed-off-by: Eike Stepper <stepper@esc-net.de>
2016-01-22Bug 486317 - Adapt to ListenerList changes [with patch]I20160127-2000I20160127-0800I20160126-2000I20160126-0800I20160125-2000I20160125-0800I20160125-0400I20160124-2000Dani Megert4-12/+10
Change-Id: I8cdb1bb98b0ca1e89c4de976dcbf3a95fa2af221 Signed-off-by: Dani Megert <daniel_megert@ch.ibm.com>
2016-01-04Bug 485166 - p2.touchpoint.natives:1.2.0-SNAPSHOT should beI20160119-0800I20160112-1800I20160112-0800I20160105-1000I20160105-0800Pascal Rapicault3-2/+5
1.2.100-SNAPSHOT Change-Id: I29937dd1ddeb8cb9768392864cda9934680c9017 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2016-01-02update pomsPascal Rapicault18-18/+18
Change-Id: Icc9608edfcdd0a615c4edf42df4398a1f30a271c
2016-01-02Update feature versionsPascal Rapicault5-141/+147
Change-Id: I8cecab454aa3804aa80c4b18142c2cd085694abf
2016-01-02Update bundles versionsPascal Rapicault13-13/+13
Change-Id: I479ee5a8b507090ce496e7b334e0055e027896fe
2016-01-02Bug 466249 - Propagate more exceptions to ease problem analysisEike Stepper20-30/+65
We often get problem reports with stack traces that "end" somewhere in p2 even though it's obvious from looking at these places that there was a causing exception. These causing exceptions are often not propagated with the new exception that p2 creates and throws. I'm not sure if that's on purpose or just an oversight. I've prepared a proposal to enhance these places and make it easier to analyze the problems that users report. Change-Id: Iaa53448c53c18301113b42dbe80558eccec49e8e Signed-off-by: Eike Stepper <stepper@esc-net.de>
2015-11-23Extract method to calculate repository factories' orderI20151229-0800I20151222-0800I20151215-0800I20151213-2000I20151209-2300I20151209-2000I20151209-0800I20151208-2000I20151208-0800I20151207-2000I20151207-0800I20151206-2000I20151203-1230I20151203-0800I20151201-1100I20151201-0800I20151124-1000I20151124-0800Mykola Nikishov1-15/+5
As both artifacts and metadata repository factories' order calculated in the same way, eliminate duplication by extracting this logic into a separate method. Change-Id: I5900fcf5126968715ea2f0720229942bf878381b Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2015-11-13Bug 482066 - Fix minor progress reporting issueI20151117-0800Stefan Xenos1-3/+7
Change-Id: I7f3ddb2ef53b2d02f2365feb52ed458c0eb1ee0a Signed-off-by: Stefan Xenos <sxenos@gmail.com>
2015-10-19Prevent NPE in DebugHelper's formatParameters methodI20151110-0800Mykola Nikishov3-1/+33
Change-Id: I816a68305ec086da8bfd9b7ec179ece6af35b52e Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2015-10-12List childs' URI in composite repositories' toString()I20151103-0800I20151029-1100I20151028-2000I20151028-0800I20151027-2000I20151027-0800I20151026-2000I20151026-0800I20151025-2000I20151020-0800I20151014-1100I20151013-0800Mykola Nikishov2-0/+10
Change-Id: I1916c643da3158a0f9142b8eb2edae7746bc56a8 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2015-10-10Bug 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-10-05Bug 479063 - ProvisioningOperationWizard doesn't update buttons sometimesSnjezana Peco1-3/+2
Change-Id: Ic9d1a1333da3c18a04927a21b60f89693d56c095 Signed-off-by: Snjezana Peco <snjeza.peco@gmail.com>
2015-10-04Helper library to compress to XZ an existing p2 repoI20151006-0800Pascal Rapicault3-3/+192
Change-Id: Iff2551cc47bf89d343529a5aabd41139eb893bd9
2015-09-07Bug 476724 - Remove new Boolean and Boolean.valueOf().booleanValue()I20150929-0800I20150922-0800I20150916-2000I20150916-0800I20150915-2000I20150915-0800I20150914-2000I20150914-1545I20150914-1130I20150914-0800I20150913-2000I20150908-0800Alex Blewitt61-184/+177
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-08-28Bug 394739 - Remove org.eclipse.core.runtime.compatibility* bundlesI20150901-0800Alexander Kurtakov1-6/+5
Remove references from p2.tests.reconciler.product. Change-Id: I57642ad1fa0bc6ca13273574c6aa8f193ce8f076 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-08-21Bug 474863: don't report download speed as 0 if no data availableI20150825-0800Jan Sievers3-0/+12
if no download speed data is available (yet), do not report download "0B at 0 B/s". This may happen for smaller files that are downloaded faster than the speed resolution of 1 second. However display total file size info if available. Change-Id: I4f4e530230c74985de36a1fd8ea053106adde64f Signed-off-by: Jan Sievers <jan.sievers@sap.com>

Back to the top