Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
6 daysBug 559148 - setJVMAction can throw NPE when p2 is used directly inHEADY20200120-0020I20200120-0715I20200120-0530I20200120-0445I20200120-0355I20200120-0115I20200119-2330I20200119-1800I20200118-1800I20200117-1800I20200116-1800I20200116-0930I20200116-0330I20200116-0310I20200115-1800I20200114-1805masterJohan Compagner3-20/+22
exotic packaging (eg, in Tycho) fixed the nullpointer, dont do anything if the system property "eclipse.commands" is not there. So clean up of i18n strings. Change-Id: I7493b667c625d0d34ec3aa8cea8c8fd7aadbaeaa Signed-off-by: Johan Compagner <jcompagner@gmail.com>
10 daysUse System.lineSeparator()Y20200114-0045I20200113-1800I20200113-0130I20200112-1800I20200111-1800I20200111-0325I20200111-0230I20200110-1805Alexander Kurtakov7-22/+33
Benefit of this way rather than System.getProperty("line.separator") is that there are no security checks. Change-Id: I2807af3be704e02cb541da6b579214cb13d6194e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
10 daysVersion bump for 4.15 stream.Alexander Kurtakov2-2/+2
Needed for https://git.eclipse.org/r/#/c/155434/ Change-Id: I0e63b9b4bf970ef5140b08c740388ce3e4265d2d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
12 daysUse lambdas in IUDetailsGroupLars Vogel1-7/+4
Done via Source -> Clean-up -> use lambdas when possible Change-Id: I6e26688b0f4c80f4082a32dc4cfe7241ba083d3c Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
12 daysRemoves whitespace from p2.uiLars Vogel95-372/+372
Done via Source-> Cleanup and selecting removal of unnecessary whitespace Change-Id: I1e3b9a567b41af675c46800d49860313c052f4da Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
12 daysBug 558915 - License text cut off during installLars Vogel1-15/+15
Change-Id: I714f179d1eb536eb07b39974b8024bd09349ebe3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-04Bug 544874 - Trust bundles with at least one trusted certificateY20200108-0435S4_15_0_M1I20200110-0905I20200110-0200I20200109-2350I20200108-2240I20200108-0600I20200108-0025I20200107-1800I20200107-0600I20200106-1805I20200106-0600I20200105-1800I20200105-0955I20200105-0600I20200104-1800Ed Merks1-20/+30
Changed CertificateChecker to skip the untrusted certificate chains dialog for bundles that have at least one trusted certificate chain. Change-Id: Id8d7ca99d59b56973e53b999db27a00da1e8a31e Signed-off-by: Carsten Reckord <reckord@yatta.de>
2019-12-24Bug 558596 - The tests for read-only/canWrite have the undesirableY20200103-2350I20200104-0625I20200104-0600I20200103-1800I20200102-1800I20200101-1800I20191231-1800I20191230-1800I20191229-2200I20191229-1800I20191228-1800I20191227-1800I20191226-1800I20191225-1800Ed Merks4-29/+7
side-effect of changing File.lastModified Change-Id: I8b6389654dbbb03cfa08252c520f12b225a708c8 Signed-off-by: Ed Merks <ed.merks@gmail.com>
2019-12-16Bug 558006: Add name of IU requiring the nativeY20191217-0600I20191224-1800I20191223-1800I20191222-1800I20191221-2205I20191221-1800I20191220-1805I20191219-1800I20191218-1805I20191218-0015I20191217-1800I20191216-1805Jonah Graham5-44/+86
Signed-off-by: Jonah Graham <jonah@kichwacoders.com> Change-Id: I7473d7dd1ba5975fc12ca0b4e205c3fcdee0ca1b
2019-12-16Bug 558006: Bump versionJonah Graham3-2/+6
For https://git.eclipse.org/r/#/c/154141/ Change-Id: I0a9e64241ee37bf27964a1aa0428635d61c787f5 Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2019-12-13Use jdk 5 for-each loopCarsten Hammer18-103/+105
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Ibb46940ad17faa7dc5cec0aeaba016222fc07935 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-13Version updates for 4.15 streamCarsten Hammer2-2/+2
Required for - https://git.eclipse.org/r/#/c/153079/ Change-Id: I1820ed4ff94422d7e4eddd63498cb8d652b49fb6 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-12Fix Javadoc typoI20191215-1800I20191214-1800I20191213-1805I20191213-0155I20191212-1800Michael Keppler1-1/+1
Change-Id: Id0dfdaf83440392a89e42190ac4748702a44c056 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2019-12-11Use jdk 5 for-each loopI20191211-1805Carsten Hammer21-120/+105
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I0b989291c6067ee9d1a966ac6bd9ac280cf8fad0 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-11Use jdk 5 for-each loopCarsten Hammer21-80/+62
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Ib3c0999b46708124b57b905f58b7317957e83534 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-11Use jdk 5 for-each loopCarsten Hammer20-104/+89
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I68b50b917c924907f63fd58831535da490b5ef86 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-11Use jdk 5 for-each loopCarsten Hammer20-111/+89
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Ic951555a6a16cb5ea54f6150bb55254f6b17fe03 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-11Version updates for 4.15 streamKarsten Thoms42-42/+42
Required for - https://git.eclipse.org/r/#/c/153080/ - https://git.eclipse.org/r/#/c/153081/ - https://git.eclipse.org/r/#/c/153082/ - https://git.eclipse.org/r/#/c/153083/ Change-Id: I37e7e2612bfd04b0f05f3e705efbcb726426c8f9 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-12-06Bug 553742 - POM and product version change for 4.15 releaseY20191208-2315I20191209-1110Niraj Modi49-49/+49
Change-Id: If2dbc6ab9c165c2fa39a0f6d5bbb600b444ec67a Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-11-14Bug 551378 - Restarting after p2 touchpoint SetJVMAction doesn't useI20191119-1800I20191119-1250I20191119-1235I20191119-1215I20191119-1155I20191119-0850I20191119-0725I20191119-0510I20191119-0315I20191119-0020I20191118-2230I20191118-1800I20191118-0600I20191117-1800I20191117-0600I20191116-1800I20191116-0600I20191115-1800I20191114-1800Johan Compagner1-1/+41
correct/new JVM adjust the 2 system properties that the Workbench will use to restart the system made code nicer with using a string constant that is used to jump over or to concat added a message why we ignore the exception Change-Id: I225a76b78fa38195b3ddf36a7874734ebbc17d5f Signed-off-by: Johan Compagner <jcompagner@gmail.com>
2019-10-27Use jdk 5 for-each loopY20191112-0030Y20191107-0440Y20191107-0420I20191114-0410I20191113-2315I20191113-1800I20191112-1800I20191111-1800I20191111-0920I20191111-0655I20191111-0435I20191111-0145I20191110-1800I20191109-1800I20191109-0650I20191109-0330I20191108-1800I20191107-1800I20191106-1805I20191105-1800I20191105-0025I20191104-1800I20191103-1800I20191102-1800I20191101-1800I20191101-0300I20191031-1800I20191031-1325I20191030-1800I20191030-0010I20191029-1800I20191028-1800I20191027-1800Carsten Hammer57-289/+359
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. toString() on array toString() implementation for arrays does not convert array contents to String, rather it will print array's type and hash code (defined as identity hash code). To get string representation of contents of the array, the array could be for example wrapped into Arrays.asList(), as Collections produce content representation in their toString(). Change-Id: I5db7c1cb516f25cb8410278d1d687862de471c6a Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-18Bug 350088 - [publisher] Produced patches don't match specific featureI20191026-1800I20191025-1805I20191024-1800I20191023-1810I20191022-1800I20191022-0405I20191020-1800I20191019-1800Carsten Reckord1-45/+54
version numbers Generate exact version range in case of a patch feature. Change-Id: I8e8f2015dead0e79364cb1c3d662bedaf6ed7cde Signed-off-by: Carsten Reckord <reckord@yatta.de>
2019-10-17Use jdk 5 for-each loopI20191018-1800I20191018-0720Carsten Hammer6-24/+31
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Ie81b4e50a64094ed372fd24938ab76d7f1d05a01 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-16Use jdk 5 for-each loopI20191016-1800Carsten Hammer6-47/+57
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Ic763650ff6fc45428428785905afbf3ebab7dc3d Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-16Use jdk 5 for-each loopCarsten Hammer6-113/+130
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I88bd9ca5cd161ef4977afc12c36b28ad1517a5de Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-16Use jdk 5 for-each loopCarsten Hammer5-29/+36
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I0895b7e934ede33af1bbacd6d7aaa70c316f190e Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-16Use jdk 5 for-each loopCarsten Hammer15-74/+86
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Id71f030335f035816de194384d1a3c042a350886 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-16Use jdk 5 for-each loopCarsten Hammer11-52/+47
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Ie1889d9dbff94017966e4118eb9a114ff4cc88a1 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-15Use jdk 5 for-each loopCarsten Hammer5-17/+16
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I8d402051142310d9cea49fae095d178c36d157e9 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-15Use jdk 5 for-each loopI20191015-1800Carsten Hammer6-48/+54
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I5af7e2968912396e364a47174e84bdd98ecc071e Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-15Use jdk 5 for-each loopCarsten Hammer18-126/+117
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I98f52113a2364c6b47d7b8f5f386f3a1af7f8268 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-15Remove not needed api_filters.Alexander Kurtakov2-22/+0
Change-Id: I7812b96eb29741c1e8b5aaccdcc4ffa972791dc0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-15Fix warnings in official build.Alexander Kurtakov2-19/+9
Change-Id: If186493044b9fc3dcbecbd6673d4b32b08486a9e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-14Bug 457682 - Refactor getShellI20191014-1800Karsten Thoms1-26/+11
Refactored getModalShellExcluding() to getModalShell() since effectively no Shell was excluded in the call as getShell() is the only client of the method and always passed null. Refactored logic in getModalShell() to use a lambda expression. Refactored getModalShell()/getNonModalShell() to return Optional<Shell) to allow a fluent style in getShell(). Change-Id: Ie2246f83faab55924a0280e8ff3208d6d65cd3fc Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-10-14Bump version for org.eclipse.equinox.p2.ui.discoveryKarsten Thoms2-2/+2
Required for https://git.eclipse.org/r/150816 Change-Id: I97e36e350a55e26e9b6f6e4e6cbf936d9c9e0da5 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-10-14Use jdk 5 for-each loopCarsten Hammer10-57/+54
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I1f2d6bc113d8e164f18cada8c8847feaab7a33d0 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-14Use jdk 5 for-each loopCarsten Hammer6-27/+27
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I09ac66de3ceeb578ff636ab21f66307fb0dda95b Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-14Use jdk 5 for-each loopCarsten Hammer9-28/+33
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: If1e3c7f01ec53c79e70bc79a2f3a08be262201f5 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-14Use jdk 5 for-each loopCarsten Hammer6-174/+222
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Ic18d9c7ab9195e53db97264b63672c6b4510fbe4 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-14Use jdk 5 for-each loopCarsten Hammer6-55/+58
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I17efcb7827adbf5a4f2424d3bb51a5cb0e56a66a Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-14Use jdk 5 for-each loopCarsten Hammer4-41/+49
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I044ba2ecb69c7c5e1f30b6c60f345078b2fa7b3b Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-13Bug 465602 p2 fails to resolve a target platform with Eclipse MarsChristoph Langer7-35/+131
artifacts on Mac OS X If a path segment is missing, it seems on Mac a FileOutputStream won't be created. This can be avoided by using canonicalized paths. Also for chmod it might be beneficial to use canonicalized paths Change-Id: Ibdc8552e04ef47ffc09f1a487f9cd9f36fbba817 Signed-off-by: Christoph Langer <christoph.langer@sap.com>
2019-10-12Bug 471861 - The "eclipse.p2.max.threads" property has no effect forI20191013-1800I20191012-1800Ed Merks2-12/+29
values greater than four Update SimpleArtifactRepositoryTest.testMaximumThreads() to test for the modified expected behavior. I.e., that the repo can specify a maximum that must be respected, the user can specify a maximum that is respected if the repo doesn't specify a lower maximum, and if the user doesn't specify a maximum, it behaves the same way as if the user specified a maximum of 4. Change-Id: I64b80d04b982ef37e60cf07312084ffaaab7b05a Signed-off-by: Ed Merks <ed.merks@gmail.com>
2019-10-02Bug 551562 - Make getService(Class<T>) to a default methodS4_14_0_M1I20191011-1800I20191009-1800I20191009-0600I20191009-0300I20191008-1800I20191008-0600I20191007-1800I20191007-0625I20191007-0430I20191006-1800I20191006-0600I20191003-1800I20191002-1800Karsten Thoms2-15/+12
The addition of the method breaks the contract with existing alternative implementations of IProvisioningAgent. By making the method a default method the contract can be fulfilled. This also makes the implementation in class ProvisioningAgent obsolete. Update version of bundle org.eclipse.equinox.p2.core for 4.14. Change-Id: I7263c80e89e38841ca95eca2f3ebc3c7ed9f659f Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-10-02Use StringBuilder instead of StringBuffer where possible.Carsten Hammer56-76/+76
Change-Id: Ie756b6925b7dfc3471659764990c85d0e17eb1df Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-01Bump versions for https://git.eclipse.org/r/#/c/149541/Carsten Hammer42-42/+42
Change-Id: Ibd8c0c8ed355a907509256a3fc2d3f2ce4a87c36 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-01Use jdk 5 for-each loopI20191002-0100I20191001-1800Carsten Hammer5-17/+24
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I6f53dfa96efd01b94f2daef0fb8485cc27293003 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-01Use jdk 5 for-each loopCarsten Hammer11-41/+47
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I8288cda24e7fab9b6e518400488389e6a54ddc9c Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-10-01Bug 433402 - Guard canInstallInDestination to require 'destination'Karsten Thoms2-4/+5
argument Avoid to call canWrite with a null argument when the 'destination' program argument is missing. Instead throw a ProvisioningException. Also fixed small typo in error message. Change-Id: I7880ff154e783b51a9689cac33af5ea5f73571ea Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-09-30Bug 550482 - Describes what we have doneI20190930-1800Lars Vogel1-1/+1
The user may ask "what changes" so we should be more explicit. Change-Id: If7d8c87e2ee894c4ff53654ceb1ea6bed92450a8 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>

Back to the top