Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2015-08-20Bug 471835 - Build succeeds, even when "old" parent pom is referred toMarkus Keller1-29/+36
Change-Id: I746df8fc1343b4f3baae8d0a218d670d09d3825d Signed-off-by: Markus Keller <markus_keller@ch.ibm.com>
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 Watson65-70/+70
- 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-05-27Bug 390470 - o.e.e.p2.core does not select services based on ranking.I20150531-2000I20150529-2000I20150528-0700I20150527-2010Wayne Beaton1-3/+3
When hunting for a service, use the one with the highest ranking. Change-Id: Idd06b037685602b5a54b6ee767f7ba04b71b443d Signed-off-by: Wayne Beaton <wayne@eclipse.org>
2015-05-22Revert "Bug 462282 - Prevent (automatic) update to new Mac layout"I20150526-2010I20150525-2000I20150524-2000I20150522-2000Pascal Rapicault1-5/+0
Reverting because of bug 468061. This reverts commit 4af77390986d014ab6a6f65de1a8e6dac911a030.
2015-05-21Bug 467447 - Set more specific user agentI20150521-1715I20150521-1400I20150521-1100Pascal Rapicault1-8/+24
Change-Id: If7be4c0a106d09f7af069a4ed2bab105dfe403cb Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2015-05-19Bug 467570: Reword error message for failing update on Mac OS XI20150520-2000I20150519-2000I20150519-1000Markus Keller1-1/+1
Change-Id: I55fdd991b0b89314fe9d831d3ced3da9a07a2eff Signed-off-by: Markus Keller <markus_keller@ch.ibm.com>
2015-05-16Bug 467447 - Set more specific user agentI20150519-0030I20150518-2000I20150517-2000Pascal Rapicault1-2/+8
Change-Id: I7d4f29bee9150d08bd07961a31d2db1a29efd5a7 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2015-05-15Bug 462282 - Prevent (automatic) update to new Mac layoutI20150516-1500I20150515-2000Pascal Rapicault1-0/+5
This is the second part of the fix. It forces the new version of the native touchpoint (which defines the new blockMacUpdate action) and uses it. Change-Id: Ic653c9709a160b11a03248a2fad85fb2c8e151ab
2015-05-15bug390470 Use ranking to select servicesmhussein1-3/+3
In 3.7.1, org.eclipse.equinox.p2.core does not select services based on ranking. This is a serious issue and impacts installing your own services. This patch uses existing service.ranking property to rank services. Check bug390470 for more details on the problems and solution. Change-Id: I36382a260f12cb1df82be21959eb5aac97fcbd0f Signed-off-by: mhussein <mohamed_hussein@mentor.com>
2015-05-15Bug 467286 - Set the ECF user agent propertyPascal Rapicault1-3/+17
Change-Id: I3b62375638a697a34aae087402497cdba05259f8
2015-05-13Bug 464614 Use XZ as compression formats of metadata filesI20150514-2000I20150514-1000I20150513-2000Pascal Rapicault17-4/+251
This part takes care of the artifacts.xml file. Change-Id: If18777d4057ec273d219c4aa2b959fa3093a9a7f
2015-05-13Move test repos for XZ'ed metadata to a specific folderPascal Rapicault14-5/+5
Change-Id: I487676354658f3f215d54edc8d73c8199a8e83ac
2015-05-11Bug 463077 - Please review and fix bundle/feature version numbers I20150512-2100I20150512-2000I20150511-2130I20150511-2000Pascal Rapicault4-4/+4
Change-Id: I053ef39cc7a102e3cf6945d7bdd998947595a0fc
2015-04-30Bug 465876 - Repo Versioning Reports for M7I20150510-2000I20150509-1500I20150508-2000I20150507-2000I20150506-2000I20150505-2000I20150504-2000I20150503-2000I20150502-1500I20150501-2000I20150430-1445Thomas Watson26-26/+26
2015-04-29Add tukaani.xz bundle to p2 core featureI20150429-2000I20150429-1330I20150429-1230I20150429-1030Pascal Rapicault1-0/+7
Change-Id: I27eb16f04f0d8949d4e7d2d9c5b7d59670e1e916
2015-04-28Bug 464614 - Use XZ as compression formats of metadata filesI20150429-0800I20150428-2000Pascal Rapicault20-5/+289
Change-Id: I4107f2f4fff7ae827f5587dfb8e6b42ba2cf638a
2015-04-28Bug 465620 - jar processor needs 'touch'Pascal Rapicault1-0/+1
Change-Id: I2aa922232665fad1d96b4e9e65a48656ddea21c1
2015-04-27Bug 431116 - Make MacOS launcher ini file computation more robustI20150428-0800I20150428-0100I20150427-2000Christian Georgi1-2/+8
Sometimes, e.g. in Tycho tests that are p2 provisioned, the launcherData's fwConfigLocation is not yet set, so the ini file computation cannot rely on it. Use getFwPersistentDataLocation() instead. Bug: 431116 Change-Id: Iaba4c54b929709c67bc76f5fe074a7c1d8576024 Signed-off-by: Christian Georgi <christian.georgi@sap.com>
2015-04-25Bug 465468 - Fix the layout on the Available Software Sites preference pageStefan Xenos1-22/+10
such that it resizes correctly on all platforms. - Use GridLayoutFactory to safely assign grid data to controls in the the top-level layout. - Remove the redundant assignment of GridData to the top-level control. Change-Id: I9813b9577c7dc8d2827265fc2f14dac4580f4a25 Signed-off-by: Stefan Xenos <sxenos@google.com>
2015-04-24Bug 462282 - Prevent (automatic) update to new Mac layoutI20150427-0800I20150426-2000Pascal Rapicault6-1/+104
This is the first part of the fix. It consists in adding a new action that will be able to fail the installation. Change-Id: I24babd4df8202c94714528be723313b8eb4f9615 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2015-04-24Revert "Bug 462282 - Prevent (automatic) update to new Mac layout"Pascal Rapicault8-112/+2
This reverts commit c2595d75a8a591bcae06c4e5efb6aa30dde3952d.
2015-04-24Bug 462282 - Prevent (automatic) update to new Mac layoutPascal Rapicault8-2/+112
This is the first part of the fix. It consists in adding a new action that will be able to fail the installation. Change-Id: I254612f37707b02940b4c24a2e97b98786b16d31 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2015-04-23Update versions for MarsThomas Watson48-48/+48

Back to the top