Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-04-10Bug 561990 - Remove dependency on icu from platform.textI20200411-0950I20200411-0720I20200411-0510I20200411-0300I20200410-2300I20200410-1800Alexander Kurtakov9-14/+9
JVM classes do the same for our needs. Change-Id: I4734167c5f113baf1e4fef8cceed88618857a1c4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-04-10Version update for 4.16Alexander Kurtakov1-1/+1
Needed for https://git.eclipse.org/r/#/c/160765/ Change-Id: I83edbb18087689b3e72bd3711a00ce5400007a2a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-11Use map method directly if possibleI20200212-1420I20200212-0910I20200211-1800Lars Vogel3-3/+3
JDT provides a new cleanup which allows to transform code to call methods directly on map instead of accessing the values or the keys before calling the same method. Saves code which we have to read and might be slightly faster. Change-Id: I3673494ffa912c591e617672e254d29885f29772 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-23Optimize lambdasI20200123-1800Lars Vogel2-2/+2
Uses method references if possible Removes unnecessary brackets Using the upcoming JDT cleanup from https://git.eclipse.org/r/#/c/148248/ Method references are faster in execution and shorter. Change-Id: I4b8edca1ad34eb1c8788e6729c9bb76f1eefb335 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-17Use lambdas where possibleY20200120-0020I20200120-0445I20200120-0355I20200120-0115I20200119-2330I20200119-1800I20200118-1800I20200117-1800Lars Vogel6-92/+49
Using the batch cleanup operation via Source -> Cleanup -> "Use lambdas where possible" from standard JDT. Change-Id: I609127e1d7267230c8741a155b81e4b004d7ee15 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-15Remove unnecessary array creation for varargs in bundlesI20200116-0930I20200116-0330I20200116-0310I20200115-1800Lars Vogel3-3/+3
Using the batch cleanup operation via Source -> Cleanup -> "Remove unnecessary array creation for varargs " from standard JDT. See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=559175 applying this cleanup to LinkedModeConfigurationBlock results in a syntax error Change-Id: I097502952bbb3263c8b3253efff95a0d1981acf2 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-13Use System.lineSeparator()Lars Vogel1-1/+1
Benefit of this way rather than System.getProperty("line.separator") is that there are no security checks. Change-Id: I3ff085c291a6c279f3a434134c3bfdd6ffea0353 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-12-10Use jdk 5 for-each loopCarsten Hammer3-16/+12
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: Ic1786fe30ea297b4686015c1ac5b909f92a528a7 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-10Version updates for 4.15 streamKarsten Thoms1-1/+1
Required for - https://git.eclipse.org/r/#/c/152786/ - https://git.eclipse.org/r/#/c/152787/ - https://git.eclipse.org/r/#/c/152788/ Change-Id: I8150cda7932eacd29effb73b239e2a13c54c7dd5 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-11-22Bug 548250 - Javadoc problems in platform.textI20191125-1800I20191125-0600I20191124-1800I20191124-0600I20191123-1800I20191123-1115I20191123-0600I20191123-0100Paul Pazderski1-2/+4
Change-Id: I84f9f4c00e81494dc69134e660e261fcab1dc493 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-11-06Bug 552704 - Use pomless builds in eclipse.platform.textY20191107-0420I20191106-1805Christoph Läubrich1-23/+0
Change-Id: I15a8b94a9c546ba5fd372b1e8a2636580accac38 Signed-off-by: Christoph Läubrich <laeubi@laeubi-soft.de>
2019-10-11Bug 552021 - Replace Navigator with Project Explorer in Show InAlexander Kurtakov1-2/+2
Navigator is deprecated and scheduled for removal. Change-Id: I14b32e1d930e5f7850743d532716020a9040c4f7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-09-13Bug 465914 - [Graphics] New filter iconMatthias Becker6-2/+2
Change-Id: I32b5dbf562156be1621a13c874f0beaa07374cec Signed-off-by: Matthias Becker <ma.becker@sap.com>
2019-09-06Bug 550767 - POM and product version change for 4.14 releaseI20190910-0815I20190910-0145I20190909-1520I20190909-1425I20190909-0925Niraj Modi1-1/+1
Change-Id: I2c4bd92c6c1243366afa1cf5db4d5052794c66fa Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-08-13Bug 549858 - Use PlatformUI.getWorkbench instead ofLars Vogel3-4/+6
AbstractUIPlugin.getWorkbench Change-Id: I68790f93741cc134199976229b1b6f4688c53a0f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-18Use addAll, deleteAll instead of looping through a collectionI20190623-1800I20190621-1800I20190620-1800I20190620-0130I20190619-1820I20190619-1800Lars Vogel1-6/+3
Change-Id: I35edd6a934a0f65f357a54e710c77c190706bb45 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-14Use isEmpty() instead of length() to check if collection is emptyI20190615-1800I20190614-1800Lars Vogel15-19/+19
Change-Id: I0106dd0c2ddfa318375877d4562068d82aa9ac5f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-13Use jdk 5 for-each loopI20190614-0330I20190613-1800Carsten Hammer4-15/+18
Replace simple uses of Iterator with a corresponding for-each loop. Also add missing braces on loops as necessary. Change-Id: Ibde37d56a7962f432ed771f4a215f5903161bde0 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-12Use isEmpty() instead of size()==0 where possibleI20190613-0210I20190612-1800Carsten Hammer1-1/+1
Change-Id: Ib6c59f4c9cea396c98196d23ff9ea917e2ef4114 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-124.13 version updateKarsten Thoms2-2/+2
Version bumps for https://git.eclipse.org/r/#/c/142828/ - org.eclipse.core.filebuffers - org.eclipse.search - org.eclipse.text - org.eclipse.ui.genericeditor - org.eclipse.ui.genericeditor.examples - org.eclipse.ui.workbench.texteditor Change-Id: I22121e709aa405ad9479934d511a34ef206f8361 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-06-07Bug 547907 - POM and product version change for 4.13 releaseNiraj Modi1-1/+1
Change-Id: I16ed9807c1390ccba626efaa09cfa80308667a26 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-05-19Bug 547304 - [cleanup] Fix wrong space/tab indentationS4_12_0_RC2S4_12_0_RC1aS4_12_0_RC1S4_12_0_M3R4_12I20190605-1800I20190605-0600I20190604-1800I20190604-0600I20190603-1800I20190603-0600I20190602-1800I20190602-0600I20190601-1800I20190531-1800I20190531-0245I20190529-2005I20190529-1800I20190529-0600I20190528-1800I20190528-0915I20190528-0850I20190528-0600I20190527-1805I20190527-0600I20190526-1800I20190526-0600I20190525-1800I20190525-0600I20190524-1800I20190524-0135I20190522-1800I20190522-0600I20190521-1800I20190521-0600I20190520-1805I20190520-0600R4_12_maintenancePaul Pazderski23-232/+232
This change fixes space or mixed tab/space indentations in all Java files. This also includes two or three space indentations and even fix most stray single spaces in indentations. The change includes only whitespace formatting and no code changes. Change-Id: I3e7b6abb69a1894c402f9123417346a44fc0992a
2019-03-08Bug 545094 - POM and product version change for 4.12 releaseI20190311-0410I20190309-1830I20190308-1830I20190308-1525I20190308-1055I20190308-0740Niraj Modi1-1/+1
Change-Id: Ideffb628508e4505ec7b55afd5ba9f2c5fd75f3c Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-02-18Bug 543933 - Build javadocs with Java 11Y20190225-0415Y20190222-0110Y20190220-2200S4_11_0_M3I20190227-0600I20190226-1800I20190226-1020I20190226-0715I20190226-0600I20190225-1800I20190225-0600I20190225-0200I20190224-1800I20190224-0930I20190224-0600I20190223-1800I20190223-0600I20190222-1800I20190222-0645I20190222-0440I20190220-1800I20190220-0600I20190219-1800I20190219-0600I20190218-1800Alexander Kurtakov1-42/+61
After fixing majority of Xdoclint:html issues there are warnings even with Xdoclint:none. Change-Id: I9be510daa74198061f829b73116c38c19dfd400f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-16Bug 543933 - Build javadocs with Java 11I20190218-0600I20190217-1800I20190217-0600I20190216-1800Alexander Kurtakov4-52/+66
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: I9d4dfa7c57b47c5d130c8d0c50069b0ed15b70fa Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-14Bug 543933 - Build javadocs with Java 11I20190215-0630I20190215-0055I20190214-1800Alexander Kurtakov1-2/+0
Fix warnings catched by java 11 javadoc. (take 3) Change-Id: I6e7fd7d2f60b67dfdfe31e89d80c871cfd6c443f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-14Bug 543933 - Build javadocs with Java 11Alexander Kurtakov1-2/+2
Fix warnings catched by java 11 javadoc. (take 2) Change-Id: Iccf5071777c27d00d2bd06d9301e175b4ce820dc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-14Bug 479273 - Prefer usage of Boolean.parseBoolean instead ofLars Vogel1-3/+3
Boolean.ValueOf Change-Id: If9a679f44f99a373b38f8f16623eaa45b4704f5a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-02-13Bug 543933 - Build javadocs with Java 11Y20190213-2200I20190213-1800Alexander Kurtakov1-3/+5
Fix warnings catched by java 11 javadoc. Change-Id: I9e35131d8314575d81c186d5c418b6be5137d46c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-10Bug 518569 - Use StandardCharset constantsI20190210-2135I20190210-1800Karsten Thoms1-4/+2
Also: version bump for 4.11 Change-Id: I7055e6a2ceb521dbe6065888b735ac62caa73ef6 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-01-21Bug 543629 - Search tests DNF on WindowsY20190123-2200I20190128-1800I20190127-1800I20190126-1800I20190125-1800I20190124-1800I20190124-1235I20190124-0930I20190123-1800I20190122-1800I20190121-1800Andrey Loskutov3-4/+8
seedJobsCount over 1 on a JobGroup can cause endless waits, see bug 543629 comment 2 and bug 543660. Therefore use 1 for seedJobsCount in TextSearchVisitor.search() to avoid jobGroup.join(0) call block forever if we schedule more jobs as seedJobsCount and all jobs <= seedJobsCount finish before jobs > seedJobsCount start. Change-Id: Ib57687c8389bb8a620e1f4e7c82c52c6cd219b46 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-12-07Bug 541822 - POM and product version change for 4.11 releaseY20190116-2200Y20190109-2200Y20190108-0410Y20190108-0135Y20190107-0850Y20190107-0505Y20190102-2200Y20181226-2200Y20181219-2200Y20181212-2200S4_11_0_M1I20190121-1415I20190120-1800I20190119-1800I20190118-1800I20190117-2335I20190116-1800I20190115-1800I20190114-1800I20190113-1800I20190112-1800I20190111-1800I20190111-0850I20190109-1800I20190109-0655I20190108-1800I20190108-0600I20190107-2050I20190107-1800I20190107-0600I20190106-1800I20190106-0600I20190106-0150I20190105-1800I20190105-0810I20190104-1800I20190103-1800I20190102-1800I20190101-1800I20181231-1800I20181230-1800I20181229-1800I20181228-1800I20181227-1800I20181226-1800I20181225-1800I20181224-1800I20181223-1800I20181222-1800I20181221-1800I20181220-1800I20181219-1800I20181218-1800I20181218-0120I20181217-1800I20181216-1800I20181215-1800I20181215-0340I20181214-1800I20181214-0720I20181214-0105I20181213-1800I20181212-1800I20181212-0230I20181211-1800I20181211-0230I20181210-1800I20181210-0755I20181210-0535Niraj Modi1-1/+1
Change-Id: I975429ca29af362e54dee6d31c2c7373e644f397 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-10-28[minor] Fix typos in extension point description and JavadocY20181107-2200Y20181031-2200Y20181030-1100Y20181030-0940I20181107-1800I20181107-0200I20181106-1800I20181106-0125I20181105-1800I20181104-1800I20181103-1800I20181102-2120I20181102-1800I20181101-1800I20181031-1800I20181031-0550I20181031-0540I20181030-1800I20181029-1800I20181028-1800Michael Keppler1-1/+1
Change-Id: I91986fc92c2f4f366218095502e3d0d2b19c0ed3 Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2018-09-24Bug 535752 - Performance of search viewI20180924-1800Michael Keppler1-1/+1
With many search results being available, the search view takes almost all the time for refreshing the tree in the viewer. This can be avoided since we know perfectly that there is no structural change, when calling that method (the if insertChild() return value proves that). Therefore instead of a structure refresh it is sufficient to update a single node of the viewer only. For a search with more than 500.000 results, this brings the search runtime down from 3 minutes to 3 seconds on my system. Change-Id: I9c80b9e2e0c6c9aaa8cc732c7eec2d76dfc55305 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-09-244.10 version increase for org.eclipse.searchLars Vogel2-2/+2
Change-Id: Ia0b21d60471b185b88eb1df4634f7cff847091e3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-09-04Bug 538531 - POM version change for 4.10 releaseY20180905-2200I20180906-1400I20180906-0005I20180905-1305I20180905-0410Sravan Kumar Lakkimsetti1-1/+1
Change-Id: I8ea72f1e990039ec24ce2930df788e2e199a9993 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-08-22Bug 530393 - EPL 2.0 update for platform.text plug-ins - Part 1Lars Vogel153-459/+918
Changes genericeditor and genericeditor.examples copyright format to be the same as the rest of the platform files Update all sources files except .exsd files, Java pref files and pom files Regex used: git checkout master git reset --hard origin/master git pull find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' {} + find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)http:\/\/www.eclipse.org\/legal\/epl-v10.html/\1\2https:\/\/www.eclipse.org\/legal\/epl-2.0\/\ \1\ \1\2SPDX-License-Identifier: EPL-2.0/' {} + # Get rid of the All rights reserved find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" ! -name "pom.xml" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved. )/\1\n\1\2/' {} + Change-Id: I368ef7a7265b2c5e3db28ded634557bba2b70c48 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-21Bug 530393 - EPL 2.0 for exsd in platform.textLars Vogel5-9/+24
Based on the following regex. find . -type f -name "*.exsd" -exec sed -i -E 's/http:\/\/www.eclipse.org\/legal\/epl-v10.html\&quot;\&gt;http:\/\/www.eclipse.org\/legal\/epl-v10.html\&lt;\/a\&gt;/https:\/\/www.eclipse.org\/legal\/epl-2.0\&quot;\&gt;https:\/\/www.eclipse.org\/legal\/epl-v20.html\&lt;\/a\&gt;\/\n\nSPDX-License-Identifier: EPL-2.0/' {} + find . -type f -name "*.exsd" | xargs sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' find . -type f -name "*.exsd" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved. )/\1\n\1\2/' {} + Change-Id: I5df9aa96551224ccf1921e2b21ac9b4b54832e4e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-07-30Bug 109481 - [find/replace] replace doesn't work when using a regex withI20180730-2240I20180730-2000I20180730-0800Kalyan Prasad Tatavarthi1-11/+11
a lookahead or boundary matchers :- Reverting Changes as a result of Bug 537377 Change-Id: I975d326e67f650bc2dddac6948775b3bb3fbdf5a Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
2018-07-18Lambda conversions.Alexander Kurtakov1-39/+19
Converting Runnable to lambda and whatever the quick fix picked in the file too. Change-Id: I0cbd8ef4a7cab89dced199b44a5be3b32b6f8195 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-03Reorder final plublic access modifier to Java standardI20180704-0805I20180704-0605I20180704-0545I20180703-2000Lars Vogel1-1/+1
Change-Id: I23665fe63f931b74d68197b6cb4926c805b9f58d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-06-05Bug 535318 - Update license to EPL-2.0 for platform.text for about.htmlI20180607-2000I20180606-1020Lars Vogel1-16/+24
Change-Id: Ie3055f2478633f5b854362b1ab8205ef6e6f28ab Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-06-014.9 version updates for eclipse.platform.text required for EPL 2.0I20180601-0915I20180601-0900Lars Vogel2-2/+2
update Change-Id: I2347c4e9fb76d947449865ebfb35caf759458f9c Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-05-30Bug 535191 - POM version change for 4.9 releaseI20180531-2125I20180531-2000I20180531-1245I20180531-0910Lars Vogel1-1/+1
eclipse.platform.text Change-Id: I424ff63453ab620a5f4461d369a06798ef1264fd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-05-03Bug 534324 - Search never stops on high file countsI20180503-2000Andrey Loskutov1-1/+1
Fixed calculation of filesPerJob to schedule >= jobs as jobCount specified for the job group. This ensures that the jobGroup.join() returns (and does not wait on a job that is never scheduled). Change-Id: Id78d5e096928f480b6563c4817f645c9f0a6b50c Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-04-30Improve some constructs for performanceMickael Istria1-6/+4
Issues reported by SonarQube: * iterating on keySet() instead of entrySet() or values() * String += in a loop Change-Id: I3dec0e683305ab3382605168c0505d5ce2bcc35e Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-04-19Bug 533837 - Direct use of IStructuredSelectionAlexander Kurtakov4-12/+11
Instead of getSelection and cast. Enable save actions to automate cleanup actions. Change-Id: I94a0037f7af2fa9d213a00f2bc385507891ae8e4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-18Use compact assignmentI20180418-2000Dani Megert1-27/+27
2018-04-17Bug 514961 - reduce text search jobs number to a fixed max size.I20180417-2000Andrey Loskutov1-0/+5
Too many job references can cause OOM due outgoing references. Change-Id: I03812c241d3145993188f4b7a5c5f56de19466cd Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-04-17Bug 514961 - Free resources allocated by TextSearchJobKarsten Thoms1-0/+5
The fields fileCharSequenceProvider, previousLocationFromFile, occurencesForPreviousLocation & charsequenceForPreviousLocation are allocated during the run method and are not used after job execution. Especially charsequenceForPreviousLocation is problematic and can result in an OOME on large search scope. Change-Id: Ic7992778263afa5910fabf1ca56077ab5b072884 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>

Back to the top